Commit graph

1351 commits

Author SHA1 Message Date
Fabio Alessandrelli
37c0ac1d6d Enabled logging of failed image download. 2019-03-16 10:58:07 +01:00
Sebastian Hartte
7bab7fd777 Don't crash when the saved editor state contains fewer viewports than currently supported. 2019-03-12 12:17:17 +01: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
Mariano Suligoy
65084a70fd Allow to change selection of collision shapes added to the same tile. Fixes #26369. 2019-02-28 22:45:16 -03:00
Mariano Suligoy
33be8b0701 Allow to change selection around all tiles on the texture without clicking on them. Fixes #25203. Fixes #22077 2019-02-28 20:48:34 -03:00
Michael Alexsander Silva Dias
6cf1a94af0 Make TileSet editor's workspace change size according to region changes 2019-02-27 22:40:54 -03:00
Rémi Verschelde
ce615c1a82
Merge pull request #26352 from bojidar-bg/21633-progress-stylebox
Fix minimum size of ProgressBar-s
2019-02-27 17:19:01 +01:00
Bojidar Marinov
a7b564db6e
Fix minimum size of ProgressBar-s
Was a leftover from 0a1c1c660f.
Fixes #21633.
2019-02-27 15:56:49 +02:00
Rémi Verschelde
f0f277faf1
Merge pull request #26330 from AlmostBearded/tileseteditor_multiplecollisionshapes
Allow Creation of Multiple Collision Shapes for Tiles
2019-02-27 11:33:45 +01:00
Hein-Pieter van Braam
464e1142c4 Don't crash on previewing an AtlasTexture without a region 2019-02-27 00:44:09 +00:00
Peter Oberrauner
657f83148c Allow Creation of Multiple Collision Shapes for Tiles #24003 2019-02-26 23:45:01 +01:00
Juan Linietsky
f436047cf5 Clear canvas item after rendering font, fixes #23774 2019-02-23 21:31:09 -03:00
Juan Linietsky
bfa9be85d3 Remove copy and use instance material override in gizmos, fixes #23783 2019-02-23 20:20:54 -03:00
Juan Linietsky
fd68bb2596 -Treat scalar conversions when calling functions as error, closes #24261
-Make shader editor display errors if exist when just opening it
-Make ShaderMaterial not lose parameters if opened in error.
2019-02-23 17:55:09 -03:00
Mariano Suligoy
5a21847f23 TileSetEditor: Show Edition Context by demand 2019-02-23 00:04:31 -03:00
Juan Linietsky
7f63b0e8cd Added a workaround to avoid crashes due to how TileSet editor works, fixes #23672
Also fixed a few uninitialized memory variables.
2019-02-22 17:42:29 -03:00
Michael Alexsander Silva Dias
3ef8238c1c Make translatable some undo/redo operations in the editor 2019-02-21 16:41:01 -03:00
marxin
8d51618949 Add -Wshadow=local to warnings and fix reported issues.
Fixes #25316.
2019-02-20 19:44:12 +01:00
Rémi Verschelde
1f257d3f8c
Merge pull request #26085 from mrcdk/tileset_shape_rectangle
Added a create rectangle button to the tileset editor.
2019-02-20 13:26:51 +01:00
MrCdK
7827c2fd57 Added a create rectangle button to the tileset editor.
It makes easier to create collision shapes covering the full tile.
2019-02-20 12:27:53 +01:00
Rémi Verschelde
d1f68e2eaf Add tooltip for in-editor FPS display in 3D viewport
Also enhance Control/Label documentation about tooltips and mouse filter,
as it took me a while to understand why Labels didn't show tooltips.

Closes #26082.
2019-02-20 12:16:22 +01:00
Rémi Verschelde
6201159a47
Merge pull request #25958 from YeldhamDev/poly2d_edit_disable_fix
Fix Polygon2D Editor interacting with its buttons too soon
2019-02-16 23:16:53 +01:00
Michael Alexsander Silva Dias
637f41e833 Fix Polygon2D Editor interacting with its buttons too soon 2019-02-16 20:13:02 -02:00
Rémi Verschelde
4f6dd779a3
Merge pull request #25913 from Chaosus/fix_gizmo_icons
Fix icon color for gizmos menu when theme changed
2019-02-16 23:06:46 +01:00
Michael Alexsander Silva Dias
8bef68fe6f Better and non-buggy Polygon2D editing disabling 2019-02-16 16:46:09 -02:00
Michael Alexsander Silva Dias
aca756fce8 Revert "Disallow polygon2D editing if internal vertices exists, as suggested in #24853"
This reverts commit 419fb45a3e.
2019-02-16 16:43:51 -02:00
Fabio Alessandrelli
1aa1f42963 Fix uninitialized value 2019-02-16 16:01:20 +01:00
Chaosus
a51088a7f9 Fix icon color for gizmos menu when theme changed 2019-02-15 20:32:38 +03:00