Commit Graph

12 Commits

Author SHA1 Message Date
Andreas Haas 5bfd0bbe5e TextureRegionEditor: Fix mouse wheel scroll speed.
Any given mouse wheel input will generate two InputEvents in godot.
The zoom methods here acted on both ones, effectively giving a step value of 4 instead of 2.
Fixes #7236

(cherry picked from commit c2040324be)
2017-01-12 19:15:27 +01:00
Dmitry Kram 6227e8f343 Fix snap mode selector sticking in texture region module
When changing snap mode in texture region plugin ticks was not updating. Issue fixed changing order of setting checked status and setting snap mode.

(cherry picked from commit d766738991)
2017-01-12 19:15:26 +01:00
Andreas Haas 4b6809a2b3 Refresh TextureRegionEditor when region has been changed externally.
Now the TextureRegionEditor updates when you change the region_rect either via the inspector or via
undo/redo.

Fixes #6772

(cherry picked from commit 094073e4b2)
2016-10-17 20:47:14 +02:00
Daniel J. Ramirez 16fc229e5d Zoom texture region via mouse wheel
(cherry picked from commit 1e7d0c6ac1)
2016-09-01 08:37:55 +02:00
Saracen dd97502788 TextureRegionEditor snap_mode fix.
(cherry picked from commit b578cf4da8)
2016-08-08 18:14:29 +02:00
MarianoGNU 6622a3d110 Prevent crash in TextureRegionEditor. Fixes #5862 2016-07-22 21:11:12 -03:00
MarianoGNU ea8292c1c0 Initialize missing variables. Fixes #5461 2016-06-28 23:51:13 -03:00
MarianoGNU 79c500bee1 Modify margins with mouse input 2016-06-20 17:06:19 -03:00
MarianoGNU 38843a67a9 Chance Snap for SnapMode and add AutoSlice option. 2016-06-20 14:37:01 -03:00
Geequlim 3f3798811d Add support for AtlasTexture resources
Add undo/redo support for texture region of stylebox and atlas texture resources.
2016-06-10 18:31:38 +08:00
Geequlim 5894060abb Enhanced StyleBoxTexture:
Add texture region support for StyleBoxTexture.
  Quick region(texture region and scale region) selection for StyleBoxTexture with TextureRegionEditorPlugin.
2016-06-05 00:45:53 +08:00
Geequlim 9546b2ffd4 Add plugin to pick texture region and patch margins for Patch9Frame 2016-06-05 00:45:53 +08:00