Commit graph

22868 commits

Author SHA1 Message Date
Rémi Verschelde
db87198719
Merge pull request #31175 from nekomatata/fix-collide-local-shape
Fixed KinematicCollision.get_local_shape()
2019-08-07 13:08:05 +02:00
Yuri Roubinsky
46efc9a70e
Allow comma prefix in visual shader's expression parser (#31176)
Allow comma prefix in visual shader's expression parser
2019-08-07 14:01:54 +03: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
PouleyKetchoupp
189e4e59ad Fixed KinematicCollision.get_local_shape() - the local shape id was never set during move_and_collide()
Fixes #31144
2019-08-07 12:32:32 +02:00
qarmin
14c16d6851 Added Thread Sanitizer 2019-08-07 12:01:14 +02:00
Rémi Verschelde
a909efeb12
Merge pull request #31173 from sparkart/search_in_tscn
Fix Find in Files Not Working Properly
2019-08-07 11:56:18 +02:00
Rémi Verschelde
f5f16e57fd
Merge pull request #30804 from hbina/fix_issue_30160
Fixed crash when making subresource unique in inspector dock
2019-08-07 11:43:16 +02:00
Emmanuel Barroga
0d8c7c30a0 Fix Find in Files Not Working Properly
When using the "Find in Files" option to search in non-script files (e.g. .tscn), the search does not work properly.
2019-08-06 23:57:14 -07: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
Hanif Bin Ariffin
befc2c0894 add forgotten calls to inspector_dock->update(...).
I believe many calls to the said function was mistakenly left out leading to InspectorDock having a pointer to deleted values.
As such, this commit introduces many such calls to inspector_dock where I believe is appropriate...
2019-08-06 18:02:36 -04: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
Rémi Verschelde
52cfb5f579
Merge pull request #31121 from willnationsdev/plugin-select-editor
Let EditorPlugins set editor/distraction-free mode
2019-08-06 16:43:49 +02:00
Tomasz Chabora
459f5cb75e Tweaks related to Camera2D drag margins 2019-08-06 16:19:02 +02:00
Rémi Verschelde
85b07813b0
Merge pull request #31136 from Calinou/tweak-animation-editor-range-steps
Tweak range steps in the animation editor
2019-08-06 15:59:34 +02:00
Will Nations
2e3264259b Let EditorPlugins set editor/distraction-free mode 2019-08-06 08:48:00 -05:00
Rémi Verschelde
365994a630
Merge pull request #30998 from Calinou/cap-warnings-errors-per-second
Cap the number of warnings/errors per second rather than per frame
2019-08-06 15:21:20 +02:00
Rémi Verschelde
9e1054bbb7
Merge pull request #31107 from yamgent/fix-mouse-wheel-coord
Fix wrong mouse wheel position for MOUSE_MODE_CAPTURED on Windows
2019-08-06 15:13:00 +02:00
Hugo Locurcio
4a28657cf5
Tweak range steps in the animation editor
This makes the step of the "frame" SpinBox larger, so that clicking
on the SpinBox arrows will make the number increase in a visible manner.
Previously, the full number was being cut off due to the SpinBox
being narrow.

This also makes the "step" SpinBox allow for more precise input.
2019-08-06 12:25:53 +02:00
Rémi Verschelde
4188b0c139
Merge pull request #31129 from TGRCdev/compressed_eof_fix
Fixed EOF flag not resetting on seek back in compressed file
2019-08-06 07:56:25 +02:00
Rémi Verschelde
27c518702a
Merge pull request #31125 from Calinou/improve-animation-editor-snapping
Improve snapping in the animation editor
2019-08-06 07:46:26 +02:00
Yuri Roubinski
d0dc195da8 Some improvements to Mix visual shader function 2019-08-06 08:06:49 +03:00
TGRCDev
c6f7015bca Fixed EOF flag not resetting on seek back 2019-08-05 18:20:18 -07:00
Hugo Locurcio
8b12498f8b
Improve snapping in the animation editor
Snapping can now be toggled temporarily by holding the Ctrl key.
Toggling timeline snapping is now done with the "Snap" checkbox rather
than by setting the animation's "Step" setting to 0.

