restoring copy of transform_ matrix

would be possible to optimize and avoid this copy, but should be verified everywhere that this change of paradigm is taken into account (i.e. run update after copy transform if needed)
This commit is contained in:
Bruno
2021-05-01 19:12:09 +02:00
parent 451ff64b6f
commit bd71a4b581

View File

@@ -61,7 +61,7 @@ void Node::copyTransform(const Node *other)
{
if (!other)
return;
// transform_ = other->transform_;
transform_ = other->transform_;
scale_ = other->scale_;
rotation_ = other->rotation_;
translation_ = other->translation_;