godot/scene/3d
PouleyKetchoupp 5c831bc8d6 Fix mesh instance materials not initialized correctly
This fixes a regression from PR #40313 (support for software skinning in MeshInstance).

Before, the base mesh was always updated on load even if not skinning
was used, which caused mesh instance materials to be reset on the
rendering side.

Now the base mesh is set only when it has been modified, or when
switching software skinning on or off. In this case the mesh instance
materials are always updated properly afterwards.
2020-10-16 09:33:24 +02:00
..
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
area.cpp Remove area or body from map before emitting signals. 2020-10-02 17:01:47 +01:00
area.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
arvr_nodes.cpp Make all get_configuration_warning() overrides retrieve warnings from parent 2020-07-13 01:50:02 +03:00
arvr_nodes.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
audio_stream_player_3d.cpp Fix bug with AudioStreamPlayer3D audio position 2020-05-07 13:37:06 +02:00
audio_stream_player_3d.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
baked_lightmap.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
baked_lightmap.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
bone_attachment.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
bone_attachment.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
camera.cpp Call Spatial::get_global_transform and Vector3::dot only once within Camera::is_position_behind to avoid redundant work. 2020-06-29 10:48:45 +02:00
camera.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
collision_object.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
collision_object.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
collision_polygon.cpp Make all get_configuration_warning() overrides retrieve warnings from parent 2020-07-13 01:50:02 +03:00
collision_polygon.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
collision_shape.cpp Better validate CollisionShape config. warning after #37226 2020-10-02 09:51:45 +02:00
collision_shape.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
cpu_particles.cpp Merge pull request #37226 from arrowinaknee/fix-node-config-warnings 2020-10-01 14:04:26 +02:00
cpu_particles.h Validate input in (CPU)Particles set_emission_shape() 2020-01-16 11:08:51 +01:00
gi_probe.cpp Make all get_configuration_warning() overrides retrieve warnings from parent 2020-07-13 01:50:02 +03:00
gi_probe.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
immediate_geometry.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
immediate_geometry.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
interpolated_camera.cpp Mark InterpolatedCamera as deprecated 2020-09-16 15:36:40 +02:00
interpolated_camera.h Mark InterpolatedCamera as deprecated 2020-09-16 15:36:40 +02:00
light.cpp Add performance hints to the DirectionalLight shadow mode property hint 2020-06-04 12:16:39 +02:00
light.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
listener.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
listener.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
mesh_instance.cpp Fix mesh instance materials not initialized correctly 2020-10-16 09:33:24 +02:00
mesh_instance.h Option for software skinning in MeshInstance 2020-10-08 16:14:55 +02:00
multimesh_instance.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
multimesh_instance.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
navigation.cpp Fix C4724: potential mod by 0 warnings. 2020-05-21 11:28:01 +01:00
navigation.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
navigation_mesh.cpp Make all get_configuration_warning() overrides retrieve warnings from parent 2020-07-13 01:50:02 +03:00
navigation_mesh.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
particles.cpp Make all get_configuration_warning() overrides retrieve warnings from parent 2020-07-13 01:50:02 +03:00
particles.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
path.cpp Make all get_configuration_warning() overrides retrieve warnings from parent 2020-07-13 01:50:02 +03:00
path.h Fix repeated updates of PathFollow3D Transform 2020-07-10 10:59:24 +02:00
physics_body.cpp Merge pull request #39817 from yrk06/ExposeInertiaTensor 2020-07-21 16:50:56 +02:00
physics_body.h Added Method get_inverse_inertia_tensor 2020-07-19 13:51:32 -03:00
physics_joint.cpp Added missing spring enums for generic_6dof_joint 2020-05-04 16:10:22 +02:00
physics_joint.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
position_3d.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
position_3d.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
proximity_group.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
proximity_group.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
ray_cast.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
ray_cast.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
reflection_probe.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
reflection_probe.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
remote_transform.cpp Make all get_configuration_warning() overrides retrieve warnings from parent 2020-07-13 01:50:02 +03:00
remote_transform.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
skeleton.cpp Option for software skinning in MeshInstance 2020-10-08 16:14:55 +02:00
skeleton.h Option for software skinning in MeshInstance 2020-10-08 16:14:55 +02:00
soft_body.cpp Make softbody completelly stiff to attachment point 2020-05-01 10:56:57 +02:00
soft_body.h Make softbody completelly stiff to attachment point 2020-05-01 10:56:57 +02:00
spatial.cpp Made toplevel a property for Node3D and CanvasItem 2020-10-01 16:00:47 +02:00
spatial.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
spatial_velocity_tracker.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
spatial_velocity_tracker.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
spring_arm.cpp Activate Physics Process in SpringArm3D. 2020-04-20 11:51:30 +02:00
spring_arm.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
sprite_3d.cpp Use full float UVs in Sprite3D 2020-10-03 10:54:14 -07:00
sprite_3d.h Check for uncompressed uvs in Sprite3D 2020-08-16 19:19:14 -07:00
vehicle_body.cpp Make all get_configuration_warning() overrides retrieve warnings from parent 2020-07-13 01:50:02 +03:00
vehicle_body.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
visibility_notifier.cpp Fix visibility enabler flag toggling 2020-03-25 11:38:53 +01:00
visibility_notifier.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
visual_instance.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
visual_instance.h Option for software skinning in MeshInstance 2020-10-08 16:14:55 +02:00
voxel_light_baker.cpp Remove unused #if 0'ed code 2020-01-21 21:41:54 +01:00
voxel_light_baker.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
world_environment.cpp Make all get_configuration_warning() overrides retrieve warnings from parent 2020-07-13 01:50:02 +03:00
world_environment.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00