The timeline cursor can no longer exit the animation's boundaries
if the animation's "Step" is set to 0.
2019-08-06 01:44:10 +02:00
Rémi Verschelde
fa35a73f0a
Merge pull request #31116 from sparkart/add_quit_shortcut
Add Shortcut Settings for Quitting Editor
2019-08-05 22:02:11 +02:00
Rémi Verschelde
e490c16a3d
Merge pull request #31114 from merumelu/editornode-begone
Remove Editor dependency from SceneTree
2019-08-05 22:01:57 +02:00
Emmanuel Barroga
8e4ae09639 Add Shortcut Settings for Quitting Editor
Adds the ability to change the shortcut keys in Editor Settings for quitting the editor.
2019-08-05 11:53:42 -07:00
merumelu
dcd551bf78 Remove Editor dependency from SceneTree 2019-08-05 19:46:23 +02:00
Rémi Verschelde
7464074cb8
Merge pull request #30987 from clayjohn/GLES2-light-negative
Implement negative for OmniLights and SpotLights in GLES2
2019-08-05 19:21:13 +02:00
Rémi Verschelde
b16d799a6f
Merge pull request #31078 from YeldhamDev/windowdiag_title_translation_update
Update WindowDialog title when translation changes
2019-08-05 16:44:57 +02:00
Rémi Verschelde
4d5534e2e8
Merge pull request #31081 from Calinou/animation-editor-larger-keyframes
Make keyframes easier to select in the animation editor
2019-08-05 16:44:39 +02:00
Rémi Verschelde
5aea7bc108
Merge pull request #31108 from Chaosus/vs_fix_texture
Fix opening of sub-resource properties in visual shaders
2019-08-05 16:39:57 +02:00
Yuri Roubinski
43ee35431e Fix opening of sub-resource properties in visual shaders 2019-08-05 17:13:02 +03:00
Tan Wang Leng
b12240a199 Fix wrong mouse wheel position for MOUSE_MODE_CAPTURED on Windows
WM_MOUSEWHEEL and WM_MOUSEHWHEEL report mouse coordinates relative to
the screen (see lParam in [1]), rather than to the window like the rest
of the mouse events.

The current code already makes adjustments to take that into account.

However, it only makes the adjustments if the mouse is not captured, and
the coordinates are always relative to the screen regardless of whether
the mouse is captured or not, so let's fix the code to always
consistently apply the adjustments.

This fixes #29559.

[1] - https://docs.microsoft.com/en-us/windows/win32/inputdev/wm-mousewheel
2019-08-05 22:10:30 +08:00
Rémi Verschelde
834d07cfc1 doc: Sync classref with current source 2019-08-05 15:21:03 +02:00
Michael Alexsander Silva Dias
06a890f7a3 Update WindowDialog title when translation changes 2019-08-05 10:20:52 -03:00
Rémi Verschelde
45be9c67ef
Merge pull request #31091 from aaronfranke/wrap
Optimize Wrap functions
2019-08-05 09:55:57 +02:00
Rémi Verschelde
7c3805019d
Merge pull request #31085 from sparkart/fix_redundant_navpolygons
Fix Redundant Navigation Polygons
2019-08-05 09:43:35 +02:00
Yuri Roubinski
b24b3497d6 Implemented local shader constants 2019-08-05 10:35:53 +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
Rémi Verschelde
7d5ad99cde
Merge pull request #31063 from rzllmr/fix-tilemap-order
Fix row-column-swap in TileMap palette
2019-08-05 08:12:14 +02:00
Rémi Verschelde
d9bba94d60
Merge pull request #31053 from aaronfranke/vector2i-cleanup
Some minor Vector2i usage cleanup
2019-08-05 08:08:57 +02:00
Rémi Verschelde
00efb61fbd
Merge pull request #31048 from Calinou/fix-gizmo-size-low-viewport-height
Fix 3D manipulator the gizmo growing too large on small viewports
2019-08-05 08:07:13 +02:00
Rémi Verschelde
be3b2f3ff9
Merge pull request #31041 from 2shady4u/master
Mark class_name line as safe in editor
2019-08-05 08:05:49 +02:00
Rémi Verschelde
818704a421
Merge pull request #31028 from creikey/fix-theme-update-richtextlabl
Same method when redrawing as when theme changed
2019-08-05 08:05:02 +02:00
Aaron Franke
a9c10450bd
[Core] [Mono] Optimize Wrap functions
Use is_zero_approx(), avoid a negative, and also rename "rng" to "range".
2019-08-04 20:38:38 -07:00