little 3d mode place fix

This commit is contained in:
2016-02-02 23:47:46 +06:00
parent 7297a81dea
commit 133df2d20e

View File

@@ -637,8 +637,8 @@ namespace IsoTools {
if ( iso_object.mode == IsoObject.Mode.Mode3d ) {
var zoffset = iso_object.Internal.Offset3d;
var extents = iso_object.Internal.MinMax3d.size;
PlaceIsoObject(iso_object, depth + extents + zoffset);
return depth + extents * 2.0f + stepDepth;
PlaceIsoObject(iso_object, depth + extents * 0.5f + zoffset);
return depth + extents + stepDepth;
} else {
PlaceIsoObject(iso_object, depth);
return depth + stepDepth;