Commit Graph

1376 Commits

Author SHA1 Message Date
Juan Linietsky d8cae6e7f6 Implement autokeying in Animation editor.
(cherry picked from commit 296c74072c)
2019-04-21 00:02:02 +02:00
Juan Linietsky 6fac922bff Add support for FPS snap in Animation Editor.
(cherry picked from commit 4203266923)
2019-04-20 23:57:59 +02:00
ShyRed bb8f015595 Add converters / generators to Sprite
Adds the following menu options to the Sprite editor: "Convert to Mesh2D", "Convert to Polygon2D", "Create CollisionPolygon2D Sibling" and "Create LightOccluder2D Sibling"

(cherry picked from commit c218c631f6)
2019-04-20 23:19:55 +02:00
lupoDharkael 904bfa6a72 Validate scripts when they are loaded in the text editor
(cherry picked from commit f137166251)
2019-04-20 22:38:47 +02:00
Chaosus aa78461ebd Added possibilty to delete multiple nodes in visual shaders via Delete key
(cherry picked from commit 24faddc211)
2019-04-20 22:37:56 +02:00
Guilherme Felipe 40c2a5ff57 [AnimationNodeBlendTreeEditor] Usability improvements
- Add possibility to exclude multiple (selected) nodes.
- Add context menu (Right click) to add nodes.

(cherry picked from commit ccbf57611b)
2019-04-20 22:31:45 +02:00
piyushdagar a329f6fa0b Fixes Adding animation to AnimatedSprite doesn't update inspector immediately
(cherry picked from commit d86d7981cc)
2019-04-20 22:15:01 +02:00
LATRio ae6d45b0f2 Fix TextureRegion margin bug introduced in #27122
(cherry picked from commit f38173fb19)
2019-04-20 22:09:57 +02:00
LATRio 2213a21ab3 Fixing zooming in TextureRegion
Fixes #20710

(cherry picked from commit 22030d4cc4)
2019-04-20 22:09:30 +02:00
Martin Wallin b887d3f8e8 Display vertex number when hovering point in collision polygon
(cherry picked from commit ed06ed38fb)
2019-04-20 22:07:01 +02:00
James Buck 7b8e7d6514 Fix setting of PopupMenu item IDs in editor
(cherry picked from commit ae646261e3)
2019-04-20 20:28:23 +02:00
Michael Alexsander Silva Dias 7ddd4f7232 Fix position of tile names in TileSet editor when zooming in/out
Fixes #27713.

(cherry picked from commit d2a7624687)
2019-04-20 20:25:09 +02:00
Rémi Verschelde 320105ff05 Fix TTR string for class reference tooltip
Fixes #27852.

(cherry picked from commit 38104bb89d)
2019-04-20 20:21:30 +02:00
Michael Alexsander Silva Dias 72b4844d42 Fix crash when using the Tileset Editor when the given shape has no points
(cherry picked from commit 9501900e1b)
2019-04-20 20:10:54 +02:00
Timo Schwarzer e31d6367ea Allow whitespaces in warning-ignore comments
(cherry picked from commit 7a0dfc04aa)
2019-04-20 20:05:25 +02:00
qarmin 0f51f138b5 Fix perspective button hide when it should be actually disabled
(cherry picked from commit 2e5b6b5bde)
2019-04-20 20:04:21 +02:00
Hugo Locurcio 67dc8cf252 Use the editor theme's accent color for 2D/3D selections and rotations
(cherry picked from commit d59b210aec)
2019-04-06 21:18:20 +02:00
qarmin 4ba90b9dda Show bones after creating
(cherry picked from commit 1b6e0d04f0)
2019-04-06 21:17:04 +02:00
ShyRed dc259b95d8 Add Emission Mask to CPUParticle2D
Add ability to load emission masks to CPUParticle2D.

(cherry picked from commit dcd268e183)
2019-04-03 16:54:33 +02:00
qarmin 29a6e7d306 Do not lose focus when moving through scene tree
(cherry picked from commit 138698e51f)
2019-04-03 16:52:27 +02:00
Magnus Specht 1d05568aed Fixed unfinished max_lines handling for crash avoidance.
(cherry picked from commit 601acdf0e1)
2019-04-01 11:25:22 +02:00
Paulb23 9ca440b763 Fix script editor attempting to set current line to -1 on script open
(cherry picked from commit 6f6d4a6c2e)
2019-04-01 11:17:58 +02:00
Fabio Alessandrelli b2d13ba7b7 Enabled logging of failed image download.
(cherry picked from commit 37c0ac1d6d)
2019-04-01 11:15:30 +02:00
janglee123 9bd25ce7d2 fixed toggelling snap mode while transforming
(cherry picked from commit 05446e8b53)
2019-04-01 11:15:06 +02:00
Pedro Ciambra f7f80b009b Implement source lookup for class_name defined classes
Previous to this, classes defined with class_name had no
behavior when ctrl-clicked in the editor.

