mirror of
https://github.com/BlackMATov/unity-iso-tools.git
synced 2025-12-15 09:16:08 +07:00
little 3d mode place fix
This commit is contained in:
@@ -637,8 +637,8 @@ namespace IsoTools {
|
|||||||
if ( iso_object.mode == IsoObject.Mode.Mode3d ) {
|
if ( iso_object.mode == IsoObject.Mode.Mode3d ) {
|
||||||
var zoffset = iso_object.Internal.Offset3d;
|
var zoffset = iso_object.Internal.Offset3d;
|
||||||
var extents = iso_object.Internal.MinMax3d.size;
|
var extents = iso_object.Internal.MinMax3d.size;
|
||||||
PlaceIsoObject(iso_object, depth + extents + zoffset);
|
PlaceIsoObject(iso_object, depth + extents * 0.5f + zoffset);
|
||||||
return depth + extents * 2.0f + stepDepth;
|
return depth + extents + stepDepth;
|
||||||
} else {
|
} else {
|
||||||
PlaceIsoObject(iso_object, depth);
|
PlaceIsoObject(iso_object, depth);
|
||||||
return depth + stepDepth;
|
return depth + stepDepth;
|
||||||
|
|||||||
Reference in New Issue
Block a user