mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 01:18:34 +00:00
Quick fix for characters shrinking to 0, 0, 0 due to react influence.
This commit is contained in:
1 parent
6f7d4dcba9
commit
2d36849b37
1 file changed
+9
-9
@@ -1211,19 +1211,19 @@ class Editor {
|
||||
version: this.version,
|
||||
objectVectors: {
|
||||
position: {
|
||||
x: parseFloat(pos.x.toFixed(2)),
|
||||
y: parseFloat(pos.y.toFixed(2)),
|
||||
z: parseFloat(pos.z.toFixed(2)),
|
||||
x: parseFloat(pos.x.toFixed(6)),
|
||||
y: parseFloat(pos.y.toFixed(6)),
|
||||
z: parseFloat(pos.z.toFixed(6)),
|
||||
},
|
||||
rotation: {
|
||||
x: parseFloat(rot.x.toFixed(2)),
|
||||
y: parseFloat(rot.y.toFixed(2)),
|
||||
z: parseFloat(rot.z.toFixed(2)),
|
||||
x: parseFloat(rot.x.toFixed(6)),
|
||||
y: parseFloat(rot.y.toFixed(6)),
|
||||
z: parseFloat(rot.z.toFixed(6)),
|
||||
},
|
||||
scale: {
|
||||
x: parseFloat(scale.x.toFixed(2)),
|
||||
y: parseFloat(scale.y.toFixed(2)),
|
||||
z: parseFloat(scale.z.toFixed(2)),
|
||||
x: parseFloat(scale.x.toFixed(6)),
|
||||
y: parseFloat(scale.y.toFixed(6)),
|
||||
z: parseFloat(scale.z.toFixed(6)),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user