Rémi Verschelde
3d6f991a17
Revert "Allow tab key to be used for shortcuts"
...
This reverts commit cafb888361
.
Fixes #34405 .
Reopens #8799 , #24064 .
2019-12-18 08:30:39 +01:00
Tomasz Chabora
77a8657633
Scroll ScrollContainer to focused children
2019-12-11 14:29:36 +01:00
Rafał Mikrut
ed1c4bc77d
Removed unused variables, add some constants numbers
2019-12-10 05:13:02 +01:00
PouleyKetchoupp
dc13750189
Viewport environment is updated properly when set to own world
...
When own_world property is set, the viewport stores a unique resource for the world. With this change it keeps being updated from changes made to the world property instead of storing a default empty world with environment settings that can't be modified.
Fixes #23412
2019-11-29 11:50:10 +01:00
x2f
f085110b20
Added more details in Timer.start() error message.
2019-11-27 14:11:15 -05:00
Rémi Verschelde
967cc2c014
Merge pull request #33862 from Faless/net/http_request_chunk_size
...
Add download_chunk_size property to HTTPRequest.
2019-11-25 14:29:59 +01:00
Fabio Alessandrelli
ed19b4076e
Add download_chunk_size property to HTTPRequest.
...
This allows setting the `read_chunk_size` of the internal HTTPClient.
This is important to reduce the allocation overhead and number of file
writes when downloading large files, allowing for better download speed.
2019-11-24 19:32:20 +01:00
Martin Capitanio
a7df198c94
Setting the node process priority should not trigger an error
...
Fixes #33749
This function can be called outside the scene tree.
2019-11-21 18:08:52 +01:00
volzhs
cdae65c4a6
Rename External MSAA to AndroidVR MSAA on Viewport property
...
following up f392c4ea7a
2019-11-20 03:02:11 +09:00
Rémi Verschelde
cc025fc8e7
Merge pull request #33663 from Calinou/add-node-get-process-priority
...
Implement `Node::get_process_priority()` and its associated property
2019-11-17 21:43:28 +01:00
Hugo Locurcio
ae76c62601
Implement `Node::get_process_priority()` and its associated property
...
This closes #33660 .
2019-11-17 17:48:50 +01:00
Holger Dammertz
1b9c2ec92e
Rename External MSAA to AndroidVR MSAA
...
A new external MSAA setting was introduced in https://github.com/godotengine/godot/pull/33518
that fixed issues on GLES2 and Oculus Mobile VR. To avoid misunderstanding it was suggested
by @BastiaanOlij and discussed on discord to rename it to AndroidVR.
2019-11-16 15:36:43 +01:00
Rémi Verschelde
4b8feff594
Merge pull request #33518 from BastiaanOlij/msaa_ext_modes
...
Add MSAA mode for Quest
2019-11-11 11:46:50 +01:00
Bastiaan Olij
4e2343160c
Add special external MSAA modes for GLES2 Rift S/Quest and OpenXR optimisation
2019-11-11 21:02:06 +11:00
Rémi Verschelde
8ffc56c3ca
Merge pull request #29579 from mrcdk/fix_29575
...
Drop the physics mouseover whenever a input has been handled.
2019-11-11 09:37:27 +01:00
Rémi Verschelde
621dc7022f
Merge pull request #27742 from rxlecky/camera-replication
...
Game camera override
2019-11-08 10:02:18 +01:00
Rémi Verschelde
2d3fcd0ff0
Merge pull request #30721 from NilsIrl/tab_key
...
Allow tab key to be used for shortcuts
2019-11-07 18:32:54 +01:00
Erik
8b0546d93b
Implement game camera override
...
Implemented uniform API in Viewport class to override 2D and/or
3D camera.
Added buttons in 2D and 3D editor viewport toolbars that override
the running game camera transform with the editor viewport camera
transform. Implemented via remote debugger protocol and camera
override API.
Removed LiveEditFuncs function pointers from ScriptDebugger class.
Since the debugger got access to the SceneTree instance (if one
exists), there is no need to store the function pointers. The live
edit functions in SceneTree are used directly instead. Also removed
the static version of live edit functions in SceneTree for the same
reason. This reduced the SceneTree -> Debugger coupling too since
the function pointers don't need to be set from SceneTree anymore.
Moved script_debugger_remote.h/cpp from 'core/' to 'scene/debugger/'.
This is because the remote debugger is now using SceneTree directly
and 'core/' classes should not depend on 'scene/' classes.
2019-10-23 02:51:32 +01:00
PouleyKetchoupp
e3d4b96ba7
Fixed crashes when renaming a state in AnimationNodeStateMachineEditor
...
Recursive calls to Control::_modal_stack_remove could cause a crash because of the list element not being invalidated while being erased from the list.
It happens in the state machine case by hiding a line edit control when it loses focus.
Fixes #23808
2019-10-22 16:28:11 +02:00
Rémi Verschelde
2906cef290
Merge pull request #32922 from nekomatata/fix-scene-timer-yield-leak
...
Fixed leak on exit when using yield with SceneTreeTimer
2019-10-22 14:17:58 +02:00
Rémi Verschelde
3aa5b54330
Merge pull request #32889 from nekomatata/node-update-config-warning
...
Expose Node::update_configuration_warning() to scripts
2019-10-22 12:42:09 +02:00
PouleyKetchoupp
1a9801f700
Fixed leak on exit when using yield with SceneTreeTimer
...
Use case:
yield(get_tree().create_timer(2), "timeout")
Some resources were never released because the SceneTreeTimer was keeping a reference to GDScriptFunctionState in its signal connections, while GDScriptFunctionState was holding a reference to the SceneTreeTimer object. Cleaning all signal connections on game exit fixes the issue.
Fixes #29946
2019-10-19 18:45:17 +02:00
PouleyKetchoupp
139c0a4afe
Expose Node::update_configuration_warning() to scripts
...
This method can be used to generate custom node warnings by script.
Node::_get_configuration_warning was already exposed to generate custom warnings, but it wasn't fully usable without being able to notify the scene tree when the warning needs to appear or change.
2019-10-17 12:20:35 +02:00
qarmin
616ab4fac2
Small fixes to redundand code, copy paste bugs
2019-10-14 11:40:55 +02:00
Michael Alexsander
82863b32de
Make tooltips have the same scale as their Controls
2019-10-05 02:04:40 -03:00
Rémi Verschelde
7e3dcf54ea
Merge pull request #30919 from nekomatata/timer-update-transform-fix
...
Fix GPU particle transform delay when created on SceneTree timer timeout
2019-10-01 06:54:09 +02:00
Nils ANDRÉ-CHANG
0024dd7bb5
Merge branch 'master' into tab_key
2019-09-26 20:36:12 +01:00
Rémi Verschelde
351c45a461
Merge pull request #32047 from codecustard/fix_scrollwheel_triggering_focus_change
...
Fix scrollwheel triggering focus change
2019-09-25 15:23:47 +02:00
Rémi Verschelde
dec10dd776
Merge pull request #32051 from qarmin/some_error_explanation
...
Added some obvious errors explanations
2019-09-25 11:51:54 +02:00
qarmin
17732fe698
Added some obvious errors explanations
2019-09-25 10:28:50 +02:00
fhuya
a7712cc9e4
Add new events and accompanying logic to notify when the app is paused and resumed on Android devices.
2019-09-19 13:29:49 -07:00
Emmanuel Barroga
b8007b3947
Fix scrollwheel triggering focus change
...
Clicking or using the scrollwheel outside of the focused control triggers a focus change. This makes sense for mouse clicks, but scrollwheeling outside the focuses control does not. This PR ignores scrollwheeling outside of the focused control.
2019-09-08 18:13:44 -07:00
Fabio Alessandrelli
768d637a1b
Merge pull request #31870 from JFonS/add_network_profiler
...
Add network profiler
2019-09-05 16:34:36 +02:00
jfons
8244f535cd
Add network profiler
2019-09-05 09:48:36 +02:00
Rémi Verschelde
750f8d4926
Merge pull request #31844 from 2shady4u/TweenInSceneTree
...
Timer and Tween check if they are in SceneTree when starting
2019-09-03 18:35:20 +02:00
shaderbeast
5e337b31eb
Added is_inside_tree() check in both Timer and Tween
...
Tween now throws error and doesnt even execute.
2019-09-03 13:26:41 +02:00
Rémi Verschelde
4dfea5fc9c
Merge pull request #31389 from Calinou/add-node-comments
...
Add an `editor_description` property to Node for documentation purposes
2019-09-03 12:55:22 +02:00
Rémi Verschelde
a1fe20a57e
Merge pull request #31880 from nekomatata/joystick-ui-navigation
...
Fixed UI navigation using joy axis inputs
2019-09-03 12:02:18 +02:00
Tomasz Chabora
892318f5c7
Add autocomplete support for change_scene()
2019-09-02 19:07:02 +02:00
PouleyKetchoupp
01c9ad1cdf
Fixed UI navigation using joy axis inputs
...
Fixes #31879
2019-09-02 04:36:58 +02:00
merumelu
5c7c7dbcb5
HTTPRequest: include faulty URLs in error texts
2019-08-31 16:57:46 +02:00
bruvzg
db6d4352ea
[macOS] Add methods to modify global and dock menus. Add ability to open multiple editor/project manager instances, recent/favourite project list to project manager dock menu and opened scene list to editor dock menu.
2019-08-26 16:45:49 +03:00
Hugo Locurcio
9eb10f1e4a
Add an `editor_description` property to Node for documentation purposes
...
It is implemented using editor-only metadata, in a way similar to
edit locking or Position2D gizmo extents.
This closes #2082 .
2019-08-23 15:53:07 +02:00
Hugo Locurcio
c62302a432
Improve the scene tree signals/groups tooltip
...
The tooltip now displays the number of connections and groups
that are assigned to the hovered node.
2019-08-17 14:20:16 +02:00
IAmActuallyCthulhu
82b9557803
Remove redundant author doc comments
2019-08-12 04:26:38 -05:00
Tomasz Chabora
af5e0fff66
Remove ERR_EXPLAIN from scene/* code
2019-08-09 13:54:52 +02:00
Rémi Verschelde
4d7439adaa
Merge pull request #31185 from mitchcurtis/get_path
...
Improve error message in Node::get_path()
2019-08-08 14:05:49 +02:00
Rémi Verschelde
f0ad034a1d
Merge pull request #31182 from mitchcurtis/remove_child
...
Improve error message in Node::remove_child()
2019-08-08 11:20:50 +02:00
Mitch Curtis
ae4a382dd2
Improve error message in Node::remove_child()
2019-08-08 09:38:32 +02:00
Mitch Curtis
c332eab864
Improve error message in Node::get_path()
2019-08-07 21:16:54 +02:00
Rémi Verschelde
05d58a4e6a
Merge pull request #31122 from Muller-Castro/enhancement
...
Unnecessary reassignments
2019-08-07 15:23:38 +02:00
Rémi Verschelde
ba541bceca
Merge pull request #31077 from qarmin/coverity_bugs
...
Change some code proposed by Coverity and Cppcheck
2019-08-07 13:49:33 +02:00
qarmin
e0b5b21863
Add some code changes/fixes proposed by Coverity and Clang Tidy
2019-08-07 12:54:30 +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
dcd551bf78
Remove Editor dependency from SceneTree
2019-08-05 19:46:23 +02:00
PouleyKetchoupp
c6b82f108a
Update transforms after timers update to make sure changes are made before render
...
Fixes #29952
2019-07-29 12:44:16 +02:00
qarmin
aab8da25ad
Fix some code found by Coverity Scan and PVS Studio
2019-07-23 09:14:31 +02:00
Nils ANDRÉ-CHANG
cafb888361
Allow tab key to be used for shortcuts
2019-07-20 22:32:49 +01:00
Rémi Verschelde
d15cf7b672
Merge pull request #30576 from qarmin/lgtm_coverage
...
Changed some code reported by LGTM and Coverity
2019-07-20 12:00:13 +02:00
qarmin
6cbaf7662f
Changed some code showed in LGTM and Coverage
2019-07-20 08:09:57 +02:00
Rémi Verschelde
21a2cd1a04
Merge pull request #23270 from silvanocerza/remote_scene_tree_filter
...
Implemented remote scene tree filtering
2019-07-19 15:38:07 +02:00
Rémi Verschelde
7a643acb1f
Merge pull request #30517 from kawa-yoiko/modal-freeze
...
Fix multiple popup freezing
2019-07-12 10:18:02 +02:00
Rémi Verschelde
111154a4a5
Merge pull request #30498 from bojidar-bg/30495-cannot-insert-key
...
Fix inability to insert keys via Insert Key context menu
2019-07-11 19:36:33 +02:00
Shiqing
c16e764bb2
Fix #29478 multiple modals possibly freeze
2019-07-11 17:40:42 +08:00
Bojidar Marinov
8ecbb6a20d
Fix inability to insert keys via Insert Key context menu
...
Fixes #30495
2019-07-10 21:03:04 +03:00
Rémi Verschelde
34d7484039
Merge pull request #30455 from qarmin/const_reference
...
Pass by reference to const
2019-07-10 15:43:15 +02:00
Rémi Verschelde
670e88c749
Merge pull request #30462 from sparkart/master
...
Fix issue with displaying empty tooltip hint
2019-07-10 13:33:30 +02:00
qarmin
01cc7a996b
Use reference to constant in functions
2019-07-10 11:54:12 +02:00
Emmanuel Barroga
1eb9abd4c5
Fix issue with displaying empty tooltip hint
...
Closes #30448
2019-07-09 07:01:38 -07:00
Fabio Alessandrelli
7f80c1dca8
Merge pull request #30315 from zaksnet/httprequest-add-timeout
...
Add optional timeout to HTTPRequest
2019-07-09 14:50:12 +02:00
Zak
5fe5c4e8f1
Adds timeout property for httprequest
2019-07-09 12:30:22 +03:00
Michael Alexsander Silva Dias
8255b88d11
Make 'size_override_stretch' a property in 'Viewport'
2019-07-05 22:57:03 -03:00
Bojidar Marinov
f7dad789e9
Fix various memory leaks and errors
2019-07-02 17:23:54 +03:00
Rémi Verschelde
6b30f284a0
Merge pull request #29980 from Dentrax/directed-by-qarmin
...
Fix some editor crashes
2019-07-01 14:59:29 +02:00
Furkan Türkal
7d8d337b2c
fix some crashes
2019-07-01 14:28:29 +03:00
Fabio Alessandrelli
2eac1a64f7
Fix HTTPRequest status checks.
...
HTTPRequest used to have its own `status` variable but it would never be
updated since the status of the client would be used instead.
This caused potential crashes in some edge cases.
The `status` variable is now removed, and the client status is used in
checks instead.
2019-07-01 09:15:35 +02:00
Bojidar Marinov
0c4c36d823
Add default values to the editor help, docs, and generated RST
...
Also, make spacing of "=" in the editor help a bit more consistent.
Closes #16086
2019-06-27 18:29:35 +03:00
Rémi Verschelde
eaaff9da31
Merge pull request #29941 from qarmin/redundant_code_and_others
...
Remove redundant code, possible NULL pointers and others
2019-06-27 01:05:18 +02:00
Rémi Verschelde
6e9272eea8
Node: Fix logic of has/get_node_and_resource and document it
...
Also document NodePath.
2019-06-26 15:46:32 +02:00
qarmin
4e5310cc60
Some code changed with Clang-Tidy
2019-06-26 15:08:25 +02:00
Rémi Verschelde
5c66771e3e
Merge pull request #29283 from qarmin/fix_some_always_same_values
...
Remove always true/false values
2019-06-20 21:10:10 +02:00
qarmin
072e40368e
Fix always true/false values
2019-06-20 16:59:48 +02:00
JohnJLight
38d3bfe971
Made use of semicolons more consitent, fixed formatting
2019-06-19 15:24:31 +02:00
Rémi Verschelde
6d16f2f053
Fix error macro calls not ending with semicolon
...
It's not necessary, but the vast majority of calls of error macros
do have an ending semicolon, so it's best to be consistent.
Most WARN_DEPRECATED calls did *not* have a semicolon, but there's
no reason for them to be treated differently.
2019-06-11 14:49:34 +02:00
MrCdK
1810a901d2
Drop the physics mouseover whenever a input has been handled.
...
Fixes #29575
2019-06-07 17:21:12 +02:00
Rémi Verschelde
62b868fd37
Merge pull request #26942 from RandomShaper/fix-vp-issues
...
Fix Viewport and Camera issues
2019-05-30 18:31:15 +02:00
Rémi Verschelde
0823ae7ae4
Node::duplicate: Don't set name if original node is nameless
...
In practice this only happens when duplicating a node which is not in
the scene tree yet, as nameless nodes get assigned a generated name
when added to the scene tree.
Fixes #27319 .
2019-05-28 12:40:44 +02:00
Silvano Cerza
f23e1aab34
Implemented remote scene tree filtering
...
User can now filter the remote scene tree, like the local one is filtered, while
the game is running
2019-05-27 17:46:57 +02:00
Rémi Verschelde
25d2ee677f
Merge pull request #29152 from nekomatata/fix-node-rename-tool-script
...
Fixed scene tree update after changing node name in tool script
2019-05-24 22:41:37 +02:00
PouleyKetchoupp
3f174c86d0
Fixed scene tree update after changing node name in tool script
2019-05-24 15:27:22 +02:00
clayjohn
65c211d303
Implement ability to render viewports directly to screen
2019-05-13 15:20:15 -07:00
Rémi Verschelde
9dc9434b1b
Merge pull request #24437 from mateusfccp/single_quotes_option
...
Add settings for single-quotes on completion
2019-04-30 14:58:33 +02:00
Rémi Verschelde
79040656e1
Merge pull request #27869 from jean-dao/scenetree_call_group
...
Fix: use function in SceneTree::call_group
2019-04-30 10:55:05 +02:00
Rémi Verschelde
18e88c8563
Merge pull request #18992 from aaronfranke/mono-equal-approx
...
[Core] [Mono] Improve and use approximate equality methods
2019-04-29 10:16:46 +02:00
Aaron Franke
b659e1eb2b
Use approximate equallity methods in many places
2019-04-25 13:20:29 -04:00
James Buck
bc7863775c
Cancel tooltip when hiding the node it belongs to
2019-04-25 11:19:31 -05:00
Rémi Verschelde
a342131eba
Merge pull request #27673 from qarmin/small_fixes
...
Small fixes, mostly duplicated code
2019-04-22 12:00:34 +02:00
Rémi Verschelde
201cdd358a
Merge pull request #28140 from Daw11/orphan-nodes
...
Add a monitor for the orphan nodes
2019-04-22 11:55:15 +02:00
Rémi Verschelde
f25b057846
Fix disable_3d=yes -Wunused-variable errors
2019-04-20 11:07:58 +02:00
Hein-Pieter van Braam-Stewart
20b0046945
Object::script may not be a valid Ref<Script>
...
It appears that Object::script may be a valid ScriptInstance but not be
castable to Ref<Script>. There were only 5 places in the code that made
this assumption. This commit fixes that.
2019-04-20 02:13:28 +02:00