Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/object.cc
| Show First 20 Lines • Show All 877 Lines • ▼ Show 20 Lines | if (ob->proxy) { | ||||
| /* paranoia check, actually a proxy_from pointer should never be written... */ | /* paranoia check, actually a proxy_from pointer should never be written... */ | ||||
| if (!ID_IS_LINKED(ob->proxy)) { | if (!ID_IS_LINKED(ob->proxy)) { | ||||
| ob->proxy->proxy_from = nullptr; | ob->proxy->proxy_from = nullptr; | ||||
| ob->proxy = nullptr; | ob->proxy = nullptr; | ||||
| if (ob->id.lib) { | if (ob->id.lib) { | ||||
| BLO_reportf_wrap(reports, | BLO_reportf_wrap(reports, | ||||
| RPT_INFO, | RPT_INFO, | ||||
| TIP_("Proxy lost from object %s lib %s\n"), | TIP_("Proxy lost from object %s lib %s\n"), | ||||
pioverfour: Two spaces? | |||||
| ob->id.name + 2, | ob->id.name + 2, | ||||
| ob->id.lib->filepath); | ob->id.lib->filepath); | ||||
| } | } | ||||
| else { | else { | ||||
| BLO_reportf_wrap( | BLO_reportf_wrap( | ||||
| reports, RPT_INFO, TIP_("Proxy lost from object %s lib <NONE>\n"), ob->id.name + 2); | reports, RPT_INFO, TIP_("Proxy lost from object %s lib <NONE>\n"), ob->id.name + 2); | ||||
Done Inline ActionsTwo spaces? pioverfour: Two spaces? | |||||
| } | } | ||||
| reports->count.missing_obproxies++; | reports->count.missing_obproxies++; | ||||
| } | } | ||||
| else { | else { | ||||
| /* this triggers object_update to always use a copy */ | /* this triggers object_update to always use a copy */ | ||||
| ob->proxy->proxy_from = ob; | ob->proxy->proxy_from = ob; | ||||
| } | } | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 4,733 Lines • Show Last 20 Lines | |||||
Two spaces?