Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/interface/interface_ops.c
| Show First 20 Lines • Show All 801 Lines • ▼ Show 20 Lines | else if (RNA_struct_is_a(ptr->type, &RNA_Sequence)) { | ||||
| } | } | ||||
| else { | else { | ||||
| *r_lb = CTX_data_collection_get(C, "selected_editable_sequences"); | *r_lb = CTX_data_collection_get(C, "selected_editable_sequences"); | ||||
| } | } | ||||
| } | } | ||||
| else if (RNA_struct_is_a(ptr->type, &RNA_FCurve)) { | else if (RNA_struct_is_a(ptr->type, &RNA_FCurve)) { | ||||
| *r_lb = CTX_data_collection_get(C, "selected_editable_fcurves"); | *r_lb = CTX_data_collection_get(C, "selected_editable_fcurves"); | ||||
| } | } | ||||
| else if (RNA_struct_is_a(ptr->type, &RNA_NlaStrip)) { | |||||
| *r_lb = CTX_data_collection_get(C, "selected_nla_strips"); | |||||
| } | |||||
| else if (RNA_struct_is_a(ptr->type, &RNA_Constraint) && | else if (RNA_struct_is_a(ptr->type, &RNA_Constraint) && | ||||
| (path_from_bone = RNA_path_resolve_from_type_to_property(ptr, prop, &RNA_PoseBone)) != | (path_from_bone = RNA_path_resolve_from_type_to_property(ptr, prop, &RNA_PoseBone)) != | ||||
| NULL) { | NULL) { | ||||
| *r_lb = CTX_data_collection_get(C, "selected_pose_bones"); | *r_lb = CTX_data_collection_get(C, "selected_pose_bones"); | ||||
| *r_path = path_from_bone; | *r_path = path_from_bone; | ||||
| } | } | ||||
| else if (RNA_struct_is_a(ptr->type, &RNA_Node) || RNA_struct_is_a(ptr->type, &RNA_NodeSocket)) { | else if (RNA_struct_is_a(ptr->type, &RNA_Node) || RNA_struct_is_a(ptr->type, &RNA_NodeSocket)) { | ||||
| ListBase lb = {NULL, NULL}; | ListBase lb = {NULL, NULL}; | ||||
| ▲ Show 20 Lines • Show All 1,030 Lines • Show Last 20 Lines | |||||