summaryrefslogtreecommitdiff
path: root/editor/plugins
diff options
context:
space:
mode:
authorMariano Javier Suligoy <marianognu.easyrpg@gmail.com>2017-06-22 07:56:01 -0300
committerGitHub <noreply@github.com>2017-06-22 07:56:01 -0300
commit320c1af616cfd6d54ca8054f8536dbc888e12b6c (patch)
tree246944873bf20ad36d8324f319645ef36aab38f5 /editor/plugins
parente3b34810e313f41bef4225ec474baa7667cf7b5d (diff)
parent2b7a8265536dbbbb966d4af59f52d8b21af99e36 (diff)
Merge pull request #9293 from MarianoGnu/master
Fix regresion on Texture Region Editor Plugin. Fixes #9282
Diffstat (limited to 'editor/plugins')
-rw-r--r--editor/plugins/texture_region_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/texture_region_editor_plugin.cpp b/editor/plugins/texture_region_editor_plugin.cpp
index ea5bf437ff..8a7dcea393 100644
--- a/editor/plugins/texture_region_editor_plugin.cpp
+++ b/editor/plugins/texture_region_editor_plugin.cpp
@@ -218,7 +218,7 @@ void TextureRegionEditor::_region_input(const Ref<InputEvent> &p_input) {
mtx.xform(rect.position + Vector2(0, rect.size.y / 2)) + Vector2(-4, 0)
};
- Ref<InputEventMouseButton> mb;
+ Ref<InputEventMouseButton> mb = p_input;
if (mb.is_valid()) {
if (mb->get_button_index() == BUTTON_LEFT) {