Renamed mesh_add_utils to mdred_mesh_utils.

This commit is contained in:
Relintai 2022-01-14 13:17:31 +01:00
parent 6dfb97cb39
commit 5a0cfe213d
3 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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: