Markus Sauermann
3b14f0334c
Remove redundant Variant-types initializations
2022-11-14 19:35:19 +01:00
Rémi Verschelde
d639bb87a7
Merge pull request #68272 from Sauermann/fix-windowfocus-on-resize
...
Fix Windowfocus on resizing
2022-11-14 16:38:00 +01:00
Rémi Verschelde
40163b9b9f
Merge pull request #68019 from Sauermann/fix-physics-mouseover-drop
...
Drop physics mouseover as soon as the mouse moves over a Control
2022-11-14 16:37:54 +01:00
Fabio Alessandrelli
67265d14f7
[MP] Move engine and editor profilers to a plugin.
...
Also refactor the editor plugin out of the ReplicationEditor.
2022-11-14 15:09:00 +01:00
Markus Sauermann
5cf6ebce63
Drop physics mouseover as soon as the mouse moves over a Control
2022-11-14 12:07:26 +01:00
Rémi Verschelde
33e65f2754
Merge pull request #68582 from bruvzg/inv_gd3_bmp_font
...
Add a special case for importing bitmap fonts designed for Godot 3.
2022-11-14 11:12:17 +01:00
Rémi Verschelde
5b3a03bf5c
Merge pull request #68448 from bruvzg/font_imp_tr
...
[Font] Add an import option to pre-render all glyphs required for the translation.
2022-11-14 11:12:01 +01:00
Bastiaan Olij
7658dc6e7e
Add optional UV2 logic for lightmapping to primitive shapes
2022-11-13 19:28:10 +11:00
bruvzg
01b4e53e80
Add a special case for importing bitmap fonts designed for Godot 3.
2022-11-13 00:32:30 +02:00
Yuri Rubinsky
6521eccaae
Merge pull request #68477 from dzil123/visual_shader_ufunc_input_fix
...
Fixes https://github.com/godotengine/godot/issues/68463
2022-11-12 06:50:35 +03:00
Rémi Verschelde
340fb33e54
Merge pull request #68412 from bruvzg/le_caret_pl
...
[Line Edit] Ignore placeholder text when drawing caret.
2022-11-11 16:49:47 +01:00
Rémi Verschelde
5c7af7f391
Merge pull request #68418 from Sauermann/fix-escape-dnd
...
Allow canceling Drag and Drop with the Escape-Key
2022-11-11 16:49:09 +01:00
Rémi Verschelde
a2ad59fb8e
Merge pull request #68513 from Chaosus/fix_shader_param
...
Fix `Shader::has_parameter` to return a correct value
2022-11-11 10:54:50 +01:00
Rémi Verschelde
bbe8ff24f4
Merge pull request #68358 from Sauermann/fix-pink-512-viewport
...
Fix SubViewport with default size being pink
2022-11-11 10:44:24 +01:00
Rémi Verschelde
3263970cf6
Merge pull request #68428 from nikitalita/fix-mesh-convert
...
Fix deprecated mesh conversion
2022-11-11 10:44:10 +01:00
Yuri Rubinsky
9d4816fd4a
Fix Shader::has_parameter
to return a correct value
2022-11-11 11:30:34 +03:00
nikitalita
5683aa2498
fix old mesh conversion offsets
2022-11-10 22:55:01 +00:00
dzil123
445062e43b
Visual Shader UVFunc keep existing input value on function change
2022-11-10 04:31:05 -08:00
bruvzg
35528b800c
[Font] Add an import option to pre-render all glyphs required for the translation.
2022-11-10 10:43:15 +02:00
Yuri Rubinsky
dca5cb8e40
Merge pull request #68413 from Chaosus/fix_instance_uniforms
2022-11-09 22:55:41 +03:00
Yuri Rubinsky
c07d13182c
Some fixes for instance shader parameters
2022-11-09 21:20:11 +03:00
Markus Sauermann
e8af3e7e8d
Fix crash from impossible Object::cast_to
...
A Vector<>-variant can't be used in an Object::cast_to, because
Vector doesn't inherit from Object and this cast always returns a nullptr.
This patch replaces the Object::cast_to and accesses the contained
Vector directly.
2022-11-08 22:34:01 +01:00
Markus Sauermann
226044b944
Allow canceling Drag and Drop with the Escape-Key
...
This patch implements the functionality to cancel Drag and Drop
by using the escape key or more general, the ui_cancel action.
Since this would be the third location, where the finalization of
Drag and Drop would have to be implemented, that functionality was
put into the private function _perform_drop.
Simplified gui.drag_data.get_type() != Variant::NIL to gui.dragging
because they are equivalent.
2022-11-08 19:10:16 +01:00
bruvzg
c624b1eeac
[Line Edit] Ignore placeholder text when drawing caret.
2022-11-08 15:15:13 +02:00
kobewi
d9f066d5fa
Remove duplicate project settings definitions
2022-11-08 01:29:39 +01:00
Rémi Verschelde
e2b39bfdc4
Merge pull request #68346 from Calinou/particles-rename-trail-length-property
...
Rename GPUParticles2D/3D's `trail_length_secs` to `trail_lifetime`
2022-11-07 15:05:55 +01:00
Hugo Locurcio
ab7a807f2b
Rename GPUParticles2D/3D's trail_length_secs
to trail_lifetime
...
The property already has a "seconds" suffix in the inspector.
The "lifetime" term makes it more obvious that the property is
specified as time, not a distance in units.
The property hint now allows manually entering values greater than
10 seconds.
The internal rendering value's default now matches the particles
nodes' default.
2022-11-07 13:37:40 +01:00
Rémi Verschelde
a1bc636098
Merge pull request #68337 from alfredbaudisch/multi-caret-selection-fix
...
Fixes mouse click deselect for multi and single carets
2022-11-07 10:20:45 +01:00
Rémi Verschelde
2c8498c8a6
Merge pull request #68351 from Sauermann/fix-code-simplifications
...
Code simplifications
2022-11-07 10:01:37 +01:00
Markus Sauermann
7445ab95fc
Fix SubViewport with default size being pink
...
A SubViewport with default-size doesn't display its content, but shows
pink color, until it is resized.
This patch makes sure, that the size gets set during initialization.
2022-11-07 09:23:32 +01:00
Rémi Verschelde
c4f3b94abf
Merge pull request #68321 from BastiaanOlij/xrorigin_start_pos
...
Update XRServer with starting position of (new) current XROrigin3D
2022-11-07 08:45:24 +01:00
Markus Sauermann
18978881fe
Code simplifications
...
CanvasItemEditor:
- p_result == ADD_MOVE is always true in this switch-clause
- both parts of the if-else-clause do the same thing and simplified an affine_inverse call
ControlEditorToolbar:
- private function ControlEditorToolbar::_anchor_to_position is used nowhere. Looks like
copy and paste from CanvasItemEditor::_anchor_to_position
ScrollContainer:
- screen_is_touchscreen is always true, because otherwise the function already returned
TextLine:
- both parts of the if-else-clause do the same thing and simplified return statement
2022-11-07 01:21:25 +01:00
Alfred Reinold Baudisch
0d2953074b
Mouse click deselect removes secondary carets and puts primary caret under mouse position
...
Fixes and closes #67993 .
2022-11-06 20:03:06 +01:00
Rémi Verschelde
cf1e6bb6fc
Merge pull request #68282 from alfredbaudisch/backspace-multi-care
...
Correctly deletes multi-caret selection with backspace
2022-11-06 16:10:32 +01:00
Bastiaan Olij
23e0afec1d
Update XRServer with starting position of (new) current XROrigin3D
2022-11-06 22:19:44 +11:00
Alfred Reinold Baudisch
7127e57bf8
Pass caret index when deleting selection with backspace
...
Fixes and closes #67992
2022-11-05 08:55:18 +01:00
Markus Sauermann
65647e9c7d
Fix Windowfocus on resizing
...
When resizing a non-focused window, the previously focused
Window got resized.
This patch grabs focus for the actually resized window, before
starting with the resizing.
2022-11-04 22:24:00 +01:00
kobewi
1778301cd0
Add call_deferred() method to Callable
2022-11-04 17:24:34 +01:00
Rémi Verschelde
4e47324b3f
Merge pull request #68097 from KoBeWi/no_signal 🔕
...
Add `set_value_no_signal()` to Range
2022-11-04 10:48:47 +01:00
Rémi Verschelde
d48ba545ef
Merge pull request #67741 from cridenour/modular-color-picker
...
Modularize the Color Picker via properties and new picker mode.
2022-11-04 10:48:37 +01:00
Rémi Verschelde
21675625a0
Merge pull request #68228 from pasi1991/fix_typo_in_visual_instance_3d
...
Fix typo in method (set_transparecy) of visual_instance_3d
2022-11-04 10:06:27 +01:00
Rémi Verschelde
05ce0e3de1
Merge pull request #68222 from groud/fix_corner_terrain_painting
...
Fix terrain painting in corner-only matching mode
2022-11-04 10:05:58 +01:00
Chris Ridenour
286e7da162
Modularize the Color Picker via properties.
2022-11-04 00:08:46 -04:00
Patrick Siemsen
0b480c7d99
Fix typo in method of visual_instance_3d
2022-11-03 19:42:14 +01:00
Gilles Roudière
ffacb31734
Fix terrain painting in corner-only matching mode
2022-11-03 19:08:43 +01:00
Hugo Locurcio
a19e389f4f
Hide Antialiasing import option on DynamicFonts with MSDF enabled
...
Antialiasing cannot be adjusted on fonts rendered with MSDF.
Internally, Godot always uses grayscale antialiasing for those fonts.
This also tweaks property hints for consistency, and renames
uses of "sub-pixel" to the more commonly used "subpixel".
2022-11-03 18:40:44 +01:00
Rémi Verschelde
3eaf49765b
Merge pull request #68192 from aaronfranke/unify-node3d-euler
...
Unify Node3D RotationOrder with global EulerOrder
2022-11-03 12:07:42 +01:00
Rémi Verschelde
3cde6c0432
Merge pull request #67540 from KoBeWi/hue_hue_hue
...
Add a separate hue gradient for OKHSL mode
2022-11-03 11:51:45 +01:00
Aaron Franke
9225eb461e
Unify Node3D RotationOrder with global EulerOrder
2022-11-02 17:46:03 -05:00
Rémi Verschelde
08d56ac2f1
Merge pull request #66747 from aaronfranke/move-euler-order
...
Move EulerOrder enum to math_defs.h and global scope
2022-11-02 22:37:12 +01:00