Merge pull request #3 from escherstair/escherstair-patch-2
function parameter 'name' should be passed by const referencepull/2628/head
commit
d7b3b344f6
|
@ -2435,7 +2435,7 @@ void FBXExporter::WriteModelNodes(
|
|||
void FBXExporter::WriteAnimationCurveNode(
|
||||
StreamWriterLE& outstream,
|
||||
int64_t uid,
|
||||
std::string name, // "T", "R", or "S"
|
||||
const std::string& name, // "T", "R", or "S"
|
||||
aiVector3D default_value,
|
||||
std::string property_name, // "Lcl Translation" etc
|
||||
int64_t layer_uid,
|
||||
|
|
|
@ -156,7 +156,7 @@ namespace Assimp
|
|||
void WriteAnimationCurveNode(
|
||||
StreamWriterLE& outstream,
|
||||
int64_t uid,
|
||||
std::string name, // "T", "R", or "S"
|
||||
const std::string& name, // "T", "R", or "S"
|
||||
aiVector3D default_value,
|
||||
std::string property_name, // "Lcl Translation" etc
|
||||
int64_t animation_layer_uid,
|
||||
|
|
Loading…
Reference in New Issue