godot/scene
Tom Coxon dbe757102c Prevent shaders from generating code before the constructor finishes.
Fixes #43733: "creating SpatialMaterial in a separate thread creates invalid
shaders (temporarily)."

The bug occurred because various setters called in materials' constructors add
materials to queues that are processed on the main thread. This means that
when the materials are created in another thread, they can be processed on the
main thread before the constructor has finished.

The fix adds a flag to affected materials that prevents them from being added
to the queue until their constructors have finished initialising all the
members.
2021-09-21 11:51:39 +01:00
..
2d Merge pull request #52277 from groud/implement_array_property_hint 2021-09-07 11:59:46 -03:00
3d Proper support for custom mass properties in 2D/3D physics bodies 2021-09-06 10:20:16 -07:00
animation Fix AnimationBlendTree reset on resource loading 2021-08-26 09:07:13 -07:00
audio Do all audio mixing in the AudioServer 2021-08-27 10:41:57 -07:00
debugger Fix camera override not working 2021-08-21 21:24:09 +03:00
gui Merge pull request #52050 from nobuyukinyuu/bind-get-tab-idx-at-point-40 2021-09-07 11:09:35 +02:00
main Changed Window current_screen parameter from string to int 2021-09-02 23:34:15 +02:00
resources Prevent shaders from generating code before the constructor finishes. 2021-09-21 11:51:39 +01:00
register_scene_types.cpp Add AnimatableBody inherited from StaticBody for moving platforms 2021-08-31 18:14:32 -07:00
register_scene_types.h
scene_string_names.cpp
scene_string_names.h
SCsub