2
0
Эх сурвалжийг харах

serialize cached oldGeometry (#28361)

ycw 1 жил өмнө
parent
commit
285753ae60

+ 1 - 1
editor/js/commands/SetGeometryCommand.js

@@ -57,7 +57,7 @@ class SetGeometryCommand extends Command {
 		const output = super.toJSON( this );
 		const output = super.toJSON( this );
 
 
 		output.objectUuid = this.object.uuid;
 		output.objectUuid = this.object.uuid;
-		output.oldGeometry = this.object.geometry.toJSON();
+		output.oldGeometry = this.oldGeometry.toJSON();
 		output.newGeometry = this.newGeometry.toJSON();
 		output.newGeometry = this.newGeometry.toJSON();
 
 
 		return output;
 		return output;