Improved user visual feedback on geometryview actions (rotation and

scaling).
This commit is contained in:
brunoherbelin
2020-09-09 23:39:08 +02:00
parent 32234c4d7c
commit a5545147f0
7 changed files with 179 additions and 258 deletions

View File

@@ -52,7 +52,7 @@ void Node::copyTransform(Node *other)
{
if (!other)
return;
transform_ = glm::identity<glm::mat4>();
transform_ = other->transform_;
scale_ = other->scale_;
rotation_ = other->rotation_;
translation_ = other->translation_;