Remove Nz::String and Nz::StringStream
This commit is contained in:
@@ -34,7 +34,7 @@ namespace Nz
|
||||
return m_inverseBindMatrix;
|
||||
}
|
||||
|
||||
String Joint::GetName() const
|
||||
const std::string& Joint::GetName() const
|
||||
{
|
||||
return m_name;
|
||||
}
|
||||
@@ -63,9 +63,9 @@ namespace Nz
|
||||
m_skinningMatrixUpdated = false;
|
||||
}
|
||||
|
||||
void Joint::SetName(const String& name)
|
||||
void Joint::SetName(std::string name)
|
||||
{
|
||||
m_name = name;
|
||||
m_name = std::move(name);
|
||||
|
||||
m_skeleton->InvalidateJointMap();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user