animation system fix
parent
3ca6ec73fd
commit
31df363c34
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,5 @@
|
||||||
// COMPILE TIME DEFINITIONS (Generated via gulp)
|
// COMPILE TIME DEFINITIONS (Generated via gulp)
|
||||||
var __DATE__ = "Mon Dec 11 2017 11:04:04 GMT+0100 (CET)";
|
var __DATE__ = "Mon Dec 11 2017 12:24:11 GMT+0100 (CET)";
|
||||||
// END COMPILE TIME DEFINITIONS
|
// END COMPILE TIME DEFINITIONS
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -26241,7 +26241,9 @@ GameLib.System.Animation.prototype.detachAnimation = function(mesh) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (detached) {
|
if (detached) {
|
||||||
mesh.updateInstance();
|
mesh.updateInstance('position');
|
||||||
|
mesh.updateInstance('rotation');
|
||||||
|
mesh.updateInstance('scale');
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -530,7 +530,9 @@ GameLib.System.Animation.prototype.detachAnimation = function(mesh) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (detached) {
|
if (detached) {
|
||||||
mesh.updateInstance();
|
mesh.updateInstance('position');
|
||||||
|
mesh.updateInstance('rotation');
|
||||||
|
mesh.updateInstance('scale');
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue