Commit Graph

5306 Commits

Author SHA1 Message Date
Rémi Verschelde d3153c28f0 Replace last occurrences of 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG'
The last remaining ERR_EXPLAIN call is in FreeType code and makes sense as is
(conditionally defines the error message).

There are a few ERR_EXPLAINC calls for C-strings where String is not included
which can stay as is to avoid adding additional _MSGC macros just for that.

Part of #31244.
2019-08-17 13:31:22 +02:00
Hugo Locurcio 108f9646f5
Add an outline to box selection rectangles for better visibility
This also refactors selection box color definitions
to avoid repetition.
2019-08-15 22:27:32 +02:00
Michael Alexsander Silva Dias f8a986c094 Fix autocompletion widget having its text leak outside 2019-08-15 14:52:37 -03:00
Rémi Verschelde 188a10df8b
Merge pull request #31263 from Chaosus/vs_plugin
Plugin support for visual shaders
2019-08-14 15:52:21 +02:00
Yuri Roubinski 33e9fce1bb Plugin support for visual shaders 2019-08-14 15:52:27 +03:00
Rémi Verschelde 5f44ee30ec
Merge pull request #31360 from nekomatata/fix-error-parallax-mirroring
Fixed error in ParallaxLayer when set_mirroring is called before entering the tree
2019-08-14 13:48:22 +02:00
Rémi Verschelde 6c607c3564
Merge pull request #31266 from IAmActuallyCthulhu/pr/remove-redundant-author-comments
Remove redundant author doc comments
2019-08-14 13:45:54 +02:00
PouleyKetchoupp 927a7916f6 Fixed error in ParallaxLayer when set_mirroring is called before entering the tree
Fixes #31300
2019-08-14 13:21:22 +02:00
Rémi Verschelde 1dae4c9e7f
Merge pull request #31267 from sparkart/fix_optionbutton_offset
Fix Offset with OptionButton Popup
2019-08-14 11:43:42 +02:00
Fabian 97167209cb Exposed set_as_minsize to gdscript 2019-08-14 16:09:55 +09:30
Rémi Verschelde f8574da2c2
Merge pull request #31338 from Calinou/reorganize-menus
Reorganize various menus for consistency and conciseness
2019-08-13 16:52:42 +02:00
Hugo Locurcio 9e1c23a353
Reorganize various menus for consistency and conciseness
- Clean up the recent scripts dialog to match the recent scenes dialog
- Add "..." at the end of shortcuts that cause a modal dialog to appear

This closes #31148.
2019-08-13 11:52:10 +02:00
Emmanuel Barroga 26c5bac428 Fix Right-Click Menu Deselecting Edits Content
Right-clicking a property to open the context menu deselects the text field. This causes the context menu to be useless because it doesn't have anything to edit.
2019-08-12 03:39:27 -07:00
IAmActuallyCthulhu 82b9557803
Remove redundant author doc comments 2019-08-12 04:26:38 -05:00
Emmanuel Barroga b97e198bdd Fix Offset with OptionButton Popup
Fixes the offset issue with the OptionButton's popup.
2019-08-12 00:13:02 -07:00
Rémi Verschelde 7bb2215ed0
Merge pull request #31213 from KoBeWi/explain_scenes
Replace ERR_EXPLAIN in scene/* code
2019-08-09 14:25:31 +02:00
Tomasz Chabora af5e0fff66 Remove ERR_EXPLAIN from scene/* code 2019-08-09 13:54:52 +02:00
Emmanuel Barroga 2e1b58c793 Fix Exponential Range Graphical Error
Fixes the Exponential Range Slider having a graphical error with less than 1 values.
2019-08-09 01:47:20 -07:00
Rémi Verschelde d2a67c9c1f
Merge pull request #30714 from Calinou/invert-default-fog-height
Invert and adjust the default fog height values
2019-08-08 17:20:32 +02:00
Rémi Verschelde 4d7439adaa
Merge pull request #31185 from mitchcurtis/get_path
Improve error message in Node::get_path()
2019-08-08 14:05:49 +02:00
Rémi Verschelde f0ad034a1d
Merge pull request #31182 from mitchcurtis/remove_child
Improve error message in Node::remove_child()
2019-08-08 11:20:50 +02:00
Rémi Verschelde 5becb2e322
Merge pull request #31194 from bojidar-bg/29312-corrupt-initial-tilemap
Fix corrupted TileMap saves due to missing/wrong format
2019-08-08 11:20:06 +02:00
Mitch Curtis ae4a382dd2 Improve error message in Node::remove_child() 2019-08-08 09:38:32 +02:00
Bojidar Marinov 141ee27dad
Fix corrupted TileMap saves due to missing/wrong format
Fixes #29312
2019-08-08 09:30:55 +03:00
Mitch Curtis c332eab864 Improve error message in Node::get_path() 2019-08-07 21:16:54 +02:00
Hugo Locurcio d1a35b5a97
Invert and adjust the default fog height values
This makes height fog appear at the bottom of the scene
(instead of the top), which is generally the expected result.

This also tweaks the fog height setting hint to be more flexible.

This closes #30709.
2019-08-07 18:21:44 +02:00
Rémi Verschelde 05d58a4e6a
Merge pull request #31122 from Muller-Castro/enhancement
Unnecessary reassignments
2019-08-07 15:23:38 +02:00
Rémi Verschelde ca05613aed
Merge pull request #31050 from sparkart/fix_tileset_shape_offset
Fix Wrong Shape Offsets in Tileset
2019-08-07 14:27:29 +02:00
Rémi Verschelde ba541bceca
Merge pull request #31077 from qarmin/coverity_bugs
Change some code proposed by Coverity and Cppcheck
2019-08-07 13:49:33 +02:00
Rémi Verschelde 904e3100ac
Merge pull request #31127 from MuffinManKen/checkbox_implement_check_vadjust
Implemented check_vadjust in CheckBox & CheckButton. It was exposed to the editor, but not used.
2019-08-07 13:34:48 +02:00
Rémi Verschelde efc0256483
Merge pull request #31163 from nekomatata/fix-state-machine-transition-priority
Fixed AnimationTreeStateMachine transition priority
2019-08-07 13:13:32 +02:00
Rémi Verschelde 362ff8caed
Merge pull request #27046 from KoBeWi/camera2d_brag_margins_stuff
Tweaks related to Camera2D drag margins
2019-08-07 13:13:12 +02:00
qarmin e0b5b21863 Add some code changes/fixes proposed by Coverity and Clang Tidy 2019-08-07 12:54:30 +02:00
Yuri Roubinski 80080f2655 Allow comma prefix to visual shader's expression parser 2019-08-07 13:50:41 +03:00
Rémi Verschelde 765839b2ad
Merge pull request #31161 from merumelu/default-theme-checkbutton
Default theme: make toggle_off_disabled.png the same dimension as other CheckButton images
2019-08-07 08:28:41 +02:00
Rémi Verschelde 78e84c29e6
Merge pull request #31057 from Chaosus/vs_mix_improvements
Some improvements to Mix visual shader function
2019-08-07 08:22:08 +02:00
PouleyKetchoupp aaad50e4d9 Fixed AnimationTreeStateMachine transition priority (last transition was always chosen instead of least cost)
Fixes #31132
2019-08-06 23:27:25 +02:00
Muller-Castro ffacd0a148 Removed unnecessary reassigns
Those assignments are duplicated since add_to_group() or remove_from_group() aren't changing the state of those members.
2019-08-06 17:40:47 -03:00
merumelu 908f0eadba Default theme: make toggle_off_disabled.png the same dimension as other CheckButton images 2019-08-06 22:12:58 +02:00
Ken Paulson deec700497 Implemented check_vadjust in CheckBox & CheckButton. It was exposed to the editor, but wasn't used. 2019-08-06 13:27:07 -04:00
Tomasz Chabora 459f5cb75e Tweaks related to Camera2D drag margins 2019-08-06 16:19:02 +02:00
Yuri Roubinski d0dc195da8 Some improvements to Mix visual shader function 2019-08-06 08:06:49 +03:00
merumelu dcd551bf78 Remove Editor dependency from SceneTree 2019-08-05 19:46:23 +02:00
Michael Alexsander Silva Dias 06a890f7a3 Update WindowDialog title when translation changes 2019-08-05 10:20:52 -03:00
Rémi Verschelde 2b983f9c74
Merge pull request #31075 from KoBeWi/right_for_acceptance
Accept also right-click event in LineEdit
2019-08-05 09:02:04 +02:00
Emmanuel Barroga 625b87633e Fix Wrong Shape Offsets in Tileset
Closes #30994

When modifying the properties of a tileset in the editor, some properties only apply to the first tile (such as the shape offset).

This change resolves that issue by traversing the changes to all of the shapes in the tileset instead of the first one.
2019-08-04 12:05:23 -07:00
Tomasz Chabora b65f6f7944 Accept also right-click event in LineEdit 2019-08-04 15:35:50 +02:00
Cameron Reikes c123a8c4f5 Same method when redrawing as when theme changed 2019-08-01 19:50:14 -07:00
Rémi Verschelde 77e8947687
Merge pull request #30905 from clayjohn/set-cpuparticles2d-visible
Toggle CPUParticles2D visibility when redrawing
2019-08-01 18:13:28 +02:00
Rémi Verschelde a967ece4c7
Merge pull request #31009 from Chaosus/vs_fix_outer_product
Fix outerProduct function in visual shaders
2019-08-01 08:48:44 +02:00