Rémi Verschelde
4a1f2dcb74
Merge pull request #47531 from fire/update-skeleton-display
...
Update Skeleton3D inspector Bone Transforms
2021-04-12 00:19:23 +02:00
kobewi
72014a7a2e
Expose edit_node() for editor plugins
2021-04-12 00:13:08 +02:00
Rémi Verschelde
d90e6cc4da
Merge pull request #47811 from HaSa1002/fix-get-buffer
...
Fix `_File::get_buffer` length always set to p_length
2021-04-12 00:04:02 +02:00
Johannes
33d6eccdec
Fix _File::get_buffer
length always set to p_length
2021-04-11 23:11:13 +02:00
Rémi Verschelde
712bb8cbb6
Merge pull request #47175 from YeldhamDev/help_search_early_match
...
Select non-perfect matches if necessary in the Search Help dialog
2021-04-11 22:27:29 +02:00
Julien Nguyen
9936abb3d5
Fix type argument in is_builtin which was treated as an address
2021-04-11 20:34:48 +02:00
kleonc
dd3cc9b817
Fix docs description for CapsuleMesh::mid_height
2021-04-11 18:19:12 +02:00
Rémi Verschelde
43f89e7c2c
Merge pull request #47774 from DanielKriz/bugfix/CommandQueue
...
Fix includes in test_command_queue.h
2021-04-11 10:29:31 +02:00
Rémi Verschelde
4cc211a830
Merge pull request #47787 from timothyqiu/csg-selection
...
Fix 3D selection box size for Node3D
2021-04-11 09:54:53 +02:00
Haoyu Qiu
c8a40c8005
Fix 3D selection box size for Node3D
2021-04-11 15:15:52 +08:00
totlmstr
634ed3e128
Add option modules_enabled_by_default
2021-04-10 14:17:20 -07:00
Fabio Alessandrelli
d540875bc0
Merge pull request #37966 from pkowal1982/cleanup-profiler
...
Clean up profiler
2021-04-10 21:27:52 +02:00
Daniel Kříž
b9ccdd2bbd
Fix includes in test_command_queue.h
2021-04-10 20:09:15 +02:00
Rémi Verschelde
c1b4755aa1
Merge pull request #47761 from reduz/packedbytearray-marshalling
...
Add marshalling to PackedByteArray
2021-04-10 19:17:31 +02:00
Fabio Alessandrelli
6138396e00
Merge pull request #47512 from DanielKriz/bugfix/uri_encode
...
fix wrong encoding format in uri_encode
2021-04-10 18:58:40 +02:00
reduz
e67c63108b
Add marshalling to PackedByteArray
...
-Decode/Encode functions for u8,s8,u16,s16,u32,s32,u64,s64,half,float,double,variant
-Improved binder template to allow this
Given in Godot 4.0 PackedByteArray is passed as reference, it is now possible to have these functions there, which makes the most sense.
2021-04-10 13:09:22 -03:00
Daniel Kříž
13c999d9d7
fix wrong encoding in uri_encode
2021-04-10 17:54:18 +02:00
Rémi Verschelde
8b6e3d6375
Merge pull request #46340 from gongpha/various-color-picker
...
Add Various ColorPicker shapes
2021-04-10 13:29:50 +02:00
Rémi Verschelde
d3c492b7d4
Merge pull request #47596 from EricEzaM/PR/fix-editor-settings-shortcuts-wrong-button-action
...
Fixed Editor Shortcuts revert/edit/clear buttons performing the wrong action
2021-04-10 11:04:50 +02:00
Rémi Verschelde
81fc9fa1dc
Merge pull request #47760 from m4gr3d/update_activity_result_behavior_master
...
Fix issue causing the response callback to be invoked with the invalid `requestCode`
2021-04-09 23:02:51 +02:00
Fredia Huya-Kouadio
a21457155b
Fix issue causing the response callback to be invoked with the invalid requestCode
and deprecate support for forwarding callbacks from Godot's parent activity.
2021-04-09 13:42:49 -07:00
Rémi Verschelde
2295d3eba6
Merge pull request #47750 from aaronfranke/zoom-message
...
Show a message when trying to zoom farther than the limit
2021-04-09 18:16:08 +02:00
Aaron Franke
b8f66d58b6
Show a message when trying to zoom farther than the limit
2021-04-09 11:21:09 -04:00
Rémi Verschelde
6297a53db4
Merge pull request #47754 from SonnyBonds/docfix
...
Add missing color argument in forward_canvas_draw_over_viewport example.
2021-04-09 17:15:19 +02:00
Anders Stenberg
034c48dbed
Add missing color argument in forward_canvas_draw_over_viewport example.
2021-04-09 16:49:04 +02:00
Rémi Verschelde
ba1adc384c
Merge pull request #47735 from Calinou/improve-cli-print-fps-display
...
Improve command line `--print-fps` display
2021-04-09 15:41:34 +02:00
Rémi Verschelde
8ca8868ef9
Merge pull request #47733 from Calinou/editor-tweak-frame-time-display
...
Tweak frame time display in the editor
2021-04-09 15:37:02 +02:00
Danil Alexeev
e63976d4b2
Fix Color::get_{r,g,b,a}8
...
Closes #47022 .
2021-04-09 16:11:02 +03:00
Rémi Verschelde
64c5b5175b
Merge pull request #47696 from BastiaanOlij/remove_low_end
...
Remove low_end option from renderer
2021-04-09 15:01:34 +02:00
Hugo Locurcio
157d8e4d36
Improve command line --print-fps
display
...
- Display the frame time in addition to FPS.
- Frame time is a more objective measurement in comparison to FPS,
but FPS is more familiar to people less acquainted with profiling.
- Rename "Game" to "Project" for the project FPS printing line.
2021-04-09 14:59:10 +02:00
Hugo Locurcio
88518d28ba
Tweak frame time display in the editor
...
- Pad decimal values to avoid layout shifts when the frame time
changes.
- Cap values to 0.01 milliseconds to avoid division by zero
in the FPS counter.
2021-04-09 14:58:24 +02:00
Bastiaan Olij
71c5d73b5e
Remove low_end option from renderer, being replaced by separate implementation
2021-04-09 22:04:56 +10:00
Rémi Verschelde
e8f3fa6b87
Merge pull request #47741 from timothyqiu/macos-3d-rotation
...
Fixes Node3D rotation in select mode on macOS
2021-04-09 10:26:19 +02:00
Rémi Verschelde
3aadbec23a
Merge pull request #47727 from vnen/gdscript-less-addressing
...
Reduce number of addressing modes in GDScript VM
2021-04-09 09:44:53 +02:00
Haoyu Qiu
879a290ed9
Fixes Node3D rotation in select mode on macOS
2021-04-09 12:31:26 +08:00
Rémi Verschelde
cba3b024b5
Merge pull request #43746 from CaptainProton42/master
...
Vulkan: Implement triplanar mapping in world space
2021-04-08 21:26:08 +02:00
George Marques
cf4079cb5f
Reduce number of addressing modes in GDScript VM
...
There's now only 3 addressing modes: stack, constant, and member.
Self, class, and nil are now present respectively in the first 3 stack
slots. Global and class constants are moved to local constants when
compiling. Named globals is only present on editor to use on tool
singletons, so its use now emits a new instruction to copy the global to
the stack.
This allow us to further optimize the VM later by embedding the
addressing modes in the instructions themselves, which is better done
with less permutations.
2021-04-08 14:29:55 -03:00
ray90514
7501c7f48a
Fix LineEdit undo behaves strangely
2021-04-08 23:47:54 +08:00
Rémi Verschelde
35066f39ff
Merge pull request #47697 from gongpha/color-picker-bars-fix-raw-mode
...
Fix ColorPicker's RGB bars are show in RAW mode and other
2021-04-08 16:32:38 +02:00
George Marques
b25ab27d4a
Set resource path earlier on ProjectSettings setup
...
Since loading the config might use the resource path, it needs to be
set before that happens.
2021-04-08 09:35:06 -03:00
George Marques
c165814d36
Set up PackedData when setting up tests
...
Some tests need functions of ProjectSettings that rely on this being
available.
2021-04-08 09:35:06 -03:00
George Marques
5f77f38573
Add runner for GDScript testing
...
This is meant for testing the GDScript implementation, not for testing
user scripts nor testing the engine using scripts.
Tests consists in a GDScript file and a .out file with the expected
output. The .out file format is: expected status (based on the enum
GDScriptTest::TestStatus) on the first line, followed by either an error
message or the resulting output. Warnings are added after the first
line, before the output (or compiler errors) if the parser pass without
any error.
The test script must have a function called `test()` which takes no
argument. Such function will be called by the test runner. The test
should not have any dependency unless it's part of the test too. Global
classes (using `class_name`) are registered before the runner starts, so
those should work if needed.
Use the command `godot --gdscript-generate-tests
godot-source/modules/gdscript/tests/scripts` to update the .out files
with the current output (make sure the output are the expected values
before committing).
The tests themselves are part of the doctest suite so those can be
executed with `godot --test`.
Co-authored-by: Andrii Doroshenko (Xrayez) <xrayez@gmail.com>
2021-04-08 09:34:59 -03:00
Rémi Verschelde
084b882c0a
Merge pull request #47647 from akien-mga/doctool-default-cwd
...
Main: Default `--doctool` path to '.' if none given
2021-04-08 14:12:06 +02:00
Rémi Verschelde
0283bc8fd5
Merge pull request #44456 from univeous/allow_input_echo_in_ui_focus
...
allow input echo when changing ui focus
2021-04-08 13:28:43 +02:00
Rémi Verschelde
fe6f226d26
Merge pull request #47717 from lyuma/fbx_empty_crash
...
Fix crash on importing empty .fbx file
2021-04-08 13:02:05 +02:00
Lyuma
7d8e981262
Fix crash on importing empty .fbx file
2021-04-08 02:50:01 -07:00
Fabio Alessandrelli
f7ae5442a6
Merge pull request #47708 from Calinou/doc-websocketclient-secure
...
Document secure wss:// caveats for WebSocketClient
2021-04-08 00:47:04 +02:00
Rémi Verschelde
40dff7117a
Merge pull request #47648 from Blackiris/fix-gdscript-editor-hangs
...
Fix infinite loop when guessing argument type from parent class
2021-04-07 23:19:29 +02:00
Rémi Verschelde
73a1253095
Merge pull request #47672 from Blackiris/fix-setter-stackoverflow
...
Fix stack overflow in setter
2021-04-07 23:17:30 +02:00
Hugo Locurcio
a56e37545b
Document secure wss:// caveats for WebSocketClient
...
See https://github.com/godotengine/godot/issues/37739 .
2021-04-07 21:32:17 +02:00