virtualx-engine/scene
Tom Coxon 9e9bac1549 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:47:51 +01:00
..
2d Prevent shaders from generating code before the constructor finishes. 2021-09-21 11:47:51 +01:00
3d [3.x] Fix KinematicBody axis lock 2021-08-29 20:38:09 -05:00
animation Delete the node in AnimationTreePlayer.remove_node 2021-08-03 00:12:04 +08:00
audio Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
debugger Initialize n_warnings_dropped to 0 in ScriptDebuggerRemote 2021-09-05 12:20:49 +02:00
gui TabContainer Fix drawing current tab when it's disabled 2021-09-01 04:01:07 +02:00
main Merge pull request #47416 from Calinou/add-contrast-adaptive-sharpening-3.x 2021-08-10 10:08:24 +02:00
resources Prevent shaders from generating code before the constructor finishes. 2021-09-21 11:47:51 +01:00
register_scene_types.cpp Sphere occluders (portals and general use) 2021-08-17 09:02:06 +01:00
register_scene_types.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
scene_string_names.cpp Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
scene_string_names.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
SCsub SCons: Add explicit dependencies on thirdparty code in cloned env 2021-04-29 16:57:00 +02:00