Commit 5d6c7fae authored by Christian Winter's avatar Christian Winter

bugfix. render preview

parent 147a55a6
Pipeline #4807117 passed with stage
in 48 seconds
......@@ -983,12 +983,10 @@
static drawPrefabInstances(instances, outlinecolor, deltaPos, deltaRot, deltaScale, center) {
// draw prefab instances
for (let instance of instances) {
let pos;
let pos = instance.transform.position;;
if (!Logic.isPreviewing())
// transform from prefab to instance
pos = instance.transform.position;
// normal transform operation
if (deltaPos)
pos = pos.addVector(deltaPos);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment