mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix T82555: Crash using copied object from Python
Also clear `gpd_eval` as this wasn't being copied either.
This commit is contained in:
parent
19b85c5f4b
commit
8b59119e10
1 changed files with 2 additions and 0 deletions
|
|
@ -4106,8 +4106,10 @@ void BKE_object_runtime_reset_on_copy(Object *object, const int UNUSED(flag))
|
|||
{
|
||||
Object_Runtime *runtime = &object->runtime;
|
||||
runtime->data_eval = NULL;
|
||||
runtime->gpd_eval = NULL;
|
||||
runtime->mesh_deform_eval = NULL;
|
||||
runtime->curve_cache = NULL;
|
||||
runtime->object_as_temp_mesh = NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue