summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2020-03-20Merge pull request #37169 from AndreaCatania/AndreaCatania-patch-2Rémi Verschelde
Fixes navigation path reset
2020-03-19Fixes navigation path resetAndrea Catania
2020-03-18Merge pull request #37094 from dkaste/line-edit-secret-selectRémi Verschelde
Calculate LineEdit selection with secret character
2020-03-18Merge pull request #37123 from simpuid/placeholder-fixRémi Verschelde
Remove update condition from LineEdit::update_placeholder_width
2020-03-18Merge pull request #37113 from KoBeWi/to_enable_or_not_to_enableRémi Verschelde
Fix visibility enabler flag toggling
2020-03-17Clarify the Viewport size warning messageRasmus Vermeulen
2020-03-18Remove update condition from LineEdit::update_placeholder_widthsimpuid
Placeholder with length greater than `max_length` are allowed, so there is no reason for those update condition. It fixes the odd alignment of placeholder when it's length is greater than `max_length`
2020-03-17Add size warning to Viewport NodeRasmus Vermeulen
2020-03-17Fix visibility enabler flag togglingTomasz Chabora
2020-03-17Style: Set clang-format Standard to Cpp11Rémi Verschelde
For us, it practically only changes the fact that `A<A<int>>` is now used instead of the C++03 compatible `A<A<int> >`. Note: clang-format 10+ changed the `Standard` arguments to fully specified `c++11`, `c++14`, etc. versions, but we can't use `c++17` now if we want to preserve compatibility with clang-format 8 and 9. `Cpp11` is still supported as deprecated alias for `Latest`.
2020-03-16Merge pull request #36491 from AndreaCatania/edit_node_anim_state_macRémi Verschelde
Added new method to edit an already added node to anim state machine
2020-03-16Added new method to replace an already added node to the animation state machineAndrea Catania
2020-03-16Calculate LineEdit selection with secret characterDarren Kaste
2020-03-14Fix divison by zero issueEv1lbl0w
2020-03-12Merge pull request #36518 from Janglee123/no-underlined-keywordsRémi Verschelde
Removed underlining of not clickable symbols
2020-03-12Merge pull request #36961 from JFonS/fix_mesh_selectionRémi Verschelde
Return correct mesh format for PrimitiveMesh
2020-03-11Merge pull request #36977 from lupoDharkael/decompose-copyRémi Verschelde
Mesh::convex_decompose: Remove unneeded vector copy
2020-03-11Merge pull request #36978 from lupoDharkael/opti-trimeshRémi Verschelde
Loop over faces in create_trimesh_shape()
2020-03-11Removed underlining for not clickable symbolsjanglee
2020-03-11Merge pull request #36715 from dreamsComeTrue/fix-text-edit-comment-quotesRémi Verschelde
Allow single quotes [',"] in comments in TextEdit
2020-03-11Allow single quotes in commentsDominik 'dreamsComeTrue' Jasiński
Fixes: #36638
2020-03-11Loop over faces in create_trimesh_shape()lupoDharkael
2020-03-11Mesh::convex_decompose: Remove unneeded vector copylupoDharkael
2020-03-10Return correct mesh format for PrimitiveMesh.JFonS
The return value was changed during the Vulkan port, but it didn't include ARRAY_FORMAT_INDEX. This meant they were wrongly considered non-indexed meshes and the click-selection logic for all primitive meshes broke.
2020-03-09Merge pull request #36751 from Faless/debugger/threads_and_profilersRémi Verschelde
ScriptDebugger refactor, threading, profilers.
2020-03-08Complete NavigationMeshInstance renamelupoDharkael
2020-03-08Refactor ScriptDebugger.Fabio Alessandrelli
EngineDebugger is the new interface to access the debugger. It tries to be as agnostic as possible on the data that various subsystems can expose. It allows 2 types of interactions: - Profilers: A subsystem can register a profiler, assigning it a unique name. That name can be used to activate the profiler or add data to it. The registered profiler can be composed of up to 3 functions: - Toggle: called when the profiler is activated/deactivated. - Add: called whenever data is added to the debugger (via `EngineDebugger::profiler_add_frame_data`) - Tick: called every frame (during idle), receives frame times. - Captures: (Only relevant in remote debugger for now) A subsystem can register a capture, assigning it a unique name. When receiving a message, the remote debugger will check if it starts with `[prefix]:` and call the associated capture with name `prefix`. Port MultiplayerAPI, Servers, Scripts, Visual, Performance to the new profiler system. Port SceneDebugger and RemoteDebugger to the new capture system. The LocalDebugger also uses the new profiler system for scripts profiling.
2020-03-07ARVRController.is_button_pressed requires to return a booleanBastiaan Olij
2020-03-06Removed boolean return type from majority of method in TweenYuri Roubinsky
2020-03-05Merge pull request #36772 from pyacier/warning-concavepolygonshapeRémi Verschelde
Add a new configuration warning to CollisionShape
2020-03-05Add a new configuration warning to CollisionShapePierre Caye
In the case where a ConcavePolygonShape is used as a shape for a RigidBody in another mode than static, a configuration warning will appear in the editor.
2020-03-04Merge pull request #36733 from qarmin/static_analyzer_fixesRémi Verschelde
Fixes bugs found by Sonarcloud and Coverity
2020-03-04Merge pull request #36069 from RandomShaper/imvu/improve_drives_uxRémi Verschelde
Improve UX of drive letters
2020-03-03Merge pull request #36689 from eevee/patch-1Rémi Verschelde
Fix inverted use of Camera2D.offset_v
2020-03-03Improve UX of drive lettersPedro J. Estébanez
Namely, move the drive dropdown to just the left of the path text box and don't include the former in the latter. This improves the UX on Windows. In the UNIX case, since its concept of drives is (ab)used to provide shortcuts to useful paths, its dropdown is kept at the original location.
2020-03-02Fixes bugs found by Sonarcloud and Coverityqarmin
2020-03-01Merge pull request #18020 from bruvzg/input_fix_non_latin_and_add_hw_scancodesRémi Verschelde
Fix non-latin layout scancodes on Linux, adds access to physical scancodes.
2020-02-29Fix inverted use of Camera2D.offset_vEevee
The code above for horizontal movement uses the right margin (_positive_ x direction) when the offset is negative, but vertical movement uses the top margin (_negative_ y direction) when the offset is negative. The resulting problem is easily seen in the editor — set the drag margins to be asymmetrical, turn on drawing the drag margins, and slide the offsets from -1 to 1 and back. The horizontal offset moves the camera's center between the left and right margins, but the vertical offset gets them backwards and will move the camera outside the margins entirely.
2020-02-29Double click on a folder didn't open itGil Arasa Verge
There is a deferred call to _update_file_list inside _tree_item_activated but it was not bound.
2020-02-28Properly handle EOF when parsing text resourceJuan Linietsky
Fixes #36652
2020-02-28Merge pull request #36640 from reduz/resource-loader-refactorRémi Verschelde
Removed ResourceInteractiveLoader, add built-in threaded loading.
2020-02-28Removed interactive loader, added proper thread loading.Juan Linietsky
2020-02-28Signals: Port more uses of connect_compatRémi Verschelde
Those were problematic as they call a method of their parent class, but callable_mp does not allow that unless it's public. To solve it, we declare a local class that calls the parent class' method, which now needs to be protected to be accessible in the derived class.
2020-02-28Signals: Manually port most of remaining connect_compat usesRémi Verschelde
It's tedious work... Some can't be ported as they depend on private or protected methods of different classes, which is not supported by callable_mp (even if it's a class inherited by the current one).
2020-02-28Signals: Port connect calls to use callable_mpRémi Verschelde
Remove now unnecessary bindings of signal callbacks in the public API. There might be some false positives that need rebinding if they were meant to be public. No regular expressions were harmed in the making of this commit. (Nah, just kidding.)
2020-02-28Merge pull request #36626 from giarve/stop-input-event-prop-on-popup-closeRémi Verschelde
Clicking backgrd. dimming of editor popup stops input event propagation
2020-02-28Merge pull request #36388 from AndreaCatania/some_renamesRémi Verschelde
Rename Navigation{Mesh,Polygon}Instance and PlaneShape for clarity
2020-02-28Renamed NavigationPolygonInstance to NavigationRegion2DAndrea Catania
2020-02-28Merge pull request #36556 from RandomShaper/rework_mutexRémi Verschelde
Reimplement `Mutex` with C++'s `<mutex>` (plus more)
2020-02-28Clicking backgrd. dimming of editor popup stops input event propagationGil Arasa Verge
A click on the dimmed background of a popup in the editor should stop the input event from propagating to the background. This solution reuses the system introduced in commit efc3ffb8, taking advantage of the hide() notifications from the modal where we will set the flag "pass_on_modal_close_click(false)" to stop event handling at the viewport input event handling. The viewport first hides the modal and after marks the input as handled if the flag mentioned above is set. Fixes #36341