summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2021-02-12Use get_char_size(' ') to calculate space width.bruvzg
2021-02-12Merge pull request #45903 from reduz/improve-resoucre-load-cacheRémi Verschelde
Improve resource load cache
2021-02-12Merge pull request #45859 from Kayomn/masterRémi Verschelde
Accomodate blend shape ranges of -1 to +1 for Vulkan
2021-02-11Improve resource load cachereduz
-Added a new method in Resource: reset_state , used for reloading the same resource from disk -Added a new cache mode "replace" in ResourceLoader, which reuses existing loaded sub-resources but resets their data from disk (or replaces them if they chaged type) -Because the correct sub-resource paths are always loaded now, this fixes bugs with subresource folding or subresource ordering when saving.
2021-02-11Merge pull request #45870 from gongpha/graphedit-connection-updateRémi Verschelde
Update GraphEdit when GraphNode's slot is updated
2021-02-11Fix `Node::rpc_config` return errorMarvinFF
Fix StringName type checks in other `_rpc*_bind` methods.
2021-02-10Removed _change_notifyreduz
-For inspector refresh, the inspector now detects if a property change by polling a few times per second and then does update the control if so. This process is very cheap. -For property list refresh, a new signal (property_list_changed) was added to Object. _change_notify() is replaced by notify_property_list_changed() -Changed all objects using the old method to the signal, or just deleted the calls to _change_notify(<property>) since they are unnecesary now.
2021-02-10Merge pull request #45845 from qarmin/cppcheck_scene_2Rémi Verschelde
Initialize class variables with default values in scene/ [2/2]
2021-02-11Update GraphEdit when GraphNode's slot is updatedKongfa Waroros
2021-02-10Make Servers truly Thread Safereduz
-Rendering server now uses a split RID allocate/initialize internally, this allows generating RIDs immediately but initialization to happen later on the proper thread (as rendering APIs generally requiere to call on the right thread). -RenderingServerWrapMT is no more, multithreading is done in RenderingServerDefault. -Some functions like texture or mesh creation, when renderer supports it, can register and return immediately (so no waiting for server API to flush, and saving staging and command buffer memory). -3D physics server changed to be made multithread friendly. -Added PhysicsServer3DWrapMT to use 3D physics server from multiple threads. -Disablet Bullet (too much effort to make multithread friendly, this needs to be fixed eventually).
2021-02-10Merge pull request #45811 from reduz/sdfgi-improve-feedbackJuan Linietsky
Improve SDFGI indirect light feedback loop
2021-02-10Merge pull request #45861 from nekomatata/physics-3d-contact-points-debugRémi Verschelde
Fix contact points debug for 3D Physics
2021-02-09Fix contact points debug for 3D PhysicsPouleyKetchoupp
Setting each point's position was missing for 3D. Now enabling collision render debug will display contact points for 3D physics, the same way it does for 2D physics. Note: Multimesh rendering seems not to work in this scenario on master, but it's working fine on 3.2.
2021-02-09Accomodate blend shape ranges of -1 to +1Kayomn
2021-02-09Fix animation reset-on-save on inactive scene tabsPedro J. Estébanez
2021-02-09Initialize class variables with default values in scene/ [2/2]Rafał Mikrut
2021-02-09Merge pull request #45812 from RandomShaper/keep_selected_visibleRémi Verschelde
Keep selected node visible after filter change
2021-02-08Merge pull request #45806 from KoBeWi/forest_of_deselectionRémi Verschelde
Set selected Tree item to null when deselected
2021-02-08Merge pull request #45774 from revilo/fix-45694Rémi Verschelde
Bugfix: Update transform of collision shape on NOTIFICATION_PARENTED …
2021-02-08Merge pull request #45836 from Kanabenki/update-color-pickerRémi Verschelde
Update ColorPicker controls when entering tree
2021-02-08Merge pull request #45775 from RandomShaper/pause_aware_pickingRémi Verschelde
Implement pause-aware picking
2021-02-08Update ColorPicker controls when entering treeKanabenki
2021-02-08Expose Tree::scroll_to_item()Pedro J. Estébanez
2021-02-07Improve SDFGI indirect light feedback loopreduz
-Use occlusion for feedback, further reduces light leaking. -More control on feedback, now its a slider.
2021-02-07Initialize class variables with default values in scene/ [1/2]Rafał Mikrut
2021-02-07Set selected Tree item to null when deselectedkobewi
Co-authored-by: Brody Eller <wviper3@gmail.com>
2021-02-07Fix nan errors when using VehicleBodyRafał Mikrut
2021-02-07Merge pull request #45784 from revilo/fix-45770Rémi Verschelde
Fix unnecessary scrolling in TextEdit
2021-02-07Implement pause-aware pickingPedro J. Estébanez
This changes the way 2D & 3D physics picking behaves in relation to pause: - When pause is set, every collision object that is hovered or captured (3D only) is released from that condition, getting the relevant mouse-exit callback., unless its pause mode makes it immune from pause. - During the pause. picking only considers collision objects immune from pause, sending input events and enter/exit callbacks to them as expected. - When pause is left, nothing happens. This is a big difference with the classic behavior, which at this point would process all the input events that have been queued against the current state of the 2D/3D world (in other words, checking them against the current position of the objects instead of those at the time of the events).
2021-02-07TextEdit: When left mouse is pressed to place the cursor, do not immediately ↵Oliver Dick
adjust the viewport when cursor_set_line is called, but afterwards on cursor_set_column (effectively when the cursor reached its final position) Fixes #45770
2021-02-06Bugfix: Update transform of collision shape on NOTIFICATION_PARENTED (fixes ↵Oliver Dick
invalid transform of collision shape in cases where the node is not supposed to enter the scene tree)
2021-02-06Simplify Volumetric Fogreduz
-Always use temporal reproject, it just loos way better than any other filter. -By always using termporal reproject, the shadowmap reduction can be done away with, massively improving performance. -Disadvantage of temporal reproject is update latency so.. -Made sure a gaussian filter runs in XY after fog, this allows to keep stability and lower latency.
2021-02-05Added temporal reprojection to Volumetric Fogreduz
-It's an option, just enable it -Just works, don't have to do anything else.
2021-02-04Merge pull request #45672 from reduz/barrier-optimizationRémi Verschelde
Rewrote how barriers work for faster rendering
2021-02-04doc: Don't bind argument names with p_ prefixRémi Verschelde
This prefix is used in the C++ codebase, not in the scripting API.
2021-02-04Make SyntaxHighligher::_clear_highlighting_cache virtualGeorge Marques
Since it's meant to be used as a virtual method.
2021-02-04Rewrote how barriers work for faster renderingreduz
-Added more finegrained control in RenderingDevice API -Optimized barriers (use less ones for thee same) -General optimizations -Shadows render all together unbarriered -GI can render together with shadows. -SDFGI can render together with depth-preoass. -General fixes -Added GPU detection
2021-02-04Removed duplicated binding of two methodsGeorge Marques
They are bound as both regular and virtual methods which makes ClassDB report the methods twice when querying the API. The non-virtual binding is removed since both methods only seem to be used as virtual.
2021-02-04Use the blend parameter passed to blend_animation during graph processingmuiroc
2021-02-03Merge pull request #45496 from Chaosus/fix_particlesRémi Verschelde
Fix particles not properly updated by their lifetime
2021-02-02Add check for sun in PhysicalSkyclayjohn
2021-02-01Merge pull request #45594 from JFonS/improve_3d_gridRémi Verschelde
3D editor grid improvements
2021-02-013D editor grid improvementsjfons
This commit adds a view-dependant fade to the 3D viewport grid. It fades out at steep view angles to hide the solid regions that appear far from the camera. I also included a fade to hide the grid borders. I added some improvements to the dynamic grid when the camera is in orthogonal mode. It properly handles zoom now, and the grid center is now set to the intersection point between the grid plane and the camera forward ray, keeping the grid always visible.
2021-02-01Merge pull request #37547 from aaronfranke/tauRémi Verschelde
Use Math_TAU and deg2rad/etc in more places and optimize code
2021-02-01Merge pull request #45110 from fmazan/completion-panel-positioningRémi Verschelde
Fixed completion and hint panel positioning in TextExit
2021-02-01Merge pull request #45549 from flyingpimonster/graphnode-iconRémi Verschelde
GraphNode: Add properties for custom icons
2021-02-01Merge pull request #45564 from aaronfranke/physics-nodes-real_tRémi Verschelde
Use real_t in physics nodes
2021-02-01Merge pull request #45608 from bruvzg/font_int_coordsRémi Verschelde
Use integer coordinates for the font glyphs rendering.
2021-02-01Node::replace_by was not copying node properties - removed the dead code.nemerle
The code to copy node properties to the new node never worked, so there is no reason to keep the useless bits in there
2021-02-01Merge pull request #45281 from Chaosus/vs_unifyRémi Verschelde
Unified several visual shader nodes