reduz
75688772b3
Fix editor suffixes and degrees conversion
...
* Functions to convert to/from degrees are all gone. Conversion is done by the editor.
* Use PROPERTY_HINT_ANGLE instead of PROPERTY_HINT_RANGE to edit radian angles in degrees.
* Added possibility to add suffixes to range properties, use "min,max[,step][,suffix:<something>]" example "0,100,1,suffix:m"
* In general, can add suffixes for EditorSpinSlider
Not covered by this PR, will have to be addressed by future ones:
* Ability to switch radians/degrees in the inspector for angle properties (if actually wanted).
* Animations previously made will most likely break, need to add a way to make old ones compatible.
* Only added a "px" suffix to 2D position and a "m" one to 3D position, someone needs to go through the rest of the engine and add all remaining suffixes.
* Likely also need to track down usage of EditorSpinSlider outside properties to add suffixes to it too.
2021-06-30 12:38:25 -03:00
Rémi Verschelde
916c37de09
Merge pull request #50000 from reduz/improve-rid-owner-memory-usage
...
Improve RID_Owner memory usage
2021-06-29 17:51:22 +02:00
reduz
64c925cca6
Improve RID_Owner memory usage
...
* Ability to allocate empty objects in RID_Owner, so RID_PtrOwner is not needed in most cases.
* Improves cache usage, as objects are now allocated together
* Should improve performance in 2D rendering
2021-06-29 12:28:08 -03:00
Rémi Verschelde
691c754a6c
Merge pull request #50004 from reduz/fix-non-unoform-scale
...
Fix non uniform scaling normals in 3D objects
2021-06-29 17:24:23 +02:00
Rémi Verschelde
661d7c01b8
Merge pull request #49295 from foxydevloper/fix-focus-filter
...
Fix "Filter Files" shortcut by merging duplicate functions
2021-06-29 17:23:45 +02:00
reduz
d55ebc3a5d
Fix non uniform scaling in 3D objects
...
* Flag was there, but not implemented.
* Fixed issue with base flags not being initialized.
2021-06-29 11:45:59 -03:00
Rémi Verschelde
83b3148b16
Merge pull request #50003 from Calinou/tweak-2d-game-camera-override-tooltips
...
Tweak the 2D game camera override tooltips to match 3D
2021-06-29 16:38:16 +02:00
Hugo Locurcio
bdca0daadc
Tweak the 2D game camera override tooltips to match 3D
2021-06-29 16:18:37 +02:00
Rémi Verschelde
52e3f986ac
Merge pull request #49911 from madmiraal/fix-49878
...
Add GDNative libraries to Android custom Gradle builds
2021-06-29 14:58:23 +02:00
Rémi Verschelde
c3f0b9f972
i18n: Sync translations with Weblate
...
(cherry picked from commit 30bb133e01
)
2021-06-29 14:57:47 +02:00
Rémi Verschelde
7f9346b81b
Merge pull request #49925 from RicardRC/FindFromNop
...
Make use of variable "from" in local_vector find() function.
2021-06-29 14:36:19 +02:00
Rémi Verschelde
76dc811c76
Merge pull request #49470 from levilindsey/master
...
Update File.store_var description to mention which properties of an object are included.
2021-06-29 13:59:17 +02:00
Ricard Rovira
14d5908057
Use unused from in local vector find function.
2021-06-29 13:37:02 +02:00
Rémi Verschelde
90982d60cb
Merge pull request #37181 from jitspoe/master.button_icon_alignment
2021-06-29 13:31:53 +02:00
Rémi Verschelde
dfdde2c598
Merge pull request #49812 from nekomatata/node-path-editor-update
...
NodePath properly updated in the editor in more cases when nodes are moved or renamed
2021-06-29 12:51:38 +02:00
Rémi Verschelde
9996cd2a16
Merge pull request #49636 from LightningAA/add-feedback-button-4.0
...
Add "Suggest a Feature" to the help dialog.
2021-06-29 12:47:17 +02:00
Rémi Verschelde
653f544ca3
Merge pull request #49713 from nekomatata/fix-export-var-override-runtime
...
Fix export var override in PackedScene at runtime
2021-06-29 12:45:43 +02:00
Rémi Verschelde
05336adb86
Merge pull request #49905 from pfertyk/issue-46480-image-compress-crashes-godot
...
Validate image formats, check if resize_to_po2 failed
2021-06-29 12:44:20 +02:00
Rémi Verschelde
9c6d7f840f
Merge pull request #49970 from trollodel/graphnode_fix_port_position
...
Fix GraphNode port position when the control has the Expand flag
2021-06-29 12:41:58 +02:00
Rémi Verschelde
871a338376
Merge pull request #49910 from Faless/js/4.x_canvas_resize
...
[HTML5] Add option to focus canvas on start.
2021-06-29 12:40:25 +02:00
Rémi Verschelde
36d4314f15
Merge pull request #49921 from SirQuartz/patch-7
...
Update `Label.clip_text()` Method Description
2021-06-29 12:39:52 +02:00
jitspoe
e192eb05db
Add alignment options to icons on buttons.
...
They can now be centered and right-aligned.
Fixes #11380 .
2021-06-29 12:31:40 +02:00
Rémi Verschelde
8fb7a9f023
Merge pull request #49719 from LightningAA/rename-node-is-ancestor-of
...
Rename `is_a_parent_of()` to `is_ancestor_of()`
2021-06-29 12:07:25 +02:00
Rémi Verschelde
8597db0ac2
Merge pull request #49980 from EricEzaM/fix-default-log-state
...
EditorLog filter buttons are now enabled/on by default
2021-06-29 12:00:03 +02:00
Rémi Verschelde
a24f494861
Merge pull request #49944 from MisoMosiSpy/visual-script-logic-oper-mismatch
...
Fixes Visual Script node operator mismatch
2021-06-29 11:58:23 +02:00
Rémi Verschelde
76ba2ffef1
Merge pull request #49993 from groud/fix_debbuger_crash
...
Fixes crash in case no column in tree is expanded and has minimum size
2021-06-29 11:52:30 +02:00
Rémi Verschelde
51f9b41afd
Merge pull request #49859 from groud/painting_in_tileset_editor
...
Properties painting in tileset editor
2021-06-29 11:50:36 +02:00
Dipal M Zambare
a0b0f7c4ee
Fixes Visual script nodes operator mismatch issue #49943
2021-06-29 15:01:34 +05:30
Gilles Roudière
c5b65236d8
Fixes crash in case no column in tree is expanded and has minimum size
2021-06-29 11:27:09 +02:00
Gilles Roudière
30a615dd94
Implement painting properties over TileSets
2021-06-29 11:07:46 +02:00
Marcel Admiraal
7b63f0a22d
Add GDNative libraries to Android custom Gradle builds
2021-06-29 09:26:28 +01:00
Rémi Verschelde
45b66e91e7
Merge pull request #49985 from bruvzg/win_sign_temp_file
...
[Windows Export] Use temporary file for osslsigncode signing.
2021-06-29 10:08:55 +02:00
bruvzg
8f7c2ccefd
[Windows Export] Use temporary file for osslsigncode signing.
2021-06-29 10:38:28 +03:00
Eric M
538a50ac19
EditorLog filter buttons are now enabled/on by default
2021-06-29 12:33:05 +10:00
Rémi Verschelde
eb318d3e04
Merge pull request #49966 from Faless/net/4.x_ws_timeout
...
[Net] Add WebSocketServer handshake_timeout property.
2021-06-29 02:00:00 +02:00
Rémi Verschelde
b2e7152180
Merge pull request #49973 from reduz/fix-validation-layers-errors
...
Fix Context Validation Layer Errors
2021-06-29 01:42:05 +02:00
reduz
4d19c052f7
Fix Context Validation Layer Errors
...
* Multisampling was wrongly selected, possibly fixes #49937
* Image semaphore acquisition is now per window, possibly fixes #41614
Please make sure to test the above two issues again, since I can't reproduce either anyway.
2021-06-28 17:43:10 -03:00
Paweł Fertyk
3dae9993ac
Validate image formats, check if resize_to_po2 failed
2021-06-28 21:17:06 +02:00
trollodel
07c3b40aa2
Fix GraphNode port position when the control has the Expand flag
2021-06-28 18:52:13 +02:00
Rémi Verschelde
89f270f4c5
Merge pull request #49917 from groud/tree_disable_scroll
...
Allow disabling scrolling in Tree and implement horizontal scrolling
2021-06-28 18:41:23 +02:00
Rémi Verschelde
51350a951c
Merge pull request #49965 from Faless/net/4.x_fix_request
...
[Net] Fix WebSocketClient path parsing.
2021-06-28 18:38:51 +02:00
Rémi Verschelde
492d741a3e
Merge pull request #49951 from Calinou/standardmaterial3d-height-triplanar-print-warning
...
Print warning in StandardMaterial3D when height and triplanar are active
2021-06-28 18:36:59 +02:00
PouleyKetchoupp
3e4e530523
NodePath properly updated in the editor in more cases
...
Fix more cases of node path needing an update when nodes are renamed or
moved in the editor.
Built-in node properties:
Before, node paths were checked only for script export variables. Now
all properties are checked from the node, which includes built-in node
properties.
Allows proper node path updates for nodes like remote transform, physics
joints, etc.
Arrays and dictionaries:
Node paths nested in array and dictionary properties are now also
updated in the editor.
Also update the documentation to be clear about node path update in the
editor and at runtime.
Co-authored-by: latorril <latorril@gmail.com>
2021-06-28 09:28:29 -07:00
Rémi Verschelde
09254e970a
Merge pull request #49960 from fire/curve-interpolate-crash
...
Make curve interpolate crash less.
2021-06-28 18:24:35 +02:00
Gilles Roudière
d7d32ced5b
Implement Tree's internal minimum width calculation
2021-06-28 15:54:31 +02:00
Fabio Alessandrelli
458437edef
[Net] Add WebSocketServer handshake_timeout property.
...
Allows customization of the maximum time a client is allowed to stay in
the the "pending" state (i.e. awaiting HTTP handshake).
This used to be 1 second by before, the new default is 3 seconds.
2021-06-28 15:53:25 +02:00
Fabio Alessandrelli
d244dda597
[Net] Fix WebSocketClient path parsing.
...
Recent changes to parse_url caused the client to make invalid HTTP
requests if no path was specified.
2021-06-28 15:09:58 +02:00
Rémi Verschelde
ce7f599208
Merge pull request #49690 from Chaosus/vs_fix_input_connection
...
Fix auto-connection from output node to input (VisualShaders)
2021-06-28 14:53:23 +02:00
Hugo Locurcio
8fc96fc51a
Print warning in StandardMaterial3D when height and triplanar are active
...
Using both height mapping and triplanar mapping isn't supported.
2021-06-28 14:46:20 +02:00
Yuri Roubinsky
46cd36f009
Fix auto-connection from output node to input (VisualShaders)
2021-06-28 14:38:08 +03:00