/dports/graphics/blender/blender-2.91.0/source/blender/makesrna/intern/ |
H A D | rna_access_compare_override.c | 331 rna_path ? rna_path : prop_a->identifier, in rna_property_override_diff() 421 op->rna_path, in rna_property_override_operation_store() 785 MEM_freeN(rna_path); in RNA_struct_override_matches() 1005 op->rna_path, in rna_property_override_apply_ex() 1069 op->rna_path, in RNA_struct_override_apply() 1123 if (rna_path) { in rna_property_override_property_real_id_owner() 1127 MEM_freeN(rna_path); in rna_property_override_property_real_id_owner() 1141 char *rna_path; in RNA_property_override_property_find() local 1147 MEM_freeN(rna_path); in RNA_property_override_property_find() 1159 char *rna_path; in RNA_property_override_property_get() local [all …]
|
H A D | rna_animation.c | 383 if (ksp->rna_path) { in rna_ksPath_RnaPath_get() 384 strcpy(value, ksp->rna_path); in rna_ksPath_RnaPath_get() 395 if (ksp->rna_path) { in rna_ksPath_RnaPath_length() 396 return strlen(ksp->rna_path); in rna_ksPath_RnaPath_length() 407 if (ksp->rna_path) { in rna_ksPath_RnaPath_set() 408 MEM_freeN(ksp->rna_path); in rna_ksPath_RnaPath_set() 412 ksp->rna_path = BLI_strdup(value); in rna_ksPath_RnaPath_set() 415 ksp->rna_path = NULL; in rna_ksPath_RnaPath_set() 517 const char rna_path[], in rna_KeyingSet_paths_add() argument 655 if (rna_path[0] == '\0') { in rna_Driver_new() [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/depsgraph/intern/eval/ |
H A D | deg_eval_runtime_backup_animation.cc | 54 if (fcurve->rna_path == nullptr || fcurve->rna_path[0] == '\0') { in animated_property_store_cb() 64 &data->id_pointer_rna, fcurve->rna_path, fcurve->array_index, &resolved_rna)) { in animated_property_store_cb() 74 data->backup->values_backup.append({fcurve->rna_path, fcurve->array_index, value}); in animated_property_store_cb() 83 AnimationValueBackup::AnimationValueBackup(const string &rna_path, int array_index, float value) in AnimationValueBackup() argument 84 : rna_path(rna_path), array_index(array_index), value(value) in AnimationValueBackup() 132 value_backup.rna_path.c_str(), in restore_to_id()
|
H A D | deg_eval_runtime_backup_animation.h | 38 AnimationValueBackup(const string &rna_path, int array_index, float value); 47 string rna_path; variable
|
/dports/graphics/blender/blender-2.91.0/source/blender/editors/animation/ |
H A D | anim_ipo_utils.c | 63 if (ELEM(NULL, id, fcu, fcu->rna_path)) { in getname_anim_fcurve() 67 else if (fcu->rna_path == NULL) { in getname_anim_fcurve() 71 BLI_snprintf(name, 256, "%s[%d]", fcu->rna_path, fcu->array_index); in getname_anim_fcurve() 82 if (RNA_path_resolve_property(&id_ptr, fcu->rna_path, &ptr, &prop)) { in getname_anim_fcurve() 109 if (strstr(fcu->rna_path, "bones") && strstr(fcu->rna_path, "constraints")) { in getname_anim_fcurve() 111 char *pchanName = BLI_str_quoted_substrN(fcu->rna_path, "bones["); in getname_anim_fcurve() 112 char *constName = BLI_str_quoted_substrN(fcu->rna_path, "constraints["); in getname_anim_fcurve() 186 BLI_snprintf(name, 256, "\"%s[%d]\"", fcu->rna_path, fcu->array_index); in getname_anim_fcurve()
|
H A D | drivers.c | 77 if (ELEM(NULL, id, rna_path)) { in verify_driver_fcurve() 119 if (rna_path) { in alloc_driver_fcurve() 120 fcu->rna_path = BLI_strdup(rna_path); in alloc_driver_fcurve() 290 dtar->rna_path = BLI_strdup(src_path); in add_driver_with_target() 445 rna_path); in ANIM_add_driver() 555 const char rna_path[], in ANIM_remove_driver() argument 643 rna_path); in ANIM_copy_driver() 659 char *tmp_path = fcu->rna_path; in ANIM_copy_driver() 660 fcu->rna_path = NULL; in ANIM_copy_driver() 666 fcu->rna_path = tmp_path; in ANIM_copy_driver() [all …]
|
H A D | keyframes_general.c | 691 char *rna_path; /* RNA-Path */ member 716 if (aci->rna_path) { in ANIM_fcurves_copybuf_free() 717 MEM_freeN(aci->rna_path); in ANIM_fcurves_copybuf_free() 762 aci->rna_path = MEM_dupallocN(fcu->rna_path); in copy_animedit_keys() 846 prefix_l = str_start - aci->rna_path; in flip_names() 882 if (to_simple || (aci->rna_path && fcu->rna_path)) { in pastebuf_match_path_full() 887 if (STREQ(name, fcu->rna_path)) { in pastebuf_match_path_full() 894 else if (to_simple || STREQ(aci->rna_path, fcu->rna_path)) { in pastebuf_match_path_full() 915 if (aci->rna_path && fcu->rna_path) { in pastebuf_match_path_property() 935 int len_path = strlen(fcu->rna_path); in pastebuf_match_path_property() [all …]
|
H A D | keyframing.c | 184 if (ELEM(NULL, act, rna_path)) { in ED_action_fcurve_find() 205 if (ELEM(NULL, act, rna_path)) { in ED_action_fcurve_ensure() 226 fcu->rna_path = BLI_strdup(rna_path); in ED_action_fcurve_ensure() 319 fcu->rna_path); in update_autoflags_fcurve() 1173 fcu->rna_path, in insert_keyframe_value() 1444 rna_path); in insert_keyframe() 1459 rna_path); in insert_keyframe() 1669 rna_path); in delete_keyframe() 1720 fcu->rna_path, in delete_keyframe() 1776 rna_path); in clear_keyframe() [all …]
|
H A D | anim_deps.c | 93 if (fcu && fcu->rna_path) { in ANIM_list_elem_update() 102 if (RNA_path_resolve_property(&id_ptr, fcu->rna_path, &ptr, &prop)) { in ANIM_list_elem_update() 210 if (!strstr(fcu->rna_path, "sequences_all")) { in animchan_sync_fcurve_scene() 217 char *seq_name = BLI_str_quoted_substrN(fcu->rna_path, "sequences_all["); in animchan_sync_fcurve_scene() 245 if (ELEM(NULL, fcu, fcu->rna_path, owner_id)) { in animchan_sync_fcurve()
|
/dports/graphics/blender/blender-2.91.0/source/blender/io/collada/ |
H A D | AnimationImporter.cpp | 62 fcu->rna_path = BLI_strdupn(rna_path, strlen(rna_path)); in create_fcurve() 221 fcu->rna_path = BLI_strdupn(rna_path, strlen(rna_path)); in add_fcurves_to_object() 474 fcu->rna_path = BLI_strdup(rna_path); in modify_fcurve() 559 char rna_path[100]; in Assign_transform_animations() local 600 BLI_strncpy(rna_path, "rotation_euler", sizeof(rna_path)); in Assign_transform_animations() 661 char rna_path[100]; in Assign_color_animations() local 662 BLI_strncpy(rna_path, anim_type, sizeof(rna_path)); in Assign_color_animations() 729 BLI_strncpy(rna_path, anim_type, sizeof(rna_path)); in Assign_float_animations() 791 BLI_strncpy(rna_path, anim_type, sizeof(rna_path)); in Assign_lens_animations() 873 BLI_strncpy(rna_path, tm_str, sizeof(rna_path)); in apply_matrix_curves() [all …]
|
H A D | BCAnimationCurve.cpp | 95 FCurve *BCAnimationCurve::create_fcurve(int array_index, const char *rna_path) in create_fcurve() argument 99 fcu->rna_path = BLI_strdupn(rna_path, strlen(rna_path)); in create_fcurve() 172 if (fcurve == NULL || fcurve->rna_path == NULL) { in get_animation_name() 427 const std::string rna_path = curve_key.get_path(); in add_value_from_rna() local 569 this->rna_path = ""; in BCCurveKey() 580 this->rna_path = path; in BCCurveKey() 588 this->rna_path = other.rna_path; in operator =() 595 return this->rna_path + '[' + std::to_string(this->curve_array_index) + ']'; in get_full_path() 600 return this->rna_path; in get_path() 634 if (this->rna_path != other.rna_path) { in operator <() [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/editors/include/ |
H A D | ED_keyframing.h | 77 const char rna_path[], 81 const char rna_path[], 140 const char rna_path[], 154 const char rna_path[], 330 const char rna_path[], 334 struct FCurve *alloc_driver_fcurve(const char rna_path[], 369 const char rna_path[], 378 struct ReportList *reports, struct ID *id, const char rna_path[], int array_index, short flag); 397 struct ReportList *reports, struct ID *id, const char rna_path[], int array_index, short flag); 404 struct ReportList *reports, struct ID *id, const char rna_path[], int array_index, short flag);
|
/dports/graphics/blender/blender-2.91.0/source/blender/depsgraph/intern/builder/ |
H A D | deg_builder_relations_drivers.cc | 103 fcu_->rna_path, in depsgraph_key() 109 const char *last_dot = strrchr(fcu_->rna_path, '.'); in split_rna_path() 112 rna_suffix = StringRef(fcu_->rna_path); in split_rna_path() 116 rna_prefix = StringRef(fcu_->rna_path, last_dot); in split_rna_path() 122 return RNA_path_resolve_property(id_ptr_, fcu_->rna_path, &pointer_rna_, &property_rna_); in resolve_rna() 190 if (fcu->rna_path == nullptr) { in build_driver_relations()
|
H A D | deg_builder_cache.cc | 92 if (fcurve->rna_path == nullptr || fcurve->rna_path[0] == '\0') { in animated_property_cb() 100 &data->pointer_rna, fcurve->rna_path, &pointer_rna, &property_rna)) { in animated_property_cb()
|
H A D | deg_builder_relations.cc | 133 (target->rna_path != nullptr && STREQ(target->rna_path, "frame_current"))) { in driver_target_depends_on_time() 1376 fcu->rna_path ? fcu->rna_path : "", in build_animdata_drivers() 1437 fcu->rna_path ? fcu->rna_path : "", in build_driver() 1456 const char *rna_path = fcu->rna_path; in build_driver_data() local 1457 if (rna_path == nullptr || rna_path[0] == '\0') { in build_driver_data() 1561 fcu->rna_path ? fcu->rna_path : "", in build_driver_variables() 1563 const char *rna_path = fcu->rna_path ? fcu->rna_path : ""; in build_driver_variables() local 1573 build_driver_id_property(target_id, dtar->rna_path); in build_driver_variables() 1584 build_driver_id_property(target_id, dtar->rna_path); in build_driver_variables() 1612 else if (dtar->rna_path != nullptr && dtar->rna_path[0] != '\0') { in build_driver_variables() [all …]
|
/dports/graphics/blender/blender-2.91.0/release/scripts/modules/ |
H A D | graphviz_export.py | 152 def rna_path_as_pbone(rna_path): argument 153 if not rna_path.startswith("pose.bones["): 158 bone_name = rna_path.split("[")[1].split("]")[0] 168 rna_path = fcurve_driver.data_path 169 pbone = rna_path_as_pbone(rna_path) 186 display_source = rna_path.replace("pose.bones", "")
|
H A D | rna_xml.py | 377 for rna_path, xml_tag in rna_map: 383 value = _get_context_val(context, rna_path) 386 print(" loading XML: %r -> %r" % (filepath, rna_path)) 397 for rna_path, _xml_tag in rna_map: 399 value = _get_context_val(context, rna_path)
|
/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/intern/ |
H A D | anim_data.c | 531 MEM_freeN(fcu->rna_path); in animpath_update_basepath() 532 fcu->rna_path = new_path; in animpath_update_basepath() 852 if (fcu->rna_path == NULL) { in fcurves_path_rename_fix() 855 const char *old_path = fcu->rna_path; in fcurves_path_rename_fix() 857 fcu->rna_path = rna_path_rename_fix( in fcurves_path_rename_fix() 862 if (fcu->rna_path != old_path) { in fcurves_path_rename_fix() 889 if (fcu->rna_path != NULL) { in drivers_path_rename_fix() 891 fcu->rna_path = rna_path_rename_fix( in drivers_path_rename_fix() 905 if (dtar->rna_path && dtar->id) { in drivers_path_rename_fix() 1153 if (fcu->rna_path) { in fcurves_path_remove_fix() [all …]
|
H A D | anim_sys.c | 115 if ((ksp->rna_path == NULL) || !STREQ(rna_path, ksp->rna_path)) { in BKE_keyingset_find_path() 188 if (ELEM(NULL, ks, rna_path)) { in BKE_keyingset_add_path() 226 ksp->rna_path = BLI_strdup(rna_path); in BKE_keyingset_add_path() 249 if (ksp->rna_path) { in BKE_keyingset_free_path() 250 MEM_freeN(ksp->rna_path); in BKE_keyingset_free_path() 269 kspn->rna_path = MEM_dupallocN(kspn->rna_path); in BKE_keyingsets_copy() 324 if (ksp->rna_path) { in BKE_keyingsets_blend_write() 372 const char *path = rna_path; in BKE_animsys_store_rna_setting() 1325 nec->rna_path = path; in nlaevalchan_verify_key() 1393 if (nec->rna_path == NULL) { in nlaevalchan_verify() [all …]
|
H A D | fcurve_driver.c | 120 CLOG_ERROR(&LOG, "driver has an invalid target to use (path = %s)", dtar->rna_path); in dtar_get_prop_val() 132 if (!RNA_path_resolve_property_full(&id_ptr, dtar->rna_path, &ptr, &prop, &index)) { in dtar_get_prop_val() 138 dtar->rna_path); in dtar_get_prop_val() 154 dtar->rna_path, in dtar_get_prop_val() 227 CLOG_ERROR(&LOG, "driver has an invalid target to use (path = %s)", dtar->rna_path); in driver_get_variable_property() 239 if (dtar->rna_path == NULL || dtar->rna_path[0] == '\0') { in driver_get_variable_property() 252 dtar->rna_path); in driver_get_variable_property() 738 if (dtar->rna_path) { in driver_free_variable() 739 MEM_freeN(dtar->rna_path); in driver_free_variable() 768 if (dtar->rna_path) { in driver_variables_copy() [all …]
|
H A D | fcurve.c | 90 MEM_SAFE_FREE(fcu->rna_path); in BKE_fcurve_free() 150 fcu_d->rna_path = MEM_dupallocN(fcu_d->rna_path); in BKE_fcurve_copy() 282 if (fcu->rna_path && STREQ(fcu->rna_path, rna_path)) { in BKE_fcurve_find() 299 if (ELEM(NULL, fcu_iter, rna_path)) { in BKE_fcurve_iter_step() 306 if (fcu->rna_path && STREQ(fcu->rna_path, rna_path)) { in BKE_fcurve_iter_step() 342 if (fcu->rna_path == NULL || !strstr(fcu->rna_path, dataPrefix)) { in BKE_fcurves_filter() 2257 if (fcu->rna_path) { in BKE_fcurve_blend_write() 2258 BLO_write_string(writer, fcu->rna_path); in BKE_fcurve_blend_write() 2271 if (dtar->rna_path) { in BKE_fcurve_blend_write() 2293 BLO_read_data_address(reader, &fcu->rna_path); in BKE_fcurve_blend_read_data() [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/editors/space_clip/ |
H A D | clip_utils.c | 343 char rna_path[MAX_NAME * 4 + 64]; in clip_delete_track() local 344 BKE_tracking_get_rna_path_for_track(tracking, track, rna_path, sizeof(rna_path)); in clip_delete_track() 345 if (BKE_animdata_fix_paths_remove(&clip->id, rna_path)) { in clip_delete_track() 384 char rna_path[MAX_NAME * 4 + 64]; in clip_delete_plane_track() local 385 BKE_tracking_get_rna_path_for_plane_track(tracking, plane_track, rna_path, sizeof(rna_path)); in clip_delete_plane_track() 386 if (BKE_animdata_fix_paths_remove(&clip->id, rna_path)) { in clip_delete_plane_track()
|
/dports/graphics/blender/blender-2.91.0/release/scripts/startup/bl_operators/ |
H A D | presets.py | 165 for rna_path in self.preset_defines: 166 exec(rna_path) 167 file_preset.write("%s\n" % rna_path) 170 for rna_path in self.preset_values: 171 value = eval(rna_path) 172 rna_recursive_attr_expand(value, rna_path, 1)
|
/dports/graphics/blender/blender-2.91.0/source/blender/editors/armature/ |
H A D | armature_relations.c | 157 if ((id == src_id) && strstr(fcu->rna_path, "pose.bones[")) { in joined_armature_fix_animdata_cb() 164 if (!STREQ(old_name, new_name) && strstr(fcu->rna_path, old_name)) { in joined_armature_fix_animdata_cb() 165 fcu->rna_path = BKE_animsys_fix_rna_path_rename( in joined_armature_fix_animdata_cb() 166 id, fcu->rna_path, "pose.bones", old_name, new_name, 0, 0, false); in joined_armature_fix_animdata_cb() 197 if ((dtar->rna_path && strstr(dtar->rna_path, "pose.bones[")) || (dtar->pchan_name[0])) { in joined_armature_fix_animdata_cb() 204 if ((dtar->rna_path) && strstr(dtar->rna_path, old_name)) { in joined_armature_fix_animdata_cb() 206 dtar->rna_path = BKE_animsys_fix_rna_path_rename( in joined_armature_fix_animdata_cb() 207 id, dtar->rna_path, "pose.bones", old_name, new_name, 0, 0, false); in joined_armature_fix_animdata_cb()
|
/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/ |
H A D | BKE_animsys.h | 83 const char rna_path[], 92 const char rna_path[], 242 const char *rna_path,
|