From 133df2d20edfb138e3aa1f381888e6933f4a257e Mon Sep 17 00:00:00 2001 From: BlackMATov Date: Tue, 2 Feb 2016 23:47:46 +0600 Subject: [PATCH] little 3d mode place fix --- Assets/IsoTools/Scripts/IsoWorld.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/IsoTools/Scripts/IsoWorld.cs b/Assets/IsoTools/Scripts/IsoWorld.cs index c52057f..3c55865 100644 --- a/Assets/IsoTools/Scripts/IsoWorld.cs +++ b/Assets/IsoTools/Scripts/IsoWorld.cs @@ -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;