Fixes #26882

(cherry picked from commit e8fe174616)
2019-04-01 11:10:32 +02:00
Juan Linietsky d26c3fca0c Add a "Request Docs" button to code editor.
(cherry picked from commit 6574c557c9)
2019-03-28 10:40:03 +01:00
Sebastian Hartte d060cd4fef Don't crash when the saved editor state contains fewer viewports than currently supported.
(cherry picked from commit 7bab7fd777)
2019-03-16 10:41:45 -07:00
JFonS 2658e5d03d Add priority to gizmos and fix small issues
User defined gizmos will haave higher preference than editor gizmos by
default. Also fixed some inconsistencies in the gizmos menu when using
custom gizmos.
2019-03-12 00:30:50 +01:00
Juan Linietsky 95c6d9caba Fix crash in texture previeer, closes #26749, probably others 2019-03-08 14:18:12 -03:00
Juan Linietsky 9af7fa193f Do not annoy unrelated textures with texture editor. 2019-03-07 13:54:05 -03:00
Rémi Verschelde b38f44e177
Merge pull request #26758 from qarmin/fix_error_dragging_empty_script_editor
Fix error when dragging empty script list in Script Editor
2019-03-07 17:40:42 +01:00
qarmin 7837276597 Fix error when dragging empty script list in Script Editor 2019-03-07 16:09:02 +01:00
Mariano Suligoy 6c08f4ea4e TileSetEditor: Don't draw invalid occlusion shapes. Fixes #24238 2019-03-06 15:31:16 -03:00
Juan Linietsky 6eac688952 Don't hide/show top editor if they did not change, fixes #26644 2019-03-06 12:42:01 -03:00
merumelu e4b20a9a51 AssetLib: convert video thumbnails to RGBA
Image::blend_rect only works with images that have the same format.
2019-03-05 21:02:56 +01:00
Rémi Verschelde f43ee4aff8
Merge pull request #26639 from YeldhamDev/tileeditor_coordnav_disable
Disable coord navigation buttons in TileSet editor when no texture is selected
2019-03-05 16:59:05 +01:00
Rémi Verschelde ae24258842
Merge pull request #26622 from pyrophone/TilesetPreviewFix
Fixed Tileset preview stretching textures
2019-03-05 16:57:21 +01:00
Gio Aleman 4cf197fa48 Fixed Tileset preview stretching textures 2019-03-05 09:53:08 -05:00
Michael Alexsander Silva Dias 9b52ad5caf Disable coord navigation buttons in TileSet editor when no texture is selected 2019-03-05 11:22:44 -03:00
Andrii Doroshenko (Xrayez) a4e6e2f342 Ensure to disable freelook when leaving spatial editor
Fixes and prevents the problem with mouse getting stuck in MOUSE_MODE_CAPTURED when switching to canvas item editor plugin by any means other than manually (with mouse).
2019-03-05 12:42:25 +02:00
Rémi Verschelde 3aff78f532
Merge pull request #26599 from MarianoGnu/fix_25817
TileSetEditor: Expose to the user OneWayCollision+Margin properties.
2019-03-05 00:19:48 +01:00
Juan Linietsky 5b77aa6bea Ensure shader is not set if code did not change 2019-03-04 19:39:06 -03:00
Tomasz Chabora 4599e98341 Add UndoRedo for Generate AABB (Particles) 2019-03-04 21:00:56 +01:00
Juan Linietsky 53bec9deeb Fix and restore text, material and mesh previewers. 2019-03-04 15:53:18 -03:00
Mariano Suligoy 33406131c1 TileSetEditor: Expose to the user OneWayCollision+Margin properties. Fixes #25817. 2019-03-04 14:10:31 -03:00
Rémi Verschelde 878950db16
Merge pull request #26590 from Chaosus/fix_sprite_region_crash
Fix editor crash when converting sprite to 2D mesh
2019-03-04 16:58:39 +01:00
Chaosus 8b5e070ec7 Fix editor crash when converting sprite to 2D mesh 2019-03-04 17:37:38 +03:00
xDGameStudios d2f73d4a27 Add UndoRedo on Generate Visibility Rect (Particles2D) 2019-03-04 12:49:32 +00:00
Rémi Verschelde c0e1c66e3d
Merge pull request #26385 from MarianoGnu/tileset_editor
TileSetEditor: Improvements and fixes
2019-03-03 11:24:16 +01:00
Mariano Suligoy 7b933d70a8 TileSetEditor: Allow to toggle Convex/Concave collisions. Alternative fix to #24003 2019-03-02 19:40:56 -03:00