godot/scene/3d
PouleyKetchoupp 703c290b71
Fix skinning initialization in MeshInstance when loaded from thread
Fix for a regression from software skinning support:
instance_attach_skeleton wasn't called in set_mesh before, and it's
causing issues when the mesh instance is loaded from a thread.
1. Call from a thread queues instance_attach_skeleton with RID() in the
visual server.
2. Call from the main thread when entering tree calls
instance_attach_skeleton immediately with a valid skeleton
3. Queued instance_attach_skeleton resets the attached skeleton

This change prevents that to happen by making sure
instance_attach_skeleton is not called on set_mesh as it was doing
before, but there might be a more general problem to solve in how
visual server commands are executed when resources are loaded from
a different thread.

(cherry picked from commit feee9f9695)
2021-05-04 12:44:47 +02:00
..
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
area.cpp Fix usage of deleted element in Area::_area_inout 2021-01-16 09:54:55 +01:00
area.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
arvr_nodes.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
arvr_nodes.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
audio_stream_player_3d.cpp Modernize atomics 2021-02-18 12:23:25 +01:00
audio_stream_player_3d.h Modernize atomics 2021-02-18 12:23:25 +01:00
baked_lightmap.cpp Fix BakedLightmap bias bound check 2021-05-03 17:06:49 +02:00
baked_lightmap.h CPU lightmapper environment energy fixes. 2021-04-22 18:07:16 +02:00
bone_attachment.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
bone_attachment.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
camera.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
camera.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
collision_object.cpp Fix crashes with CollisionObject debug shapes 2021-04-12 20:04:13 -07:00
collision_object.h Fix crashes with CollisionObject debug shapes 2021-04-12 20:04:13 -07:00
collision_polygon.cpp Implement CollisionPolygon3D margin 2021-02-16 14:27:39 +01:00
collision_polygon.h Implement CollisionPolygon3D margin 2021-02-16 14:27:39 +01:00
collision_shape.cpp Allow CollisionObject to show collision shape meshes 2021-02-24 21:33:40 +01:00
collision_shape.h Allow CollisionObject to show collision shape meshes 2021-02-24 21:33:40 +01:00
cpu_particles.cpp Modernize atomics 2021-02-18 12:23:25 +01:00
cpu_particles.h Modernize atomics 2021-02-18 12:23:25 +01:00
gi_probe.cpp Fix crash in GIProbe::bake 2021-03-02 10:26:14 +01:00
gi_probe.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
immediate_geometry.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
immediate_geometry.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
interpolated_camera.cpp Remove deprecation warning messages from InterpolatedCamera 2021-03-07 15:56:41 +01:00
interpolated_camera.h Remove deprecation warning messages from InterpolatedCamera 2021-03-07 15:56:41 +01:00
light.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
light.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
lightmapper.cpp CPU lightmapper fixes. 2021-01-15 12:32:54 +01:00
lightmapper.h embree: cross compile fixes. 2021-01-18 06:20:24 -08:00
listener.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
listener.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
mesh_instance.cpp Fix skinning initialization in MeshInstance when loaded from thread 2021-05-04 12:44:47 +02:00
mesh_instance.h Fix skinning initialization in MeshInstance when loaded from thread 2021-05-04 12:44:47 +02:00
multimesh_instance.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
multimesh_instance.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
navigation.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
navigation.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
navigation_mesh.cpp Add null check for NavigationMesh.create_from_mesh() 2021-03-04 11:41:46 +01:00
navigation_mesh.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
particles.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
particles.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
path.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
path.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
physics_body.cpp Check if _direct_state_changed() argument is valid 2021-04-26 11:51:00 +02:00
physics_body.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
physics_joint.cpp Merge pull request #46579 from nekomatata/fix-joint-remove-body-regression-3.2 2021-03-03 16:41:59 +01:00
physics_joint.h Fix Joint2D/Joint node path reset on scene switch 2021-03-02 08:32:00 -07:00
position_3d.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
position_3d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
proximity_group.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
proximity_group.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
ray_cast.cpp Merge pull request #45198 from nekomatata/improved-raycast-node-render-debug-3.2 2021-01-15 16:51:04 +01:00
ray_cast.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
reflection_probe.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
reflection_probe.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
remote_transform.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
remote_transform.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
skeleton.cpp fix skeleton (ik) not resetting global_bone_overrides properly 2021-04-15 16:50:59 +02:00
skeleton.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
soft_body.cpp Fix spamming errors when SoftBody pinned nodes have no attachment 2021-03-18 16:22:53 -07:00
soft_body.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
spatial.cpp Optimize transform propagation for hidden objects 2021-02-03 15:16:47 +00:00
spatial.h Optimize transform propagation for hidden objects 2021-02-03 15:16:47 +00:00
spatial_velocity_tracker.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
spatial_velocity_tracker.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
spring_arm.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
spring_arm.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
sprite_3d.cpp Add animation_finished signal and fix frame_changed signal for AnimatedSprite3D 2021-02-18 00:36:20 +01:00
sprite_3d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
vehicle_body.cpp Check if _direct_state_changed() argument is valid 2021-04-26 11:51:00 +02:00
vehicle_body.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
visibility_notifier.cpp Cache world in VisibilityNotifier3D to avoid crash 2021-02-02 13:02:45 +01:00
visibility_notifier.h Cache world in VisibilityNotifier3D to avoid crash 2021-02-02 13:02:45 +01:00
visual_instance.cpp Optimize transform propagation for hidden objects 2021-02-03 15:16:47 +00:00
visual_instance.h Implement new CPU lightmapper 2021-01-14 18:05:56 +01:00
voxel_light_baker.cpp Implement new CPU lightmapper 2021-01-14 18:05:56 +01:00
voxel_light_baker.h Implement new CPU lightmapper 2021-01-14 18:05:56 +01:00
world_environment.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
world_environment.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00