summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
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
2020-02-27Signals: tab_changed now is emitted when it's on scene treeMateo Dev .59
2020-02-27Merge pull request #36232 from Calinou/add-soft-line-length-guidelineRémi Verschelde
Add a soft line length guideline to the script editor
2020-02-27Merge pull request #36288 from Calinou/meshlibrary-allow-non-tools-useRémi Verschelde
Allow using `MeshLibrary.get_item_preview()` in non-editor builds again
2020-02-27Merge pull request #36581 from Calinou/doc-improve-add-child-below-nodeRémi Verschelde
Improve the `Node.add_child_below_node()` documentation
2020-02-27Improve the `Node.add_child_below_node()` documentationHugo Locurcio
This closes https://github.com/godotengine/godot-docs/issues/2730.
2020-02-27Renamed PlaneShape to WorldMarginShapeAndrea Catania
2020-02-27Renamed NavigationMeshInstance to NavigationRegionAndrea Catania
2020-02-27Merge pull request #36050 from eswartz/line-edit-move-cursor-on-unselectRémi Verschelde
Use left/right arrow to move cursor when unselecting in LineEdit
2020-02-26Reimplement Mutex with C++'s <mutex>Pedro J. Estébanez
Main: - It's now implemented thanks to `<mutex>`. No more platform-specific implementations. - `BinaryMutex` (non-recursive) is added, as an alternative for special cases. - Doesn't need allocation/deallocation anymore. It can live in the stack and be part of other classes. - Because of that, it's methods are now `const` and the inner mutex is `mutable` so it can be easily used in `const` contexts. - A no-op implementation is provided if `NO_THREADS` is defined. No more need to add `#ifdef NO_THREADS` just for this. - `MutexLock` now takes a reference. At this point the cases of null `Mutex`es are rare. If you ever need that, just don't use `MutexLock`. - Thread-safe utilities are therefore simpler now. Misc.: - `ScopedMutexLock` is dropped and replaced by `MutexLock`, because they were pretty much the same. - Every case of lock, do-something, unlock is replaced by `MutexLock` (complex cases where it's not straightfoward are kept as as explicit lock and unlock). - `ShaderRD` contained an `std::mutex`, which has been replaced by `Mutex`.
2020-02-26Changed float type to int for INDEX visual shader inputYuri Roubinsky
2020-02-26Merge pull request #36536 from Chaosus/vs_intRémi Verschelde
Add support for integer type in visual shaders
2020-02-26Add support for integer type in visual shadersYuri Roubinsky
2020-02-25Added missing destructor for Navigation2DDominik 'dreamsComeTrue' Jasiński
Although destructor call was missing, it still doesn't heal #36537 memory leaks. Further description how that might be overcome - on GitHub Partialy covers #36537
2020-02-25Merge pull request #36532 from Faless/debugger/weakref_crash_vulkanRémi Verschelde
Fix debugger crash inspecting freed object.