Fix T72083: Object.proxy_collection is been set to linked target object

even when target is not a collection

Looks like this was (accidentally) removed in {rBbe9e469ead22}
https://developer.blender.org/
rBbe9e469ead227aee8d4c29b98a125cf599c5c8bb#change-pFg0VUTAHY2q

This could also result in a missing update in
object_handle_update_proxy, see T72083 for an example.

Thx @Macroni investigating!

Maniphest Tasks: T72083

Differential Revision: https://developer.blender.org/D6651
This commit is contained in:
Philipp Oeser 2020-01-22 15:47:02 +01:00
parent c5436883c6
commit 005af1e274
Notes: blender-bot 2023-02-14 06:00:49 +01:00
Referenced by issue #73671, Collection instances controlled by proxy armatures sometimes have the instancing empties transformation applied
Referenced by issue #72083, Make Proxy: Object.proxy_collection is been set to linked target object even when target is not a collection
1 changed files with 1 additions and 0 deletions

View File

@ -386,6 +386,7 @@ static int make_proxy_exec(bContext *C, wmOperator *op)
}
else {
ob = gob;
gob = NULL;
}
if (ob) {