diff --git a/game/addons/mesh_data_resource_editor/MIDGizmo.gd b/game/addons/mesh_data_resource_editor/MIDGizmo.gd index c77f3bdc..51028128 100644 --- a/game/addons/mesh_data_resource_editor/MIDGizmo.gd +++ b/game/addons/mesh_data_resource_editor/MIDGizmo.gd @@ -3,7 +3,7 @@ extends EditorSpatialGizmo var MeshOutline = preload("res://addons/mesh_data_resource_editor/utilities/mesh_outline.gd") var MeshDecompose = preload("res://addons/mesh_data_resource_editor/utilities/mesh_decompose.gd") -var MeshAddUtils = preload("res://addons/mesh_data_resource_editor/utilities/mesh_add_utils.gd") +var MDRMeshUtils = preload("res://addons/mesh_data_resource_editor/utilities/mdred_mesh_utils.gd") enum EditMode { EDIT_MODE_NONE = 0, @@ -377,15 +377,15 @@ func on_mdr_changed() -> void: func add_triangle() -> void: if _mdr: - MeshAddUtils.add_triangle(_mdr) + MDRMeshUtils.add_triangle(_mdr) func add_quad() -> void: if _mdr: - MeshAddUtils.add_quad(_mdr) + MDRMeshUtils.add_quad(_mdr) func add_box() -> void: if _mdr: - MeshAddUtils.add_box(_mdr) + MDRMeshUtils.add_box(_mdr) func merge(): pass diff --git a/game/addons/mesh_data_resource_editor/plugin.gd b/game/addons/mesh_data_resource_editor/plugin.gd index 2702c822..d77798ab 100644 --- a/game/addons/mesh_data_resource_editor/plugin.gd +++ b/game/addons/mesh_data_resource_editor/plugin.gd @@ -1,7 +1,7 @@ tool extends EditorPlugin -const MeshAddUtils = preload("res://addons/mesh_data_resource_editor/utilities/mesh_add_utils.gd") +const MDRMeshUtils = preload("res://addons/mesh_data_resource_editor/utilities/mdred_mesh_utils.gd") const MdiGizmoPlugin = preload("res://addons/mesh_data_resource_editor/MDIGizmoPlugin.gd") const MDIEdGui = preload("res://addons/mesh_data_resource_editor/MDIEd.tscn") @@ -172,7 +172,7 @@ func add_box() -> void: var mdr : MeshDataResource = get_mdr() if mdr: - MeshAddUtils.add_box(mdr) + MDRMeshUtils.add_box(mdr) func add_triangle() -> void: for g in active_gizmos: diff --git a/game/addons/mesh_data_resource_editor/utilities/mesh_add_utils.gd b/game/addons/mesh_data_resource_editor/utilities/mdred_mesh_utils.gd similarity index 100% rename from game/addons/mesh_data_resource_editor/utilities/mesh_add_utils.gd rename to game/addons/mesh_data_resource_editor/utilities/mdred_mesh_utils.gd