Fix #114010: Can't duplicate object data
This is due to missing switch case for new Grease pencil object. Pull Request: https://projects.blender.org/blender/blender/pulls/114057
This commit is contained in:
committed by
Pratik Borhade
parent
32638cb4c3
commit
357c213cde
@@ -2637,6 +2637,7 @@ Object *BKE_object_duplicate(Main *bmain,
|
||||
}
|
||||
break;
|
||||
case OB_GPENCIL_LEGACY:
|
||||
case OB_GREASE_PENCIL:
|
||||
if (dupflag & USER_DUP_GPENCIL) {
|
||||
id_new = BKE_id_copy_for_duplicate(bmain, id_old, dupflag, copy_flags);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user