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
Hugo Locurcio
1e4398c345
Improve light theme colors in the editor for better readability
...
This tweaks existing color conversions and adds new conversions
for animation track icon colors.
2019-08-05 01:53:45 +02:00
Emmanuel Barroga
6c83550dfc
Fix Redundant Navigation Polygons
...
When adjusting the vertices of a navigation polygon, the tile editor would create a duplicate navigation polygon. So each time you made an adjustment, another copy of the polygon would be created.
2019-08-04 16:09:57 -07: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
Hugo Locurcio
6e2c27f84f
Make keyframes easier to select in the animation easier
...
Keyframe SVG icons are now 10×10 instead of 8×8 (except for
Bezier-related icons). This makes them easier to select
since the empty space is part of the clickable area.
Selected keyframes are now also visually larger to make them
easier to distinguish from unselected keyframes.
This closes #27276 .
2019-08-04 20:19:51 +02:00
Tomasz Chabora
b65f6f7944
Accept also right-click event in LineEdit
2019-08-04 15:35:50 +02:00
Ignacio Roldán Etcheverry
7126654eaf
Merge pull request #31068 from neikeq/issue-31065
...
C#: Fix Color.ToHtml()
2019-08-04 08:53:52 +02:00
Ignacio Etcheverry
57fe284fe6
C#: Fix Color.ToHtml()
2019-08-04 05:04:39 +02:00
rzllmr
653039151a
Fix row-column-swap in TileMap palette
...
Due to the TileSet coordinates using x for columns and y for rows, the
columns are assigned to the rows in the TileMap palette and distort the
order. Thus the default sorting algorithm prioritizing x is replaced
with a custom one prioritizing y.
Fixes #24751
2019-08-03 21:32:13 +02:00
Yuri Roubinsky
e14e08cfc5
Merge pull request #31062 from Chaosus/fix_gles2_rendering
...
Fix GLES2 "black" rendering
2019-08-03 21:32:30 +03:00
Yuri Roubinski
393f142495
Fix GLES2 rendering
2019-08-03 21:21:29 +03:00
Yuri Roubinsky
20556e3fd8
Return back spacer for non-expression nodes in visual shader ( #31058 )
...
Return back spacer for non-expression nodes in visual shader
2019-08-03 19:10:12 +03:00
Yuri Roubinski
8a0767d883
Return back spacer for non-expression nodes in visual shader
2019-08-03 18:54:04 +03:00
Aaron Franke
1a06496f45
Some Vector2i usage cleanup
...
Replace casting Vector2 -> Vector2i -> Vector2 with a simple call to .floor(), and some minor fixes.
2019-08-03 01:11:05 -07:00
Hugo Locurcio
20154d3b2a
Fix 3D manipulator the gizmo growing too large on small viewports
...
This closes #27112 . This closes #19116 .
2019-08-03 03:01:32 +02:00
Rémi Verschelde
4d08f72b76
Merge pull request #31022 from Calinou/doc-mention-poolintarray-limits
...
Mention 32-bit integer limit in the PoolIntArray documentation
2019-08-03 00:05:33 +02:00
shaderbeast
1e6a52b215
Mark class_name line as safe in editor
2019-08-02 20:07:54 +02:00