Skip to content

Commit

Permalink
Mirrored ownership-only adjustments respect 'Ownable natural terrain'
Browse files Browse the repository at this point in the history
  • Loading branch information
rainlizard committed Apr 21, 2024
1 parent 1330198 commit 3aff5f0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Scenes/ColumnModels.gd
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,6 @@ extends Node

#print(columnModels[idx])

#oDataClm.update_all_utilized()

#CODETIME_START = OS.get_ticks_msec()

# var mmInstance = MultiMeshInstance.new()
Expand Down
1 change: 0 additions & 1 deletion Scenes/SlabColumnEditor.gd
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ func _on_ColumnEditor_visibility_changed():
if is_instance_valid(oDataClm) == false: return

if visible == true:
oDataClm.update_all_utilized() # Run this before _on_ColumnEditorTabs_tab_changed()
oColumnEditorVoxelView.initialize()
oPropertiesTabs.set_current_tab(2)

Expand Down
3 changes: 2 additions & 1 deletion Scenes/SlabPlacement.gd
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ func mirror_placement(shapePositionArray, mirrorWhat):
MIRROR_STYLE:
pass
MIRROR_ONLY_OWNERSHIP:
calculateOwner = true
if slabID_is_ownable(slabID):
calculateOwner = true

if calculateOwner == true:
if oMirrorOptions.ui_quadrants_have_owner(mainPaint) == false:
Expand Down

0 comments on commit 3aff5f0

Please sign in to comment.