mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-11-13 20:47:19 +01:00
Renamed mesh_add_utils to mdred_mesh_utils.
This commit is contained in:
parent
6dfb97cb39
commit
5a0cfe213d
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user