Commit graph

1360 commits

Author SHA1 Message Date
Magnus Specht 601acdf0e1 Fixed unfinished max_lines handling for crash avoidance. 2019-03-24 19:17:02 +01:00
Paulb23 6f6d4a6c2e Fix script editor attempting to set current line to -1 on script open 2019-03-17 20:02:05 +00:00
Rémi Verschelde e5a310cd38
Merge pull request #25782 from hsandt/feature/fix-toggle-comment-indent
Feature/fix toggle comment indent
2019-03-16 11:17:47 -07:00
Rémi Verschelde 43f147b5aa
Merge pull request #26308 from bojidar-bg/11722-meshlibrary-transforms
Consider StaticBody and NavMesh position when converting to a MeshLibrary
2019-03-16 11:15:15 -07:00
Rémi Verschelde 8965ff90ca
Merge pull request #26919 from jabcross/master
Implement source lookup for class_name defined classes
2019-03-16 11:06:34 -07:00
Rémi Verschelde 18fa1846ea
Merge pull request #27115 from Janglee123/master
Fix toggling snap mode while transforming the Spatial object
2019-03-16 10:54:44 -07:00
janglee123 05446e8b53 fixed toggelling snap mode while transforming 2019-03-16 13:45:39 +05:30
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
Pedro Ciambra e8fe174616 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
2019-03-11 12:52:17 -03: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
Bojidar Marinov 1a397a7878
Consider StaticBody and NavMesh position when converting to a MeshLibrary
Would have added mesh transform, but realized that will cause problems when moving the mesh around the scene for visualization purposes.

Closes #11722
2019-02-26 15:38:23 +02: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