Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_view3d/space_view3d.c
| Context not available. | |||||
| v3dn->runtime.properties_storage = NULL; | v3dn->runtime.properties_storage = NULL; | ||||
| } | } | ||||
| v3dn->local_collections_uuid = 0; | |||||
| v3dn->flag &= ~V3D_LOCAL_COLLECTIONS; | |||||
| if (v3dn->shading.type == OB_RENDER) { | if (v3dn->shading.type == OB_RENDER) { | ||||
| v3dn->shading.type = OB_SOLID; | v3dn->shading.type = OB_SOLID; | ||||
| } | } | ||||
| Context not available. | |||||
| if (view_layer->basact) { | if (view_layer->basact) { | ||||
| Object *ob = view_layer->basact->object; | Object *ob = view_layer->basact->object; | ||||
| /* if hidden but in edit mode, we still display, can happen with animation */ | /* if hidden but in edit mode, we still display, can happen with animation */ | ||||
| if ((view_layer->basact->flag & BASE_VISIBLE_DEPSGRAPH) != 0 || (ob->mode & OB_MODE_EDIT)) { | if ((view_layer->basact->flag & BASE_VISIBLE) != 0 || (ob->mode & OB_MODE_EDIT)) { | ||||
| CTX_data_pointer_set(result, &scene->id, &RNA_ObjectBase, view_layer->basact); | CTX_data_pointer_set(result, &scene->id, &RNA_ObjectBase, view_layer->basact); | ||||
| } | } | ||||
| } | } | ||||
| Context not available. | |||||
| if (view_layer->basact) { | if (view_layer->basact) { | ||||
| Object *ob = view_layer->basact->object; | Object *ob = view_layer->basact->object; | ||||
| /* if hidden but in edit mode, we still display, can happen with animation */ | /* if hidden but in edit mode, we still display, can happen with animation */ | ||||
| if ((view_layer->basact->flag & BASE_VISIBLE_DEPSGRAPH) != 0 || | if ((view_layer->basact->flag & BASE_VISIBLE) != 0 || (ob->mode & OB_MODE_EDIT) != 0) { | ||||
| (ob->mode & OB_MODE_EDIT) != 0) { | |||||
| CTX_data_id_pointer_set(result, &ob->id); | CTX_data_id_pointer_set(result, &ob->id); | ||||
| } | } | ||||
| } | } | ||||
| Context not available. | |||||