Fixed a bunch of connection errors in TextureEditorPlugin
This commit is contained in:
parent
fe7559f751
commit
19afaa0203
11 changed files with 29 additions and 18 deletions
|
|
@ -29,6 +29,7 @@
|
|||
/*************************************************************************/
|
||||
|
||||
#include "multimesh_instance_2d.h"
|
||||
#include "scene/scene_string_names.h"
|
||||
|
||||
void MultiMeshInstance2D::_notification(int p_what) {
|
||||
if (p_what == NOTIFICATION_DRAW) {
|
||||
|
|
@ -70,7 +71,7 @@ void MultiMeshInstance2D::set_texture(const Ref<Texture2D> &p_texture) {
|
|||
}
|
||||
texture = p_texture;
|
||||
update();
|
||||
emit_signal("texture_changed");
|
||||
emit_signal(SceneStringNames::get_singleton()->texture_changed);
|
||||
}
|
||||
|
||||
Ref<Texture2D> MultiMeshInstance2D::get_texture() const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue