FindDegeneratives: adapt unittests and add configs
This commit is contained in:
@@ -240,8 +240,12 @@ list<SAttribute> attr_list;
|
||||
if((rotate_angle != 0) && (rotate_axis.Length() > 0))
|
||||
attr_list.push_back({"rotation", Rotation2String(rotate_axis, rotate_angle)});
|
||||
|
||||
if(!scale.Equal({1, 1, 1})) attr_list.push_back({"scale", Vector2String(scale)});
|
||||
if(translate.Length() > 0) attr_list.push_back({"translation", Vector2String(translate)});
|
||||
if(!scale.Equal({1.0,1.0,1.0})) {
|
||||
attr_list.push_back({"scale", Vector2String(scale)});
|
||||
}
|
||||
if(translate.Length() > 0) {
|
||||
attr_list.push_back({"translation", Vector2String(translate)});
|
||||
}
|
||||
}
|
||||
|
||||
// Begin node if need.
|
||||
|
||||
Reference in New Issue
Block a user