Commit graph

3783 commits

Author SHA1 Message Date
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 a292d1fefb Fix general issues with filesystem-related UI components in the editor 2019-03-05 10:12:06 -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
Rémi Verschelde 0952522e8b
Merge pull request #26612 from akien-mga/mkdir-system-data-path
Fix creating editor data, config and cache paths
2019-03-04 23:52:11 +01:00
Juan Linietsky 5b77aa6bea Ensure shader is not set if code did not change 2019-03-04 19:39:06 -03:00
Rémi Verschelde c0050d9295 Fix creating editor data, config and cache paths
We used to abort if the system-specific data folder (e.g. `~/.local`
or `%APPDATA%`) is missing, but the next code chunk actually creates
it with `make_dir_recursive` if missing.

Fixes #26598.
2019-03-04 23:29:22 +01:00
Rémi Verschelde 26c1d1aec8
Merge pull request #26587 from KoBeWi/undo_visibility_AABB
Add UndoRedo for Generate Visibility AABB (Particles)
2019-03-04 21:54:51 +01:00
Rémi Verschelde 9efbddfee1
Merge pull request #26607 from ptrojahn/translationescape
Unescape translations in CSV importer
2019-03-04 21:54:29 +01:00
Juan Linietsky 21289c6fea Some clean up to previous commit. 2019-03-04 17:11:49 -03:00
Paul Trojahn aa465f076f Unescape translations in CSV importer
Fixes #25361
2019-03-04 21:07:58 +01:00
Tomasz Chabora 4599e98341 Add UndoRedo for Generate AABB (Particles) 2019-03-04 21:00:56 +01:00
Juan Linietsky 472c94ce3e Remove the "Open Editor" button, it will open automatically. 2019-03-04 16:50:21 -03: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
Juan Linietsky e653c79ef7 Better warnings when resources can't be saved. Fixes #26531 2019-03-04 11:06:49 -03:00
xDGameStudios d2f73d4a27 Add UndoRedo on Generate Visibility Rect (Particles2D) 2019-03-04 12:49:32 +00:00
Juan Linietsky a1e73dcc94 Add support for event accumlation (off by default, on for editor), fixes #26536 2019-03-03 19:53:13 -03:00
Juan Linietsky 8b4c4d9b2f Implement a more coherent (and way less hack) way to block animation updates, fixes #24618 2019-03-03 17:57:16 -03:00
Rémi Verschelde 9357d691a2
Merge pull request #26496 from MadEqua/fix-filesystem-dock-icon
Fix grid view button icon not showing on filesystem dock.
2019-03-03 19:58:48 +01:00
Juan Linietsky 2f32a75d2e Skeletons can now choose between using local or world coords for processing, fixes #26468 2019-03-03 12:24:00 -03:00
Bruno Lourenço ed7534a6aa Fix grid view button icon not showing on filesystem dock. 2019-03-03 15:02:51 +00:00
Rémi Verschelde af6217e1b1
Merge pull request #26523 from akien-mga/export-etc-check
Improve VRAM texture compression checks for mobile/web
2019-03-03 14:12:03 +01:00
Rémi Verschelde 86f4fabd46
Merge pull request #26446 from QbieShay/root_node_from_escn
Importer for scenes only overrides the base Node if differently specified by the user
2019-03-03 13:51:09 +01:00
Rémi Verschelde 9d002442b2 Improve VRAM texture compression checks for mobile/web
For HTML5, we need to support S3TC if running on desktop,
and ETC or ETC2 for mobile, so make this explicit.

Add logic to check for ETC2 support on GLES3,
and remove incorrect ETC feature for GLES3 on Android.

Fix ETC check invalidating templates on HTML5.
Fixes #26476.
2019-03-03 13:24:08 +01: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
Rémi Verschelde 4bd9135eee
Merge pull request #26482 from ptrojahn/missingpreview
Fix preview in file dialog
2019-03-02 19:04:13 +01:00
Paul Trojahn 6e865d1e11 Fix preview in file dialog
If the preview is already cached, queue_ressource_preview calls
_thumbnail_done immediately, so preview_waiting is never set to false
again. The progress wheel isn't rendered, because the WaitPreview icons
don't exist. This should probably be Progress.
Fixes #25749
2019-03-02 13:43:29 +01:00
Ilaria Cislaghi b6fe7a794d Importer for scenes only overrides the base Node if differently specified by the user 2019-03-02 13:31:11 +01:00
Juan Linietsky abbca3b3cc Flush stuff pending on visual server thread when exiting, fixes #24669 2019-03-01 16:34:03 -03:00
Rémi Verschelde 856c36cb89
Merge pull request #26451 from ptrojahn/modified
Fix misleading modified status of scenes
2019-03-01 20:20:50 +01:00
Juan Linietsky 3f681b0681 Clean up blend shape support in GLES2 and GLES3. 2019-03-01 16:01:44 -03:00
Paul Trojahn f3d94cc752 Fix misleading modified status of scenes
If a scene is instanced in another scene, any changes to the first
triggers _clear_undo_history in EditorNode::set_current_scene, which
increments the version in UndoRedo::clear_history. This results in a
modified status. Passing false to clear_history fixes this issue.
Fixes #25942
2019-03-01 18:27:37 +01:00
Rémi Verschelde 3c59604061 i18n: Sync translation template with current source 2019-03-01 13:04:23 +01:00
Rémi Verschelde 4c8db607fb i18n: Sync translations with Weblate 2019-03-01 13:01:50 +01:00
Rémi Verschelde e7dd05fed8
Merge pull request #26419 from SeleckyErik/errors-tab-bug
Fixed Errors Tab Indexing Bug in the Debugger
2019-03-01 12:07:31 +01:00
Chaosus 7bb449ae70 Updates error label font in status bar 2019-03-01 11:48:36 +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
Erik 3f9ba2bd14 Fixed Errors Tab Indexing Bug in the Debugger
FIxed bug with Errors tab in the Debugger using wrong index in the
tab container.

Also removed unused variable that was probably left behind.
2019-02-28 22:12:14 +01:00
Rémi Verschelde 38bfd2fda6
Merge pull request #26383 from neikeq/issue-26302
Sanitize file paths before extracting export templates
2019-02-28 12:36:49 +01:00
Rémi Verschelde a4b687bdab
Merge pull request #26386 from YeldhamDev/tileset_editor_dynamic_workspace
Make TileSet editor's workspace change size according to region changes
2019-02-28 09:49:05 +01:00
Rémi Verschelde 41708eb821
Merge pull request #26335 from ericrybick/26247
Fix project_settings entry creation for global scripts.
2019-02-28 09:34:50 +01: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
Ignacio Etcheverry 8e98be5991 Sanitize file paths before extracting export templates 2019-02-28 00:25:55 +01:00
Juan Linietsky 9ca6ffa341 Save resources even if no scene is present, closes #26273 2019-02-27 20:00:40 -03:00