Non-trivial copiable object fixes, limited to the engine's itself

not the third parties parts.
This commit is contained in:
David Carlier
2018-07-29 19:31:47 +01:00
parent c143d43fc6
commit 06d2ef6101
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -913,7 +913,7 @@ public:
type.grab();
states = new double[type.type.stateCount]();
memset(&target, 0, sizeof(EffectorTarget));
memset(reinterpret_cast<void *>(&target), 0, sizeof(EffectorTarget));
target.tracking = vec3d::front();
}