mirror of
https://github.com/Relintai/broken_seals.git
synced 2025-01-22 02:17:18 +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 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 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 {
|
enum EditMode {
|
||||||
EDIT_MODE_NONE = 0,
|
EDIT_MODE_NONE = 0,
|
||||||
@ -377,15 +377,15 @@ func on_mdr_changed() -> void:
|
|||||||
|
|
||||||
func add_triangle() -> void:
|
func add_triangle() -> void:
|
||||||
if _mdr:
|
if _mdr:
|
||||||
MeshAddUtils.add_triangle(_mdr)
|
MDRMeshUtils.add_triangle(_mdr)
|
||||||
|
|
||||||
func add_quad() -> void:
|
func add_quad() -> void:
|
||||||
if _mdr:
|
if _mdr:
|
||||||
MeshAddUtils.add_quad(_mdr)
|
MDRMeshUtils.add_quad(_mdr)
|
||||||
|
|
||||||
func add_box() -> void:
|
func add_box() -> void:
|
||||||
if _mdr:
|
if _mdr:
|
||||||
MeshAddUtils.add_box(_mdr)
|
MDRMeshUtils.add_box(_mdr)
|
||||||
|
|
||||||
func merge():
|
func merge():
|
||||||
pass
|
pass
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
tool
|
tool
|
||||||
extends EditorPlugin
|
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 MdiGizmoPlugin = preload("res://addons/mesh_data_resource_editor/MDIGizmoPlugin.gd")
|
||||||
const MDIEdGui = preload("res://addons/mesh_data_resource_editor/MDIEd.tscn")
|
const MDIEdGui = preload("res://addons/mesh_data_resource_editor/MDIEd.tscn")
|
||||||
@ -172,7 +172,7 @@ func add_box() -> void:
|
|||||||
var mdr : MeshDataResource = get_mdr()
|
var mdr : MeshDataResource = get_mdr()
|
||||||
|
|
||||||
if mdr:
|
if mdr:
|
||||||
MeshAddUtils.add_box(mdr)
|
MDRMeshUtils.add_box(mdr)
|
||||||
|
|
||||||
func add_triangle() -> void:
|
func add_triangle() -> void:
|
||||||
for g in active_gizmos:
|
for g in active_gizmos:
|
||||||
|
Loading…
Reference in New Issue
Block a user