Blender
V3.3
|
Go to the source code of this file.
Macros | |
#define | RNA_BEGIN(sptr, itemptr, propname) |
#define | RNA_END |
#define | RNA_PROP_BEGIN(sptr, itemptr, prop) |
#define | RNA_PROP_END |
#define | RNA_STRUCT_BEGIN(sptr, prop) |
#define | RNA_STRUCT_BEGIN_SKIP_RNA_TYPE(sptr, prop) |
#define | RNA_STRUCT_END |
#define | RNA_POINTER_INVALIDATE(ptr) |
#define | RNA_warning(format, ...) _RNA_warning("%s: " format "\n", __FUNCTION__, __VA_ARGS__) |
Typedefs | |
typedef void enum eRNACompareMode | eRNACompareMode |
typedef enum eRNAOverrideMatch | eRNAOverrideMatch |
typedef enum eRNAOverrideMatchResult | eRNAOverrideMatchResult |
typedef enum eRNAOverrideStatus | eRNAOverrideStatus |
typedef enum eRNAOverrideApplyFlag | eRNAOverrideApplyFlag |
Enumerations | |
enum | eRNACompareMode { RNA_EQ_STRICT , RNA_EQ_UNSET_MATCH_ANY , RNA_EQ_UNSET_MATCH_NONE , RNA_EQ_COMPARE } |
enum | eRNAOverrideMatch { RNA_OVERRIDE_COMPARE_IGNORE_NON_OVERRIDABLE = 1 << 0 , RNA_OVERRIDE_COMPARE_IGNORE_OVERRIDDEN = 1 << 1 , RNA_OVERRIDE_COMPARE_CREATE = 1 << 16 , RNA_OVERRIDE_COMPARE_RESTORE = 1 << 17 } |
enum | eRNAOverrideMatchResult { RNA_OVERRIDE_MATCH_RESULT_CREATED = 1 << 0 , RNA_OVERRIDE_MATCH_RESULT_RESTORED = 1 << 1 } |
enum | eRNAOverrideStatus { RNA_OVERRIDE_STATUS_OVERRIDABLE = 1 << 0 , RNA_OVERRIDE_STATUS_OVERRIDDEN = 1 << 1 , RNA_OVERRIDE_STATUS_MANDATORY = 1 << 2 , RNA_OVERRIDE_STATUS_LOCKED = 1 << 3 } |
enum | eRNAOverrideApplyFlag { RNA_OVERRIDE_APPLY_FLAG_NOP = 0 , RNA_OVERRIDE_APPLY_FLAG_IGNORE_ID_POINTERS = 1 << 0 } |
Variables | |
BlenderRNA | BLENDER_RNA |
const PointerRNA | PointerRNA_NULL |
#define RNA_BEGIN | ( | sptr, | |
itemptr, | |||
propname | |||
) |
Definition at line 543 of file RNA_access.h.
#define RNA_END |
Definition at line 550 of file RNA_access.h.
Definition at line 744 of file RNA_access.h.
#define RNA_PROP_BEGIN | ( | sptr, | |
itemptr, | |||
prop | |||
) |
Definition at line 556 of file RNA_access.h.
#define RNA_PROP_END |
Definition at line 563 of file RNA_access.h.
#define RNA_STRUCT_BEGIN | ( | sptr, | |
prop | |||
) |
Definition at line 569 of file RNA_access.h.
#define RNA_STRUCT_BEGIN_SKIP_RNA_TYPE | ( | sptr, | |
prop | |||
) |
Definition at line 578 of file RNA_access.h.
#define RNA_STRUCT_END |
Definition at line 589 of file RNA_access.h.
#define RNA_warning | ( | format, | |
... | |||
) | _RNA_warning("%s: " format "\n", __FUNCTION__, __VA_ARGS__) |
Definition at line 756 of file RNA_access.h.
typedef void enum eRNACompareMode eRNACompareMode |
typedef enum eRNAOverrideApplyFlag eRNAOverrideApplyFlag |
typedef enum eRNAOverrideMatch eRNAOverrideMatch |
Flags for RNA_struct_override_matches.
typedef enum eRNAOverrideMatchResult eRNAOverrideMatchResult |
typedef enum eRNAOverrideStatus eRNAOverrideStatus |
enum eRNACompareMode |
Enumerator | |
---|---|
RNA_EQ_STRICT | Set/unset ignored. |
RNA_EQ_UNSET_MATCH_ANY | Unset property matches anything. |
RNA_EQ_UNSET_MATCH_NONE | Unset property never matches set property. |
RNA_EQ_COMPARE | Full comparison. |
Definition at line 768 of file RNA_access.h.
Enumerator | |
---|---|
RNA_OVERRIDE_APPLY_FLAG_NOP | |
RNA_OVERRIDE_APPLY_FLAG_IGNORE_ID_POINTERS | Hack to work around/fix older broken overrides: Do not apply override operations affecting ID pointers properties, unless the destination original value (the one being overridden) is NULL. |
Definition at line 855 of file RNA_access.h.
enum eRNAOverrideMatch |
Flags for RNA_struct_override_matches.
Definition at line 793 of file RNA_access.h.
Definition at line 805 of file RNA_access.h.
enum eRNAOverrideStatus |
Definition at line 815 of file RNA_access.h.
void _RNA_warning | ( | const char * | format, |
... | |||
) |
Use to implement the RNA_warning macro which includes __func__
suffix.
StructRNA* ID_code_to_RNA_type | ( | short | idcode | ) |
void RNA_blender_rna_pointer_create | ( | PointerRNA * | r_ptr | ) |
Definition at line 179 of file rna_access.c.
References BLENDER_RNA, PointerRNA::data, NULL, PointerRNA::owner_id, and PointerRNA::type.
Referenced by BPY_rna_types(), pyrna_alloc_types(), pyrna_free_types(), and pyrna_unregister_class().
bool RNA_boolean_get | ( | PointerRNA * | ptr, |
const char * | name | ||
) |
Definition at line 4863 of file rna_access.c.
References StructRNA::identifier, ptr, RNA_property_boolean_get(), RNA_struct_find_property(), and PointerRNA::type.
Referenced by action_unlink_exec(), actkeys_box_select_exec(), actkeys_box_select_invoke(), actkeys_clean_exec(), actkeys_clickselect_exec(), actkeys_paste_description(), actkeys_paste_exec(), actkeys_select_leftright_exec(), add_keyingset_button_exec(), add_primitive_circle_exec(), add_primitive_cone_exec(), add_primitive_cube_exec(), add_primitive_cube_gizmo_exec(), add_primitive_cylinder_exec(), add_primitive_grid_exec(), add_primitive_icosphere_exec(), add_primitive_monkey_exec(), add_primitive_plane_exec(), add_primitive_uvsphere_exec(), advanced_panel_draw(), animchannels_box_select_exec(), animchannels_channel_select_keys_invoke(), animchannels_collapse_exec(), animchannels_expand_exec(), animchannels_mouseclick_invoke(), annotation_draw_exec(), annotation_draw_invoke(), anything_showing_through(), apply_armature_pose2bones_exec(), armature_calc_roll_exec(), armature_duplicate_selected_exec(), armature_extrude_exec(), armature_flip_names_exec(), armature_hide_exec(), armature_reveal_exec(), armature_select_hierarchy_exec(), armature_select_linked_exec(), armature_select_linked_pick_invoke(), armature_select_mirror_exec(), asset_clear_exec(), asset_clear_get_description(), average_islands_scale_exec(), average_tracks_exec(), bake_init_api_data(), bake_panel_draw(), box_select_graph_exec(), brush_edit_apply(), brush_select_exec(), chaining_panel_draw(), change_frame_apply(), clear_key_button_exec(), clear_track_path_exec(), collection_drop_exec(), collection_isolate_exec(), collection_new_exec(), composition_panel_draw(), connect_hair_exec(), console_clear_exec(), console_history_append_exec(), console_history_cycle_exec(), constant_offset_draw(), constraint_apply_exec(), constraint_copy_exec(), constraint_delete_exec(), copy_data_path_button_exec(), copy_particle_systems_exec(), copy_to_selected_button_exec(), create_orientation_exec(), curvature_panel_draw(), curve_draw_exec(), curve_draw_invoke(), curve_normals_make_consistent_exec(), curve_pen_invoke(), curve_pen_modal(), custom_range_panel_draw(), data_panel_draw(), data_transfer_exec(), data_transfer_get_description(), datalayout_transfer_exec(), delete_key_button_exec(), dial_ghostarc_get_angles(), disconnect_hair_exec(), do_fill_tile(), dopesheet_select_channel_exec(), drop_color_invoke(), dt_layers_select_itemf(), duplicate_exec(), duplicate_particle_systems_exec(), ed_marker_box_select_invoke(), ed_marker_move_invoke(), ed_marker_select_exec(), ed_marker_select_leftright_exec(), ED_select_op_from_operator(), ED_select_pick_params_from_operator(), edbm_bevel_calc(), edbm_bevel_modal(), edbm_bevel_update_status_text(), edbm_blend_from_shape_exec(), edbm_bridge_edge_loops_exec(), edbm_decimate_exec(), edbm_decimate_ui(), edbm_delete_edgeloop_exec(), edbm_delete_loose_exec(), edbm_dissolve_edges_exec(), edbm_dissolve_faces_exec(), edbm_dissolve_limited_exec(), edbm_dissolve_verts_exec(), edbm_do_smooth_laplacian_vertex_exec(), edbm_do_smooth_vertex_exec(), edbm_dupli_extrude_cursor_invoke(), edbm_edge_rotate_selected_exec(), edbm_extrude_edges_exec(), edbm_extrude_mesh(), edbm_fill_exec(), edbm_fill_grid_exec(), edbm_flip_normals_exec(), edbm_hide_exec(), edbm_inset_calc(), edbm_inset_modal(), edbm_inset_update_header(), edbm_intersect_boolean_exec(), edbm_loop_multiselect_exec(), edbm_loop_to_region_exec(), edbm_mark_seam_exec(), edbm_mark_sharp_exec(), edbm_merge_exec(), edbm_mod_weighted_strength_exec(), edbm_normals_make_consistent_exec(), edbm_normals_tools_exec(), edbm_offset_edgeloop_exec(), edbm_poke_face_exec(), edbm_polybuild_face_at_cursor_invoke(), edbm_remove_doubles_exec(), edbm_reveal_exec(), edbm_rip_invoke(), edbm_rotate_colors_exec(), edbm_rotate_uvs_exec(), edbm_select_face_by_sides_exec(), edbm_select_less_exec(), edbm_select_linked_pick_exec(), edbm_select_linked_pick_invoke(), edbm_select_loop_invoke(), edbm_select_loose_exec(), edbm_select_mirror_exec(), edbm_select_mode_exec(), edbm_select_more_exec(), edbm_select_non_manifold_exec(), edbm_select_ungrouped_exec(), edbm_set_normals_from_faces_exec(), edbm_sort_elements_exec(), edbm_spin_exec(), edbm_spin_poll_property(), edbm_subdivide_exec(), edbm_tris_convert_to_quads_exec(), edbm_wireframe_exec(), edge_panel_draw(), edge_types_panel_draw(), face_corner_panel_draw(), face_mark_panel_draw(), face_mark_panel_draw_header(), face_panel_draw(), face_select_hide_exec(), face_vert_reveal_exec(), fade_panel_draw(), file_browse_exec(), file_directory_new_exec(), file_select_exec(), file_walk_select_invoke(), fileselect_ensure_updated_file_params(), find_missing_files_exec(), frame_jump_exec(), generate_panel_draw(), get_boolean(), BlenderSync::get_scene_params(), BlenderSync::get_session_params(), gizmo_button2d_cursor_get(), gizmo_move_invoke(), gizmo_select_invoke(), gpencil_bake_grease_pencil_animation_exec(), gpencil_bake_mesh_animation_exec(), gpencil_blank_frame_add_exec(), gpencil_convert_layer_exec(), gpencil_convert_old_files_exec(), gpencil_convert_poll_property(), gpencil_cutter_lasso_select(), gpencil_draw_apply_event(), gpencil_draw_exec(), gpencil_draw_invoke(), gpencil_editmode_toggle_exec(), gpencil_extract_palette_vertex_exec(), gpencil_fill_modal(), gpencil_guide_rotate(), gpencil_hide_exec(), gpencil_interpolate_seq_exec(), gpencil_interpolate_set_init_values(), gpencil_isolate_layer_exec(), gpencil_layer_duplicate_object_exec(), gpencil_material_hide_exec(), gpencil_material_isolate_exec(), gpencil_material_select_exec(), gpencil_material_to_vertex_exec(), gpencil_materials_copy_to_object_exec(), gpencil_merge_by_distance_exec(), gpencil_modifier_apply_exec(), gpencil_modifier_remove_exec(), gpencil_paintmode_toggle_exec(), gpencil_prepare_stroke(), gpencil_primitive_invoke(), gpencil_reveal_exec(), gpencil_sculpt_brush_apply(), gpencil_sculpt_brush_invoke(), gpencil_sculpt_brush_modal(), gpencil_sculptmode_toggle_exec(), gpencil_select_alternate_exec(), gpencil_select_exec(), gpencil_select_first_exec(), gpencil_select_last_exec(), gpencil_select_random_exec(), gpencil_session_initdata(), gpencil_smooth_stroke(), gpencil_snap_to_cursor(), gpencil_stroke_cyclical_set_exec(), gpencil_stroke_join_exec(), gpencil_stroke_merge_exec(), gpencil_strokes_paste_exec(), gpencil_strokes_reproject_exec(), gpencil_trace_image_exec(), gpencil_transform_fill_modal(), gpencil_vertex_group_normalize_all_exec(), gpencil_vertexmode_toggle_exec(), gpencil_vertexpaint_brush_apply(), gpencil_vertexpaint_brush_invoke(), gpencil_vertexpaint_brush_modal(), gpencil_weightmode_toggle_exec(), gpencil_weightpaint_brush_invoke(), gpencil_weightpaint_brush_modal(), graph_circle_select_exec(), graph_driver_vars_paste_exec(), graph_fmodifier_add_exec(), graph_fmodifier_paste_exec(), graph_panel_cursor(), graphkeys_box_select_exec(), graphkeys_box_select_invoke(), graphkeys_clean_exec(), graphkeys_click_insert_exec(), graphkeys_clickselect_exec(), graphkeys_equalize_handles_exec(), graphkeys_lassoselect_exec(), graphkeys_paste_description(), graphkeys_paste_exec(), graphkeys_select_leftright_exec(), graphkeys_view_selected_exec(), graphkeys_viewall_exec(), graphview_curves_hide_exec(), graphview_curves_reveal_exec(), hide_exec(), hide_metaelems_exec(), hide_tracks_exec(), image_cycle_render_slot_exec(), image_flip_exec(), image_invert_exec(), image_new_exec(), image_open_draw(), image_open_exec(), image_save_as_draw(), image_save_as_draw_check_prop(), image_save_options_from_op(), image_sequence_get_frame_ranges(), image_to_gpencil_exec(), image_view_all(), image_view_zoom_border_exec(), image_view_zoom_invoke(), image_view_zoom_modal(), initTransInfo(), insert_key_button_exec(), insert_key_menu_invoke(), intersection_panel_draw(), is_spline_nearby(), keyframe_jump_exec(), knifeproject_exec(), knifetool_invoke(), lattice_select_mirror_exec(), lattice_select_ungrouped_exec(), limits_panel_draw(), load_data_init_from_operator(), localview_exec(), make_single_user_exec(), marker_jump_exec(), mask_hide_view_clear_exec(), mask_hide_view_set_exec(), mask_select_linked_pick_invoke(), mask_shape_key_rekey_exec(), material_mask_panel_draw(), material_mask_panel_draw_header(), materials_panel_draw(), mesh_bisect_exec(), mesh_bisect_interactive_calc(), mesh_bisect_invoke(), mesh_symmetry_snap_exec(), minimize_stretch_init(), mix_mode_panel_draw(), modifier_apply_as_shapekey_exec(), modifier_apply_as_shapekey_get_description(), modifier_apply_exec_ex(), modifier_remove_exec(), move_to_collection_exec(), move_to_collection_invoke(), multires_external_save_exec(), nla_action_unlink_exec(), nla_fmodifier_add_exec(), nla_fmodifier_paste_exec(), nla_panel_actclip(), nla_panel_animated_strip_time(), nla_panel_evaluation(), nla_panel_properties(), nlachannels_mouseclick_invoke(), nlaedit_add_tracks_exec(), nlaedit_box_select_exec(), nlaedit_box_select_invoke(), nlaedit_clickselect_exec(), nlaedit_disable_tweakmode_exec(), nlaedit_duplicate_exec(), nlaedit_enable_tweakmode_exec(), nlaedit_select_leftright_exec(), nlaedit_sync_actlen_exec(), blender::ed::space_node::node_box_select_invoke(), blender::ed::space_node::node_buts_image_user(), blender::ed::space_node::node_buts_image_views(), blender::nodes::node_composite_blur_cc::node_composit_buts_blur(), blender::nodes::node_composite_color_spill_cc::node_composit_buts_color_spill(), blender::nodes::node_composite_crop_cc::node_composit_buts_crop(), blender::nodes::node_composite_defocus_cc::node_composit_buts_defocus(), blender::nodes::node_composite_output_file_cc::node_composit_buts_file_output_ex(), blender::nodes::node_composite_lensdist_cc::node_composit_buts_lensdist(), blender::nodes::node_composite_map_value_cc::node_composit_buts_map_value(), blender::ed::space_node::node_duplicate_exec(), blender::ed::space_node::node_file_output_socket_draw(), blender::ed::space_node::node_group_edit_exec(), blender::ed::space_node::node_lasso_select_invoke(), blender::ed::space_node::node_link_invoke(), blender::ed::space_node::node_link_modal(), blender::ed::space_node::node_make_link_exec(), blender::ed::space_node::node_mouse_select(), blender::ed::space_node::node_select_grouped_exec(), blender::ed::space_node::node_select_same_type_step_exec(), blender::nodes::node_shader_tex_sky_cc::node_shader_buts_tex_sky(), blender::nodes::node_shader_uvmap_cc::node_shader_buts_uvmap(), object_add_hook_selob_exec(), object_add_named_exec(), object_add_ui(), object_clear_paths_exec(), object_clear_transform_generic_exec(), object_convert_exec(), object_delete_exec(), object_duplicates_make_real_exec(), object_gpencil_add_exec(), object_hide_collection_exec(), object_hide_view_clear_exec(), object_hide_view_set_exec(), object_mode_set_exec(), object_offset_draw(), object_select_by_type_exec(), object_select_grouped_exec(), object_select_linked_exec(), object_select_menu_exec(), object_select_mirror_exec(), object_subdivision_type(), object_transfer_mode_to_base(), object_transform_apply_exec(), occlusion_panel_draw(), ocean_bake_exec(), offset_panel_draw(), op_generic_value_invoke(), open_exec(), options_light_reference_draw(), options_panel_draw(), outliner_box_select_invoke(), outliner_delete_exec(), outliner_item_activate_invoke(), outliner_item_openclose_invoke(), outliner_item_rename(), outliner_one_level_exec(), outliner_orphans_purge_exec(), outliner_orphans_purge_invoke(), outliner_scroll_page_exec(), outliner_walk_select_invoke(), override_remove_button_exec(), override_type_set_button_exec(), pack_islands_exec(), paint_mask_extract_exec(), paint_mask_slice_exec(), paint_select_linked_pick_invoke(), blender::ed::sculpt_paint::image::ops::paint::paint_stroke_update_step(), paintcurve_select_point_exec(), paintcurve_select_point_invoke(), paintcurve_slide_invoke(), panel_custom_data_active_get(), panel_draw(), parent_noinv_set_exec(), parent_set_exec(), path_panel_draw(), path_select_params_from_op(), point_normals_apply(), point_normals_draw_check_prop(), point_normals_update_header(), pose_armature_layers_showall_exec(), pose_clear_paths_exec(), pose_clear_user_transforms_exec(), pose_flip_names_exec(), pose_hide_exec(), pose_ik_add_exec(), pose_paste_exec(), pose_reveal_exec(), pose_select_connected_invoke(), pose_select_grouped_exec(), pose_select_hierarchy_exec(), pose_select_mirror_exec(), poselib_blend_init_data(), proj_paint_image_create(), ptcache_baker_create(), quadriflow_remesh_exec(), radial_control_get_properties(), radial_control_modal(), random_panel_draw(), refine_marker_exec(), relative_offset_draw(), remove_driver_button_exec(), reset_default_button_exec(), reveal_exec(), reveal_metaelems_exec(), ringsel_init(), rna_GPConvert_mode_items(), sample_color_exec(), sample_color_invoke(), sample_color_modal(), screen_animation_cancel_exec(), screen_animation_play_exec(), screen_maximize_area_exec(), screen_opengl_render_description(), screen_opengl_render_exec(), screen_opengl_render_init(), screen_opengl_render_invoke(), screen_opengl_render_modal(), screen_render_exec(), screen_render_invoke(), sculpt_brush_stroke_invoke(), sculpt_cloth_filter_invoke(), sculpt_dirty_mask_exec(), sculpt_expand_cache_initial_config_set(), sculpt_face_set_edit_invoke(), sculpt_gesture_context_init_common(), sculpt_gesture_init_from_line(), sculpt_gesture_init_trim_properties(), sculpt_mask_by_color_invoke(), sculpt_mask_expand_cancel(), sculpt_mask_expand_invoke(), sculpt_mask_expand_modal(), sculpt_mask_filter_exec(), sculpt_update_cache_variants(), blender::ed::sculpt_paint::select_end::select_end_exec(), select_exec(), select_linked_pick_exec(), select_linked_pick_invoke(), blender::ed::sculpt_paint::select_random::select_random_exec(), blender::ed::sculpt_paint::select_random::select_random_ui(), select_report_pick_exec(), seq_load_apply_generic_options(), seq_load_apply_generic_options_only_test_overlap(), sequencer_add_draw(), sequencer_add_effect_strip_exec(), sequencer_add_image_strip_calculate_length(), sequencer_add_image_strip_exec(), sequencer_add_image_strip_load_files(), sequencer_add_mask_strip_exec(), sequencer_add_movie_multiple_strips(), sequencer_add_movie_single_strip(), sequencer_add_movie_strip_exec(), sequencer_add_movieclip_strip_exec(), sequencer_add_scene_strip_exec(), sequencer_add_scene_strip_new_exec(), sequencer_add_sound_strip_exec(), sequencer_box_select_exec(), sequencer_box_select_invoke(), sequencer_change_path_exec(), sequencer_delete_exec(), sequencer_enable_proxies_exec(), sequencer_gap_remove_exec(), sequencer_mute_exec(), sequencer_paste_exec(), sequencer_reload_exec(), sequencer_select_exec(), sequencer_select_grouped_exec(), sequencer_select_linked_pick_invoke(), sequencer_select_side_of_frame_exec(), sequencer_set_range_to_strips_exec(), sequencer_split_exec(), sequencer_split_invoke(), sequencer_split_ui(), sequencer_strip_jump_exec(), sequencer_unmute_exec(), set_spline_type_exec(), set_style_exec(), shade_smooth_exec(), shaderfx_remove_exec(), shape_key_add_exec(), shape_key_mirror_exec(), shape_key_remove_exec(), shape_key_remove_get_description(), slide_point_customdata(), smart_project_exec(), snap_selected_to_cursor_exec(), sound_mixdown_exec(), stencil_fit_image_aspect_exec(), stencil_reset_transform_exec(), stepped_panel_draw(), stitch_init_all(), symmetry_panel_draw(), BlenderSync::sync_integrator(), text_open_exec(), text_paste_exec(), text_replace_exec(), text_to_3d_object_exec(), tile_add_draw(), tile_add_exec(), track_markers(), track_markers_desc(), transform_mode_init(), transform_poll_property(), ui_button_press_invoke(), uiTemplateCacheFileProcedural(), uiTemplateCacheFileTimeSettings(), uiTemplateImage(), uiTemplateImageFormatViews(), unwrap_exec(), uv_box_select_exec(), uv_from_view_exec(), uv_hide_exec(), uv_map_clip_correct_multi(), uv_mark_seam_exec(), uv_pin_exec(), uv_remove_doubles_exec(), uv_reveal_exec(), uv_seams_from_islands_exec(), uv_select_edge_ring_exec(), uv_select_linked_internal(), uv_select_loop_exec(), uv_select_overlap_exec(), v3d_transform_butsR(), vert_select_hide_exec(), vert_select_ungrouped_exec(), vertex_group_clean_exec(), vertex_group_invert_exec(), vertex_group_mirror_exec(), vertex_group_normalize_all_exec(), vertex_group_remove_exec(), vertex_group_remove_from_exec(), vertex_panel_draw(), vgroup_panel_draw(), view3d_all_exec(), view3d_interactive_add_invoke(), view3d_pastebuffer_exec(), view3d_select_exec(), view3d_zoom_border_exec(), view_all_exec(), view_axis_exec(), view_borderzoom_exec(), view_zoom_modal(), view_zoomdrag_apply(), viewdolly_exec(), viewdolly_invoke(), viewmove_invoke(), viewrotate_invoke(), viewselected_exec(), viewzoom_exec(), viewzoom_invoke(), viewzoom_modal(), volume_import_exec(), wave_panel_draw(), wm_call_panel_exec(), WM_gesture_box_invoke(), WM_gesture_circle_invoke(), wm_homefile_read_exec(), wm_lib_relocate_exec_do(), wm_link_append_exec(), wm_link_append_flag(), wm_open_mainfile__discard_changes(), wm_open_mainfile__open(), WM_operator_confirm_or_exec(), WM_operator_drop_load_path(), wm_recover_auto_save_exec(), wm_recover_last_session_exec(), wm_revert_mainfile_exec(), wm_save_as_mainfile_exec(), wm_save_as_mainfile_get_description(), wm_save_as_mainfile_get_name(), wm_xr_navigation_fly_modal(), wm_xr_navigation_grab_modal(), wm_xr_navigation_reset_exec(), wm_xr_navigation_teleport_modal(), wm_xr_raycast_update(), and wpaint_stroke_update_step().
void RNA_boolean_get_array | ( | PointerRNA * | ptr, |
const char * | name, | ||
bool * | values | ||
) |
Definition at line 4886 of file rna_access.c.
References StructRNA::identifier, ptr, RNA_property_boolean_get_array(), RNA_struct_find_property(), and PointerRNA::type.
Referenced by armature_bone_layers_exec(), armature_layers_exec(), armature_layers_invoke(), gizmo_mesh_extrude_refresh(), panel_draw(), pose_bone_layers_exec(), and wm_xr_navigation_teleport_modal().
void RNA_boolean_set | ( | PointerRNA * | ptr, |
const char * | name, | ||
bool | value | ||
) |
Definition at line 4874 of file rna_access.c.
References StructRNA::identifier, ptr, RNA_property_boolean_set(), RNA_struct_find_property(), and PointerRNA::type.
Referenced by action_unlink_invoke(), annotation_draw_apply_event(), bone_mouse_select_menu(), brush_edit_apply_event(), change_frame_invoke(), change_frame_modal(), ED_operatormacros_action(), ED_operatormacros_armature(), ED_operatormacros_clip(), ED_operatormacros_curve(), ED_operatormacros_gpencil(), ED_operatormacros_graph(), ED_operatormacros_mask(), ED_operatormacros_mesh(), ED_operatormacros_metaball(), ED_operatormacros_nla(), ED_operatormacros_node(), ED_operatormacros_object(), ED_operatormacros_paint(), ED_operatormacros_uvedit(), edbm_bevel_modal(), edbm_inset_modal(), edbm_select_mode_invoke(), file_directory_enter_handle(), gesture_straightline_apply(), ghost_event_proc(), gizmo2d_resize_setup(), gizmo2d_rotate_setup(), gizmo2d_xform_setup(), gizmo_mesh_extrude_setup(), gizmo_mesh_spin_redo_setup(), gizmogroup_init_properties_from_twtype(), gpencil_convert_check_has_valid_timing(), gpencil_draw_apply_event(), gpencil_sculpt_brush_apply_event(), gpencil_select_invoke(), gpencil_vertexpaint_brush_apply_event(), gpencil_weightpaint_brush_apply_event(), image_replace_invoke(), image_save_as_init(), lib_relocate(), blender::ed::space_node::link_drag_search_exec_fn(), move_to_collection_menu_create(), nla_action_unlink_invoke(), blender::ed::space_node::node_link_invoke(), object_clear_paths_invoke(), object_mouse_select_menu(), open_invoke(), paint_brush_stroke_add_step(), panel_custom_data_active_set(), parent_set_invoke_menu(), blender::ed::space_node::pick_link(), pose_clear_paths_invoke(), recent_files_menu_draw(), BlenderSession::reset_session(), rigidbody_world_export_invoke(), sample_color_modal(), saveTransform(), screen_area_menu_items(), screen_opengl_render_init(), sequencer_add_movie_strip_invoke(), sequencer_change_path_invoke(), sequencer_disable_one_time_properties(), sequencer_drop_copy(), set_boolean(), stitch_exit(), template_operator_property_buts_draw_single(), blender::bke::tests::test_render_pass_conflict(), tile_fill_init(), transform_from_gizmo_invoke(), ui_but_anim_decorate_cb(), UI_drop_color_copy(), ui_popup_context_menu_for_button(), ui_tooltip_data_from_tool(), uiItemBooleanO(), uiTemplateRecentFiles(), WIDGETGROUP_navigate_setup(), WIDGETGROUP_xform_shear_setup(), WM_gizmogroup_keymap_template_select_ex(), WM_keymap_add_panel(), wm_recover_auto_save_exec(), wm_recover_last_session_exec(), wm_test_autorun_revert_action_exec(), and WM_toolsystem_ref_set_by_id_ex().
void RNA_boolean_set_array | ( | PointerRNA * | ptr, |
const char * | name, | ||
const bool * | values | ||
) |
Definition at line 4898 of file rna_access.c.
References StructRNA::identifier, ptr, RNA_property_boolean_set_array(), RNA_struct_find_property(), and PointerRNA::type.
Referenced by armature_bone_layers_exec(), armature_bone_layers_invoke(), armature_layers_exec(), armature_layers_invoke(), gizmo2d_resize_setup(), gizmo2d_xform_setup(), gizmo_mesh_extrude_invoke_prepare(), gizmo_mesh_extrude_setup(), loopcut_init(), pose_armature_layers_showall_exec(), pose_bone_layers_exec(), and pose_bone_layers_invoke().
void RNA_collection_add | ( | PointerRNA * | ptr, |
const char * | name, | ||
PointerRNA * | r_value | ||
) |
Definition at line 5215 of file rna_access.c.
References StructRNA::identifier, ptr, RNA_property_collection_add(), RNA_struct_find_property(), and PointerRNA::type.
Referenced by annotation_draw_apply_event(), brush_edit_apply_event(), clip_drop_copy(), curve_draw_stroke_to_operator_elem(), gesture_lasso_apply(), gpencil_draw_apply_event(), gpencil_sculpt_brush_apply_event(), gpencil_vertexpaint_brush_apply_event(), gpencil_weightpaint_brush_apply_event(), paint_brush_stroke_add_step(), sequencer_drop_copy(), and stitch_exit().
void RNA_collection_begin | ( | PointerRNA * | ptr, |
const char * | name, | ||
CollectionPropertyIterator * | iter | ||
) |
Definition at line 5203 of file rna_access.c.
References StructRNA::identifier, ptr, RNA_property_collection_begin(), RNA_struct_find_property(), and PointerRNA::type.
void RNA_collection_clear | ( | PointerRNA * | ptr, |
const char * | name | ||
) |
Definition at line 5227 of file rna_access.c.
References StructRNA::identifier, ptr, RNA_property_collection_clear(), RNA_struct_find_property(), and PointerRNA::type.
Referenced by clip_drop_copy(), gesture_lasso_apply(), paint_brush_stroke_add_step(), sequencer_drop_copy(), stitch_exit(), and stitch_init_all().
bool RNA_collection_is_empty | ( | PointerRNA * | ptr, |
const char * | name | ||
) |
Definition at line 5250 of file rna_access.c.
References StructRNA::identifier, ptr, RNA_property_collection_is_empty(), RNA_struct_find_property(), and PointerRNA::type.
Referenced by curve_draw_init(), open_exec(), sequencer_add_image_strip_invoke(), sequencer_add_movie_strip_invoke(), and sequencer_add_sound_strip_invoke().
int RNA_collection_length | ( | PointerRNA * | ptr, |
const char * | name | ||
) |
Definition at line 5239 of file rna_access.c.
References StructRNA::identifier, ptr, RNA_property_collection_length(), RNA_struct_find_property(), and PointerRNA::type.
Referenced by edbm_knife_cut_exec().
int RNA_enum_bitflag_identifiers | ( | const EnumPropertyItem * | item, |
int | value, | ||
const char ** | identifier | ||
) |
Definition at line 1678 of file rna_access.c.
References EnumPropertyItem::identifier, NULL, and EnumPropertyItem::value.
Referenced by pyrna_enum_bitfield_as_set(), and RNA_property_enum_bitflag_identifiers().
bool RNA_enum_description | ( | const EnumPropertyItem * | item, |
int | value, | ||
const char ** | description | ||
) |
Definition at line 1702 of file rna_access.c.
References EnumPropertyItem::description, and RNA_enum_from_value().
Referenced by redraw_timer_exec().
int RNA_enum_from_identifier | ( | const EnumPropertyItem * | item, |
const char * | identifier | ||
) |
Definition at line 1714 of file rna_access.c.
References EnumPropertyItem::identifier, and STREQ.
Referenced by RNA_enum_is_equal(), RNA_enum_value_from_id(), RNA_property_enum_value(), and toolsystem_ref_link().
int RNA_enum_from_name | ( | const EnumPropertyItem * | item, |
const char * | name | ||
) |
Take care using this with translated enums, prefer RNA_enum_from_identifier where possible.
Definition at line 1725 of file rna_access.c.
References EnumPropertyItem::identifier, EnumPropertyItem::name, and STREQ.
Referenced by ui_tooltip_data_from_tool().
int RNA_enum_from_value | ( | const EnumPropertyItem * | item, |
int | value | ||
) |
Definition at line 1736 of file rna_access.c.
References EnumPropertyItem::identifier, and EnumPropertyItem::value.
Referenced by get_texture_layer_type(), graph_fmodifier_itemf(), menu_items_from_ui_create(), nla_fmodifier_itemf(), RNA_enum_description(), RNA_enum_icon_from_value(), RNA_enum_id_from_value(), RNA_enum_identifier(), RNA_enum_name(), RNA_enum_name_from_value(), RNA_property_enum_item_from_value(), RNA_property_enum_step(), scene_new_sequencer_enum_itemf(), space_type_set_or_cycle_exec(), strip_new_sequencer_enum_itemf(), ui_but_event_property_operator_string(), ui_def_but_rna(), userpref_main_region_layout(), WM_key_event_string(), and WM_toolsystem_ref_sync_from_context().
int RNA_enum_get | ( | PointerRNA * | ptr, |
const char * | name | ||
) |
Definition at line 5004 of file rna_access.c.
References StructRNA::identifier, ptr, RNA_property_enum_get(), RNA_struct_find_property(), and PointerRNA::type.
Referenced by action_circle_select_exec(), actkeys_box_select_exec(), actkeys_columnselect_exec(), actkeys_deselectall_exec(), actkeys_easing_exec(), actkeys_expo_exec(), actkeys_handletype_exec(), actkeys_insertkey_exec(), actkeys_ipo_exec(), actkeys_keytype_exec(), actkeys_lassoselect_exec(), actkeys_mirror_exec(), actkeys_paste_exec(), actkeys_select_leftright_exec(), actkeys_select_leftright_invoke(), actkeys_snap_exec(), add_driver_button_menu_exec(), add_primitive_circle_exec(), add_primitive_cone_exec(), add_primitive_cylinder_exec(), animchannels_rearrange_exec(), animchannels_selectall_exec(), animchannels_setflag_exec(), annotation_draw_init(), annotation_draw_invoke(), annotation_draw_modal(), area_split_apply(), area_split_draw_cb(), area_split_init(), area_split_preview_update_cursor(), armature_autoside_names_exec(), armature_calc_roll_exec(), armature_de_select_all_exec(), armature_parent_clear_exec(), armature_parent_set_exec(), armature_select_hierarchy_exec(), armature_select_similar_exec(), armature_symmetrize_exec(), arrow_draw_geom(), average_normals_draw_check_prop(), axis_mapping_panel_draw(), bake_init_api_data(), BKE_scene_uses_cycles_experimental_features(), bone_select_menu_exec(), bookmark_move_exec(), box_select_exec(), brush_curve_preset_exec(), button2d_draw_intern(), cachefile_layer_move_exec(), circle_select_exec(), clean_tracks_exec(), clear_track_path_exec(), clip_lasso_select_exec(), collection_add_info_get_from_op(), collection_link_exec(), collection_objects_remove_exec(), console_delete_exec(), console_move_exec(), console_scrollback_append_exec(), copy_particle_systems_exec(), curve_delete_exec(), curve_draw_exec(), curve_header_draw(), curve_panel_draw(), curve_pen_invoke(), curve_pen_modal(), curve_select_random_exec(), curve_select_similar_exec(), blender::ed::curves::set_selection_domain::curves_set_selection_domain_exec(), custom_range_header_draw(), custom_range_panel_draw(), dash_segment_move_exec(), data_transfer_check(), data_transfer_exec(), data_transfer_poll_property(), datalayout_transfer_exec(), de_select_all_exec(), decimate_desc(), decimate_exec(), decimate_poll_property(), delete_exec(), detect_features_exec(), dial_draw_intern(), dial_ghostarc_get_angles(), disable_markers_exec(), do_fill_tile(), driverdropper_sample(), dt_layers_select_dst_itemf(), dt_layers_select_src_itemf(), dt_mix_mode_itemf(), ed_marker_box_select_exec(), ed_marker_make_links_scene_exec(), ed_marker_select_all_exec(), ed_marker_select_leftright_exec(), ED_select_circle_get_name(), edbm_average_normals_exec(), edbm_bevel_calc(), edbm_bevel_init(), edbm_bevel_modal(), edbm_bevel_ui(), edbm_bevel_update_status_text(), edbm_blend_from_shape_exec(), edbm_bridge_edge_loops_exec(), edbm_decimate_exec(), edbm_delete_exec(), edbm_dissolve_limited_exec(), edbm_edge_split_exec(), edbm_intersect_boolean_exec(), edbm_intersect_boolean_ui(), edbm_intersect_exec(), edbm_intersect_ui(), edbm_merge_exec(), edbm_mod_weighted_strength_exec(), edbm_normals_tools_exec(), edbm_point_normals_modal(), edbm_poke_face_exec(), edbm_quads_convert_to_tris_exec(), edbm_select_all_exec(), edbm_select_axis_exec(), edbm_select_face_by_sides_exec(), edbm_select_linked_exec(), edbm_select_linked_pick_exec(), edbm_select_linked_pick_invoke(), edbm_select_mirror_exec(), edbm_select_mode_exec(), edbm_select_mode_get_description(), edbm_select_random_exec(), edbm_select_similar_exec(), edbm_select_similar_poll_property(), edbm_separate_exec(), edbm_sort_elements_exec(), edbm_sort_elements_poll_property(), edbm_subdivide_exec(), edge_data_panel_draw(), edge_types_panel_draw(), edit_constraint_property_get(), effector_add_exec(), eyedropper_gpencil_init(), face_corner_uv_panel_draw(), face_corner_vcol_panel_draw(), face_map_move_exec(), face_select_all_exec(), falloff_panel_draw(), file_box_select_exec(), file_select_all_exec(), file_walk_select_invoke(), frame_jump_exec(), blender::ed::geometry::geometry_attribute_add_exec(), blender::ed::geometry::geometry_attribute_convert_exec(), blender::ed::geometry::geometry_attribute_convert_ui(), blender::ed::geometry::geometry_color_attribute_add_exec(), geometry_panel_draw(), get_bevel_offset(), get_enum(), BlenderSync::get_scene_params(), get_texture_layer_type(), gizmo_arrow_exit(), gizmo_arrow_modal(), gizmo_arrow_property_update(), gizmo_cage2d_draw_intern(), gizmo_cage2d_modal(), gizmo_cage2d_test_select(), gizmo_cage3d_draw_intern(), gizmo_cage3d_modal(), gizmo_dial_draw(), gizmo_dial_draw_select(), gizmo_mesh_extrude_refresh(), gizmo_primitive_draw_intern(), gpencil_bake_grease_pencil_animation_exec(), gpencil_bake_mesh_animation_exec(), gpencil_circle_select_exec(), gpencil_convert_layer_exec(), gpencil_convert_poll_property(), gpencil_delete_exec(), gpencil_dissolve_exec(), gpencil_draw_init(), gpencil_draw_invoke(), gpencil_draw_modal(), gpencil_editcurve_set_handle_type_exec(), gpencil_frame_clean_duplicate_exec(), gpencil_frame_clean_fill_exec(), gpencil_frame_duplicate_exec(), gpencil_generate_weights_exec(), gpencil_generic_select_exec(), gpencil_interpolate_seq_easing_calc(), gpencil_interpolate_seq_exec(), gpencil_interpolate_seq_ui(), gpencil_interpolate_set_init_values(), gpencil_layer_change_exec(), gpencil_layer_copy_exec(), gpencil_layer_duplicate_object_exec(), gpencil_layer_mask_move_exec(), gpencil_layer_move_exec(), gpencil_material_set_exec(), gpencil_merge_layer_exec(), gpencil_modifier_add_exec(), gpencil_modifier_apply_exec(), gpencil_primitive_init(), gpencil_primitive_update(), gpencil_reset_transform_fill_exec(), gpencil_select_all_exec(), gpencil_select_grouped_exec(), gpencil_select_random_exec(), gpencil_stroke_arrange_exec(), gpencil_stroke_caps_set_exec(), gpencil_stroke_cyclical_set_exec(), gpencil_stroke_join_exec(), gpencil_stroke_merge_exec(), gpencil_stroke_normalize_exec(), gpencil_stroke_normalize_ui(), gpencil_stroke_reset_vertex_color_exec(), gpencil_stroke_separate_exec(), gpencil_strokes_paste_exec(), gpencil_strokes_reproject_exec(), gpencil_trace_image_exec(), gpencil_transform_fill_invoke(), gpencil_uv_transform_calc(), gpencil_uv_transform_update_header(), gpencil_vertexpaint_brightness_contrast_exec(), gpencil_vertexpaint_hsv_exec(), gpencil_vertexpaint_invert_exec(), gpencil_vertexpaint_levels_exec(), gpencil_vertexpaint_set_exec(), graph_circle_select_exec(), graph_disable_markers_exec(), graph_fmodifier_add_exec(), graph_select_all_markers_exec(), graphkeys_box_select_exec(), graphkeys_columnselect_exec(), graphkeys_deselectall_exec(), graphkeys_easing_exec(), graphkeys_equalize_handles_exec(), graphkeys_expo_exec(), graphkeys_handletype_exec(), graphkeys_insertkey_exec(), graphkeys_ipo_exec(), graphkeys_lassoselect_exec(), graphkeys_mirror_exec(), graphkeys_paste_exec(), graphkeys_select_leftright_exec(), graphkeys_select_leftright_invoke(), graphkeys_snap_exec(), group_move_exec(), hide_show_exec(), hide_show_invoke(), image_new_exec(), image_sample_apply(), image_unpack_exec(), keyingset_active_menu_exec(), knifetool_invoke(), lattice_flip_exec(), lattice_select_all_exec(), lattice_select_mirror_exec(), lattice_select_random_exec(), light_cache_bake_tag_cache(), lightprobe_add_exec(), load_data_init_from_operator(), lock_tracks_exec(), make_links_data_exec(), make_links_scene_exec(), make_local_exec(), make_single_user_exec(), mask_flood_fill_exec(), mask_layer_move_exec(), mask_panel_draw(), mass_calculate_poll_property(), material_slot_move_exec(), mball_select_all_exec(), mball_select_similar_exec(), mesh_operator_edgering_props_get(), mesh_symmetrize_exec(), mesh_symmetry_snap_exec(), mode_set_exec(), modifier_add_exec(), move3d_draw_intern(), move_exec(), move_geom_draw(), move_lines_exec(), move_select_exec(), multires_subdivide_exec(), nla_fmodifier_add_exec(), nla_panel_properties(), nla_panel_stripname(), nlaedit_add_actionclip_exec(), nlaedit_box_select_exec(), nlaedit_deselectall_exec(), nlaedit_select_leftright_exec(), nlaedit_select_leftright_invoke(), nlaedit_snap_exec(), blender::ed::space_node::node_box_select_exec(), blender::ed::space_node::node_buts_image_user(), blender::ed::space_node::node_buts_image_views(), blender::ed::space_node::node_circleselect_exec(), blender::nodes::node_composite_blur_cc::node_composit_buts_blur(), blender::nodes::node_composite_channel_matte_cc::node_composit_buts_channel_matte(), blender::nodes::node_composite_color_spill_cc::node_composit_buts_color_spill(), blender::nodes::node_composite_colorbalance_cc::node_composit_buts_colorbalance(), blender::nodes::node_composite_colorbalance_cc::node_composit_buts_colorbalance_ex(), blender::nodes::node_composite_dilate_cc::node_composit_buts_dilateerode(), blender::nodes::node_composite_output_file_cc::node_composit_buts_file_output(), blender::nodes::node_composite_output_file_cc::node_composit_buts_file_output_ex(), blender::nodes::node_composite_glare_cc::node_composit_buts_glare(), blender::nodes::node_composite_scale_cc::node_composit_buts_scale(), blender::nodes::node_composite_tonemap_cc::node_composit_buts_tonemap(), blender::nodes::node_composite_viewer_cc::node_composit_buts_viewer_ex(), blender::ed::space_node::node_file_output_socket_draw(), blender::ed::space_node::node_group_separate_exec(), blender::ed::space_node::node_lasso_select_exec(), blender::nodes::node_geo_mesh_primitive_line_cc::node_layout(), blender::ed::space_node::node_output_file_move_active_socket_exec(), blender::ed::space_node::node_select_all_exec(), blender::ed::space_node::node_select_grouped_exec(), blender::nodes::node_shader_ies_light_cc::node_shader_buts_ies(), blender::nodes::node_shader_map_range_cc::node_shader_buts_map_range(), blender::nodes::node_shader_normal_map_cc::node_shader_buts_normal_map(), blender::nodes::node_shader_script_cc::node_shader_buts_script(), blender::nodes::node_shader_script_cc::node_shader_buts_script_ex(), blender::nodes::node_shader_tangent_cc::node_shader_buts_tangent(), blender::ed::space_node::node_shader_buts_tex_image(), blender::nodes::node_shader_tex_sky_cc::node_shader_buts_tex_sky(), blender::nodes::node_shader_tex_voronoi_cc::node_shader_buts_tex_voronoi(), blender::nodes::node_shader_tex_wave_cc::node_shader_buts_tex_wave(), blender::nodes::node_shader_uvmap_cc::node_shader_buts_uvmap(), blender::nodes::node_shader_vertex_color_cc::node_shader_buts_vertex_color(), normals_panel_draw(), normals_tools_draw_check_prop(), blender::ed::space_node::ntree_socket_add_exec(), blender::ed::space_node::ntree_socket_change_type_exec(), blender::ed::space_node::ntree_socket_move_exec(), blender::ed::space_node::ntree_socket_remove_exec(), object_add_exec(), object_add_ui(), object_calculate_paths_exec(), object_constraint_add_exec(), object_convert_exec(), object_convert_ui(), object_empty_add_exec(), object_gpencil_add_exec(), object_hook_assign_exec(), object_hook_recenter_exec(), object_hook_remove_exec(), object_hook_reset_exec(), object_hook_select_exec(), object_light_add_exec(), object_metaball_add_exec(), object_mode_set_exec(), object_origin_set_exec(), object_select_all_exec(), object_select_by_type_exec(), object_select_grouped_exec(), object_select_linked_exec(), object_select_menu_exec(), object_select_random_exec(), object_track_clear_exec(), objects_add_active_exec(), objects_remove_active_exec(), offset_panel_draw(), outliner_action_set_exec(), outliner_animdata_operation_exec(), outliner_box_select_exec(), outliner_color_tag_set_exec(), outliner_constraint_operation_exec(), outliner_data_operation_exec(), outliner_id_itemf(), outliner_id_operation_exec(), outliner_id_remap_exec(), outliner_lib_operation_exec(), outliner_liboverride_operation_exec(), outliner_modifier_operation_exec(), outliner_object_operation_exec(), outliner_scene_operation_exec(), outliner_select_all_exec(), outliner_walk_select_invoke(), output_toggle_exec(), override_type_set_button_exec(), pack_islands_exec(), paint_stroke_new(), paint_weight_gradient_exec(), palette_color_move_exec(), palette_sort_exec(), panel_draw(), parent_clear_exec(), parent_set_exec(), parent_set_poll_property(), pe_select_all_exec(), point_normals_update_header(), pose_autoside_names_exec(), pose_bone_rotmode_exec(), pose_calculate_paths_exec(), pose_calculate_paths_invoke(), pose_constraint_add_exec(), pose_de_select_all_exec(), pose_propagate_exec(), pose_propagate_fcurve(), pose_select_grouped_exec(), pose_select_hierarchy_exec(), pose_slide_init(), poselib_move_exec(), poselib_rename_exec(), previews_clear_exec(), profile_panel_draw(), proj_paint_add_slot(), proj_paint_color_attribute_create(), proj_paint_image_create(), quadriflow_check(), quadriflow_poll_property(), random_panel_draw(), redraw_timer_exec(), render_shutter_curve_preset_exec(), report_select_all_exec(), restrictions_panel_draw(), rigidbody_con_add_exec(), rigidbody_object_add_exec(), rigidbody_objects_add_exec(), rigidbody_objects_calc_mass_exec(), rigidbody_objects_shape_change_exec(), ringsel_finish(), rule_add_exec(), scene_new_exec(), scene_new_sequencer_exec(), sculpt_brush_stroke_init(), sculpt_cloth_filter_invoke(), sculpt_cloth_filter_modal(), sculpt_color_filter_modal(), sculpt_expand_cache_initial_config_set(), sculpt_expand_invoke(), sculpt_face_set_create_exec(), sculpt_face_set_edit_invoke(), sculpt_face_set_init_exec(), sculpt_face_sets_change_visibility_exec(), sculpt_gesture_init_mask_properties(), sculpt_gesture_init_trim_properties(), sculpt_mask_filter_exec(), sculpt_mask_init_exec(), sculpt_mesh_filter_invoke(), sculpt_mesh_filter_modal(), sculpt_sample_detail_size_exec(), sculpt_sample_detail_size_modal(), sculpt_set_pivot_position_exec(), sculpt_update_cache_invariants(), blender::ed::curves::select_all::select_all_exec(), select_all_exec(), select_grouped_exec(), select_orientation_exec(), select_random_exec(), select_random_metaelems_exec(), select_roots_exec(), select_tips_exec(), selected_asset_library(), seq_effect_add_properties_poll(), sequencer_add_effect_strip_desc(), sequencer_add_effect_strip_exec(), sequencer_add_effect_strip_invoke(), sequencer_add_mask_strip_exec(), sequencer_add_movieclip_strip_exec(), sequencer_add_scene_strip_exec(), sequencer_add_scene_strip_new_exec(), sequencer_box_select_exec(), sequencer_change_effect_input_exec(), sequencer_change_effect_type_exec(), sequencer_change_scene_exec(), sequencer_de_select_all_exec(), sequencer_select_grouped_exec(), sequencer_select_handles_exec(), sequencer_select_side_exec(), sequencer_select_side_of_frame_exec(), sequencer_split_exec(), sequencer_split_invoke(), sequencer_strip_color_tag_set_exec(), sequencer_strip_transform_clear_exec(), sequencer_strip_transform_fit_exec(), sequencer_swap_exec(), set_active_group_exec(), set_axis_exec(), set_case_exec(), set_handle_type_exec(), set_plane_exec(), set_solver_keyframe_exec(), set_spline_type_exec(), set_style_exec(), shaderfx_add_exec(), shading_panel_draw(), shape_key_move_exec(), shape_key_remove_poll_property(), shape_panel_draw(), similar_edge_select_exec(), similar_face_select_exec(), similar_vert_select_exec(), skin_loose_mark_clear_exec(), blender::ed::curves::snap_curves_to_surface::snap_curves_to_surface_exec(), solver_options_panel_draw(), sound_mixdown_exec(), sound_unpack_exec(), space_context_cycle_invoke(), space_type_set_or_cycle_exec(), space_workspace_cycle_invoke(), blender::ed::sculpt_paint::start_brush_operation(), stencil_control_invoke(), stitch_init(), stitch_init_all(), strip_modifier_add_exec(), strip_modifier_copy_exec(), strip_modifier_move_exec(), subdivisions_panel_draw(), text_comment_exec(), text_convert_whitespace_exec(), text_delete_exec(), text_move_exec(), text_move_select_exec(), text_resolve_conflict_exec(), texture_paint_add_texture_paint_slot_ui(), texture_paint_camera_project_exec(), blender::ed::sculpt_paint::image::ops::paint::texture_paint_init(), texture_panel_draw(), texture_slot_move_exec(), time_remapping_panel_draw(), toggle_cyclic_exec(), toggle_shading_exec(), toggle_style_exec(), track_set_exec(), transform_from_gizmo_invoke(), transformops_mode(), type_toggle_exec(), uiTemplateViewsFormat(), unpack_all_exec(), unpack_item_exec(), unwrap_exec(), uv_align_exec(), uv_box_select_exec(), uv_circle_select_exec(), uv_lasso_select_exec(), uv_map_transform(), uv_sculpt_stroke_init(), uv_select_all_exec(), uv_select_mode_exec(), uv_select_similar_edge_exec(), uv_select_similar_face_exec(), uv_select_similar_vert_exec(), uv_snap_cursor_exec(), uv_snap_selection_exec(), v3d_editmetaball_buts(), v3d_transform_butsR(), vert_select_all_exec(), vert_vcol_panel_draw(), vertex_group_clean_exec(), vertex_group_invert_exec(), vertex_group_levels_exec(), vertex_group_limit_total_exec(), vertex_group_lock_description(), vertex_group_lock_exec(), vertex_group_normalize_all_exec(), vertex_group_quantize_exec(), vertex_group_smooth_exec(), vertex_group_sort_exec(), vertex_vgroup_panel_draw(), vgroup_move_exec(), view3d_box_select_exec(), view3d_circle_select_exec(), view3d_cursor3d_invoke(), view3d_interactive_add_begin(), view3d_lasso_select_exec(), view_axis_exec(), view_layer_add_exec(), vieworbit_exec(), viewpan_invoke(), viewroll_exec(), viewroll_invoke(), vpaint_init_vpaint(), vwpaint_update_cache_invariants(), weight_from_bones_exec(), weight_sample_group_exec(), weightvg_ui_common(), and wm_xr_navigation_fly_modal().
bool RNA_enum_icon_from_value | ( | const EnumPropertyItem * | item, |
int | value, | ||
int * | r_icon | ||
) |
Definition at line 5096 of file rna_access.c.
References EnumPropertyItem::icon, and RNA_enum_from_value().
Referenced by ui_id_brush_get_icon(), and uiTemplateIconView().
bool RNA_enum_id_from_value | ( | const EnumPropertyItem * | item, |
int | value, | ||
const char ** | r_identifier | ||
) |
Definition at line 5086 of file rna_access.c.
References EnumPropertyItem::identifier, and RNA_enum_from_value().
Referenced by pyrna_prop_str().
bool RNA_enum_identifier | ( | const EnumPropertyItem * | item, |
int | value, | ||
const char ** | identifier | ||
) |
Definition at line 1668 of file rna_access.c.
References EnumPropertyItem::identifier, and RNA_enum_from_value().
Referenced by BPy_IDIDPropertyUIManager_as_dict(), event_ids_from_type_and_value(), and RNA_property_enum_identifier().
bool RNA_enum_is_equal | ( | struct bContext * | C, |
PointerRNA * | ptr, | ||
const char * | name, | ||
const char * | enumname | ||
) |
Definition at line 5045 of file rna_access.c.
References C, free(), StructRNA::identifier, MEM_freeN, NULL, ptr, RNA_enum_from_identifier(), RNA_property_enum_get(), RNA_property_enum_items(), RNA_struct_find_property(), PointerRNA::type, and EnumPropertyItem::value.
unsigned int RNA_enum_items_count | ( | const EnumPropertyItem * | item | ) |
Definition at line 1747 of file rna_access.c.
References EnumPropertyItem::identifier.
Referenced by bpy_rna_enum_items_static().
bool RNA_enum_name | ( | const EnumPropertyItem * | item, |
int | value, | ||
const char ** | r_name | ||
) |
Definition at line 1692 of file rna_access.c.
References EnumPropertyItem::name, and RNA_enum_from_value().
Referenced by node_blend_label(), blender::nodes::node_fn_boolean_math_cc::node_boolean_math_label(), blender::nodes::node_fn_compare_cc::node_compare_label(), node_filter_label(), blender::nodes::node_fn_float_to_int_cc::node_float_to_int_label(), node_math_label(), node_vector_math_label(), RNA_property_enum_name(), and ui_menu_enumpropname().
bool RNA_enum_name_from_value | ( | const EnumPropertyItem * | item, |
int | value, | ||
const char ** | r_name | ||
) |
Definition at line 5106 of file rna_access.c.
References EnumPropertyItem::name, and RNA_enum_from_value().
Referenced by blender::ui::attribute_data_type_string(), blender::ui::attribute_domain_string(), brush_generic_tool_set(), brush_select_exec(), blender::ed::spreadsheet::VolumeDataSource::get_column_values(), and blender::nodes::node_geo_store_named_attribute_cc::node_geo_exec().
void RNA_enum_set | ( | PointerRNA * | ptr, |
const char * | name, | ||
int | value | ||
) |
Definition at line 5015 of file rna_access.c.
References StructRNA::identifier, ptr, RNA_property_enum_set(), RNA_struct_find_property(), and PointerRNA::type.
Referenced by actkeys_select_leftright_invoke(), annotation_draw_invoke(), clean_tracks_invoke(), constraint_reorder(), ED_operatormacros_action(), ED_operatormacros_graph(), edbm_bevel_modal(), edbm_point_normals_modal(), edbm_sort_elements_exec(), edbm_subdivide_exec(), edit_constraint_invoke_properties(), file_draw_invalid_asset_library_hint(), gizmo2d_resize_invoke_prepare(), gizmo2d_resize_setup(), gizmo2d_rotate_setup(), gizmo2d_xform_invoke_prepare(), gizmo2d_xform_setup(), gizmo_mesh_bisect_setup(), gizmo_mesh_bisect_update_from_op(), gizmo_mesh_extrude_invoke_prepare(), gizmo_mesh_extrude_refresh(), gizmo_mesh_extrude_setup(), gizmo_mesh_placement_setup(), gizmo_mesh_spin_init_setup(), gizmo_mesh_spin_redo_setup(), gizmogroup2d_init(), gizmogroup_init_properties_from_twtype(), gpencil_convert_layer_exec(), gpencil_draw_invoke(), gpencil_primitive_modal(), graphkeys_select_leftright_invoke(), id_remap_fn(), insert_key_menu_invoke(), nlaedit_select_leftright_invoke(), blender::nodes::node_composite_output_file_cc::node_composit_buts_file_output_ex(), object_calculate_paths_invoke(), object_camera_add_exec(), outliner_id_remap_find_tree_element(), override_type_set_button_invoke(), paint_stroke_new(), panel_draw(), parent_set_invoke_menu(), pose_calculate_paths_exec(), pose_calculate_paths_invoke(), pose_slide_toggle_axis_locks(), pose_slide_toggle_channels_mode(), poselib_rename_invoke(), rigidbody_objects_shape_change_exec(), saveTransform(), screen_area_menu_items(), screen_area_options_invoke(), sequencer_add_image_strip_invoke(), sequencer_add_movie_strip_invoke(), sequencer_split_invoke(), set_enum(), stitch_exit(), subdivisions_panel_draw(), tool_generic_create_gizmo(), ui_tooltip_data_from_tool(), uiTemplateEditModeSelection(), uiTemplatePalette(), unpack_menu(), unwrap_exec(), blender::nodes::node_composite_output_file_cc::update_output_file(), view3d_id_drop_copy_with_type(), WIDGETGROUP_armature_spline_setup(), WIDGETGROUP_camera_setup(), WIDGETGROUP_camera_view_refresh(), WIDGETGROUP_camera_view_setup(), WIDGETGROUP_empty_image_refresh(), WIDGETGROUP_empty_image_setup(), WIDGETGROUP_forcefield_setup(), WIDGETGROUP_light_area_refresh(), WIDGETGROUP_light_area_setup(), WIDGETGROUP_light_spot_setup(), WIDGETGROUP_light_target_setup(), WIDGETGROUP_navigate_setup(), blender::ed::space_node::WIDGETGROUP_node_corner_pin_setup(), blender::ed::space_node::WIDGETGROUP_node_crop_setup(), blender::ed::space_node::WIDGETGROUP_node_sbeam_setup(), blender::ed::space_node::WIDGETGROUP_node_transform_setup(), WIDGETGROUP_ruler_setup(), WIDGETGROUP_xform_cage_setup(), WIDGETGROUP_xform_shear_refresh(), WIDGETGROUP_xform_shear_setup(), and WM_toolsystem_ref_set_by_id_ex().
void RNA_enum_set_identifier | ( | struct bContext * | C, |
PointerRNA * | ptr, | ||
const char * | name, | ||
const char * | id | ||
) |
Definition at line 5027 of file rna_access.c.
References C, StructRNA::identifier, ptr, RNA_property_enum_set(), RNA_property_enum_value(), RNA_struct_find_property(), and PointerRNA::type.
Referenced by id_remap_fn(), outliner_id_remap_find_tree_element(), set_enum(), and view3d_lightcache_update().
bool RNA_enum_value_from_id | ( | const EnumPropertyItem * | item, |
const char * | identifier, | ||
int * | r_value | ||
) |
Definition at line 5076 of file rna_access.c.
References RNA_enum_from_identifier(), and EnumPropertyItem::value.
Referenced by pyop_call(), pyop_poll(), pyrna_enum_value_from_id(), uiItemEnumO_string(), uiItemEnumR_string_prop(), v3d_cursor_snap_activate(), version_idproperty_ui_data(), and wm_user_modal_keymap_set_items().
float RNA_float_get | ( | PointerRNA * | ptr, |
const char * | name | ||
) |
Definition at line 4957 of file rna_access.c.
References StructRNA::identifier, ptr, RNA_property_float_get(), RNA_struct_find_property(), and PointerRNA::type.
Referenced by actkeys_clean_exec(), add_primitive_circle_exec(), add_primitive_cone_exec(), add_primitive_cube_exec(), add_primitive_cylinder_exec(), add_primitive_grid_exec(), add_primitive_icosphere_exec(), add_primitive_monkey_exec(), add_primitive_plane_exec(), add_primitive_uvsphere_exec(), annotation_draw_exec(), annotation_draw_invoke(), area_split_apply(), area_split_draw_cb(), armature_roll_clear_exec(), armature_select_similar_exec(), arrow_draw_intern(), blender::ed::space_node::backimage_zoom_exec(), bake_init_api_data(), blend_to_default_exec(), blend_to_neighbor_exec(), blender_camera_from_object(), blender_camera_sync(), BlenderSync::BlenderSync(), breakdown_exec(), brush_scale_size_exec(), button2d_draw_intern(), change_frame_apply(), clamp_panel_draw(), clean_tracks_exec(), create_primitive_from_points(), create_subd_mesh(), curve_decimate_exec(), curve_draw_exec(), curve_draw_stroke_from_operator_elem(), curve_select_random_exec(), curve_select_similar_exec(), curvesurf_prim_add(), data_transfer_exec(), decimate_exec(), detect_features_exec(), dial_draw_intern(), do_set_scale(), edbm_average_normals_exec(), edbm_beautify_fill_exec(), edbm_bevel_calc(), edbm_bevel_calc_initial_length(), edbm_bevel_mouse_set_value(), edbm_bevel_numinput_set_value(), edbm_bevel_update_status_text(), edbm_blend_from_shape_exec(), edbm_bridge_edge_loops_exec(), edbm_decimate_exec(), edbm_dissolve_degenerate_exec(), edbm_dissolve_limited_exec(), edbm_do_smooth_laplacian_vertex_exec(), edbm_do_smooth_vertex_exec(), edbm_extrude_repeat_exec(), edbm_face_make_planar_exec(), edbm_inset_calc(), edbm_inset_modal(), edbm_inset_update_header(), edbm_intersect_boolean_exec(), edbm_intersect_exec(), edbm_poke_face_exec(), edbm_remove_doubles_exec(), edbm_select_axis_exec(), edbm_select_linked_flat_faces_exec(), edbm_select_random_exec(), edbm_select_sharp_edges_exec(), edbm_smooth_normals_exec(), edbm_solidify_exec(), edbm_spin_exec(), edbm_subdivide_exec(), edbm_vert_connect_nonplaner_exec(), edbm_wireframe_exec(), effector_add_exec(), DocumentExporter::exportCurrentScene(), get_bevel_offset(), blender::compositor::NodeOutput::get_editor_value_float(), blender::compositor::NodeInput::get_editor_value_float(), get_float(), get_node_output_value(), Freestyle::BlenderStrokeRenderer::GetStrokeShader(), gizmo_arrow_invoke(), gizmo_arrow_test_select(), gizmo_dial_modal(), gpencil_bake_mesh_animation_exec(), gpencil_convert_layer_exec(), gpencil_convert_poll_property(), gpencil_draw_exec(), gpencil_generate_weights_exec(), gpencil_guide_event_handling(), gpencil_guide_rotate(), gpencil_interpolate_seq_easing_calc(), gpencil_interpolate_seq_exec(), gpencil_interpolate_set_init_values(), gpencil_interpolate_update(), gpencil_merge_by_distance_exec(), gpencil_sculpt_brush_apply(), gpencil_select_random_exec(), gpencil_smooth_stroke(), gpencil_stroke_enter_editcurve_mode_exec(), gpencil_stroke_merge_material_exec(), gpencil_stroke_normalize_exec(), gpencil_stroke_sample_exec(), gpencil_stroke_simplify_exec(), gpencil_trace_image_exec(), gpencil_uv_transform_update_header(), gpencil_vertex_group_smooth_exec(), gpencil_vertexpaint_brightness_contrast_exec(), gpencil_vertexpaint_brush_apply(), gpencil_vertexpaint_hsv_exec(), gpencil_vertexpaint_levels_exec(), gpencil_vertexpaint_set_exec(), gpencil_weightpaint_brush_apply(), graphkeys_clean_exec(), graphkeys_click_insert_exec(), graphkeys_equalize_handles_exec(), graphview_cursor_apply(), image_to_gpencil_exec(), image_view_zoom_exec(), image_view_zoom_ratio_exec(), knifetool_invoke(), knifetool_modal(), lattice_select_random_exec(), lightprobe_add_exec(), mask_flood_fill_exec(), mball_select_similar_exec(), mesh_bisect_exec(), mesh_operator_edgering_props_get(), mesh_symmetrize_exec(), mesh_symmetry_snap_exec(), minimize_stretch_init(), node_socket_get_float(), object_add_exec(), object_add_text_exec(), object_armature_add_exec(), object_convert_exec(), object_empty_add_exec(), object_gpencil_add_exec(), object_light_add_exec(), object_metaball_add_exec(), object_rand_verts_exec(), object_select_random_exec(), object_warp_verts_exec(), pack_islands_exec(), paint_mask_extract_exec(), paint_mask_slice_exec(), blender::ed::sculpt_paint::image::ops::paint::paint_stroke_update_step(), panel_draw(), point_normals_apply(), pose_propagate_exec(), pose_slide_init(), poselib_blend_init_data(), quadriflow_check(), quadriflow_poll_property(), redraw_timer_exec(), remove_doubles_exec(), rigidbody_objects_calc_mass_exec(), ringsel_finish(), ringsel_init(), sculpt_cloth_filter_invoke(), sculpt_cloth_filter_modal(), sculpt_color_filter_modal(), sculpt_face_set_init_exec(), sculpt_gesture_init_mask_properties(), sculpt_mask_by_color_invoke(), sculpt_mesh_filter_invoke(), sculpt_mesh_filter_modal(), sculpt_set_pivot_position_exec(), sculpt_symmetrize_exec(), sculpt_update_cache_variants(), select_random_exec(), blender::ed::sculpt_paint::select_random::select_random_exec(), select_random_metaelems_exec(), sequencer_view_zoom_ratio_exec(), set_goal_weight_exec(), set_radius_exec(), shade_smooth_exec(), similar_edge_select_exec(), similar_face_select_exec(), similar_vert_select_exec(), smart_project_exec(), stitch_init_all(), blender::ed::sculpt_paint::stroke_update_step(), BlenderSync::sync_camera(), BlenderSync::sync_recalc(), tool_generic_create_gizmo(), UI_view2d_edge_pan_operator_init(), unwrap_exec(), uv_map_transform(), uv_remove_doubles_to_selected(), uv_remove_doubles_to_unselected(), uv_select_similar_edge_exec(), uv_select_similar_face_exec(), uv_select_similar_vert_exec(), vertex_color_brightness_contrast_exec(), vertex_color_hsv_exec(), vertex_color_levels_exec(), vertex_group_clean_exec(), vertex_group_fix_exec(), vertex_group_levels_exec(), vertex_group_smooth_exec(), view_zoom_exec(), view_zoom_ratio_exec(), view_zoomdrag_apply(), view_zoomstep_apply(), viewroll_exec(), vwpaint_update_cache_variants(), weight_set_exec(), wm_xr_navigation_fly_modal(), and wm_xr_navigation_teleport_modal().
void RNA_float_get_array | ( | PointerRNA * | ptr, |
const char * | name, | ||
float * | values | ||
) |
Definition at line 4980 of file rna_access.c.
References StructRNA::identifier, ptr, RNA_property_float_get_array(), RNA_struct_find_property(), and PointerRNA::type.
Referenced by add_feather_vertex_exec(), add_marker_exec(), blender::ed::space_node::add_reroute_exec(), add_vertex_exec(), annotation_draw_exec(), arrow_draw_geom(), brush_edit_apply(), clip_set_2d_cursor_exec(), create_primitive_from_points(), curve_draw_stroke_from_operator_elem(), blender::ed::space_node::cut_links_exec(), do_fill_tile(), dopesheet_select_channel_exec(), drop_color_invoke(), ED_object_add_generic_get_opts(), edbm_knife_cut_exec(), edbm_point_normals_exec(), edbm_screw_exec(), edbm_spin_exec(), blender::ed::geometry::geometry_color_attribute_add_exec(), blender::compositor::NodeOutput::get_editor_value_color(), blender::compositor::NodeInput::get_editor_value_color(), blender::compositor::NodeOutput::get_editor_value_vector(), blender::compositor::NodeInput::get_editor_value_vector(), get_float3(), get_float4(), get_node_output_rgba(), get_node_output_vector(), Freestyle::BlenderStrokeRenderer::GetStrokeShader(), gizmo_cage2d_draw_intern(), gizmo_cage2d_modal(), gizmo_cage2d_test_select(), gizmo_cage3d_draw_intern(), gizmo_cage3d_modal(), gizmo_empty_image_prop_matrix_get(), gizmo_empty_image_prop_matrix_set(), gizmo_mesh_extrude_refresh(), gpencil_draw_exec(), gpencil_sculpt_brush_apply(), gpencil_uv_transform_update_header(), gpencil_vertexpaint_brush_apply(), gpencil_weightpaint_brush_apply(), grab_clone_apply(), image_new_exec(), image_view_pan_exec(), image_view_zoom_in_exec(), image_view_zoom_out_exec(), initSnapping(), blender::ed::space_node::mute_links_exec(), node_socket_get_color(), node_socket_get_vector(), blender::ed::sculpt_paint::image::ops::paint::paint_exec(), paint_stroke_exec(), blender::ed::sculpt_paint::image::ops::paint::paint_stroke_update_step(), blender::ed::space_node::pick_input_link_by_link_intersect(), proj_paint_color_attribute_create(), proj_paint_image_create(), sculpt_color_filter_modal(), sculpt_update_cache_variants(), select_exec(), sequencer_add_effect_strip_exec(), sequencer_set_2d_cursor_exec(), spin_exec(), blender::ed::sculpt_paint::stroke_update_step(), uv_rip_exec(), uv_select_edge_ring_exec(), uv_select_exec(), uv_select_linked_internal(), uv_select_loop_exec(), uv_set_2d_cursor_exec(), view_pan_exec(), view_zoom_in_exec(), view_zoom_out_exec(), vwpaint_update_cache_variants(), WM_gesture_lasso_path_to_array(), and wm_xr_raycast_update().
void RNA_float_set | ( | PointerRNA * | ptr, |
const char * | name, | ||
float | value | ||
) |
Definition at line 4968 of file rna_access.c.
References StructRNA::identifier, ptr, RNA_property_float_set(), RNA_struct_find_property(), and PointerRNA::type.
Referenced by annotation_draw_apply_event(), apply_solution_scale_invoke(), area_split_modal(), BKE_nlameta_flush_transforms(), change_frame_invoke(), change_frame_modal(), clean_tracks_invoke(), curve_draw_stroke_to_operator_elem(), edbm_bevel_init(), edbm_bevel_mouse_set_value(), edbm_bevel_numinput_set_value(), edbm_inset_init(), edbm_inset_modal(), Freestyle::BlenderStrokeRenderer::GetStrokeShader(), gizmo2d_resize_setup(), gizmo2d_rotate_setup(), gizmo2d_xform_setup(), gizmo_mesh_spin_init_draw_prepare(), gizmo_mesh_spin_init_setup(), gizmo_mesh_spin_redo_setup(), gizmo_modal(), gizmo_refresh_from_matrix(), gizmogroup_init(), gpencil_draw_apply_event(), gpencil_draw_modal(), gpencil_interpolate_modal(), gpencil_mouse_update_shift(), gpencil_sculpt_brush_apply_event(), gpencil_uv_transform_calc(), gpencil_vertexpaint_brush_apply_event(), gpencil_weightpaint_brush_apply_event(), graphkeys_click_insert_invoke(), graphview_cursor_setprops(), image_view_zoom_invoke(), image_zoom_apply(), loopcut_modal(), minimize_stretch_modal(), nlaedit_clear_scale_exec(), node_socket_set_float(), outliner_item_drag_drop_invoke(), pack_islands_exec(), paint_brush_stroke_add_step(), pose_slide_modal(), poselib_blend_cleanup(), quadriflow_check(), recalcData_nla(), rigidbody_objects_calc_mass_exec(), saveTransform(), sculpt_set_pivot_position_invoke(), set_float(), set_scale_invoke(), set_solution_scale_invoke(), stitch_exit(), tool_generic_create_gizmo(), uiItemFloatO(), unwrap_exec(), view3d_interactive_add_modal(), view_zoom_apply(), view_zoom_invoke(), view_zoomdrag_invoke(), view_zoomdrag_modal(), view_zoomin_exec(), view_zoomout_exec(), and WIDGETGROUP_gizmo_invoke_prepare().
void RNA_float_set_array | ( | PointerRNA * | ptr, |
const char * | name, | ||
const float * | values | ||
) |
Definition at line 4992 of file rna_access.c.
References StructRNA::identifier, ptr, RNA_property_float_set_array(), RNA_struct_find_property(), and PointerRNA::type.
Referenced by add_feather_vertex_invoke(), add_marker_invoke(), add_vertex_invoke(), annotation_draw_apply_event(), brush_edit_apply_event(), clip_set_2d_cursor_invoke(), curve_draw_stroke_to_operator_elem(), dopesheet_select_channel_invoke(), ED_object_add_generic_get_opts(), gesture_lasso_apply(), Freestyle::BlenderStrokeRenderer::GetStrokeShader(), gizmo_mesh_extrude_invoke_prepare(), gizmo_mesh_spin_init_refresh_axis_orientation(), gpencil_draw_apply_event(), gpencil_sculpt_brush_apply_event(), gpencil_uv_transform_calc(), gpencil_vertexpaint_brush_apply_event(), gpencil_weightpaint_brush_apply_event(), grab_clone_modal(), image_view_pan_invoke(), image_view_pan_modal(), image_view_zoom_in_invoke(), image_view_zoom_out_invoke(), blender::ed::space_node::node_link_invoke(), node_socket_set_color(), node_socket_set_vector(), paint_brush_stroke_add_step(), primitive_add_invoke(), saveTransform(), select_invoke(), sequencer_set_2d_cursor_invoke(), set_float3(), set_float4(), spin_invoke(), texture_paint_add_texture_paint_slot_invoke(), UI_drop_color_copy(), uv_rip_invoke(), uv_select_edge_ring_invoke(), uv_select_invoke(), uv_select_linked_internal(), uv_select_loop_invoke(), uv_set_2d_cursor_invoke(), view3d_interactive_add_modal(), view3d_ob_drop_copy_external_asset(), view3d_ob_drop_copy_local_id(), view_pan_invoke(), view_pan_modal(), view_zoom_in_invoke(), view_zoom_out_invoke(), WIDGETGROUP_camera_refresh(), WIDGETGROUP_empty_image_refresh(), blender::ed::space_node::WIDGETGROUP_node_crop_refresh(), blender::ed::space_node::WIDGETGROUP_node_transform_refresh(), WIDGETGROUP_xform_cage_refresh(), and WIDGETGROUP_xform_shear_refresh().
char* RNA_function_as_string_keywords | ( | struct bContext * | C, |
FunctionRNA * | func, | ||
bool | as_function, | ||
bool | all_args, | ||
int | max_prop_length | ||
) |
Definition at line 5492 of file rna_access.c.
References C, NULL, RNA_pointer_as_string_keywords_ex(), RNA_pointer_create(), RNA_struct_find_property(), RNA_struct_iterator_property(), and PointerRNA::type.
Referenced by pyrna_func_doc_get().
int RNA_function_call | ( | struct bContext * | C, |
struct ReportList * | reports, | ||
PointerRNA * | ptr, | ||
FunctionRNA * | func, | ||
ParameterList * | parms | ||
) |
Definition at line 6165 of file rna_access.c.
References C, FunctionRNA::call, and ptr.
Referenced by pyrna_func_call(), RNA_function_call_direct_va(), RNA_function_call_lookup(), RNA_property_collection_add(), and RNA_property_collection_remove().
int RNA_function_call_direct | ( | struct bContext * | C, |
struct ReportList * | reports, | ||
PointerRNA * | ptr, | ||
FunctionRNA * | func, | ||
const char * | format, | ||
... | |||
) |
int int RNA_function_call_direct_lookup | ( | struct bContext * | C, |
struct ReportList * | reports, | ||
PointerRNA * | ptr, | ||
const char * | identifier, | ||
const char * | format, | ||
... | |||
) |
int int int RNA_function_call_direct_va | ( | struct bContext * | C, |
struct ReportList * | reports, | ||
PointerRNA * | ptr, | ||
FunctionRNA * | func, | ||
const char * | format, | ||
va_list | args | ||
) |
Definition at line 6431 of file rna_access.c.
References C, FunctionRNA::c_ret, ParameterIterator::data, err, PropertyRNA::flag_parameter, len, NULL, ParameterIterator::parm, PARM_OUTPUT, PARM_REQUIRED, PROP_BOOLEAN, PROP_COLLECTION, PROP_ENUM, PROP_FLOAT, PROP_INT, PROP_POINTER, PROP_STRING, ptr, RNA_function_call(), rna_function_format_array_length(), RNA_function_identifier(), rna_function_parameter_parse(), RNA_parameter_flag(), RNA_parameter_list_begin(), RNA_parameter_list_create(), RNA_parameter_list_end(), RNA_parameter_list_free(), RNA_parameter_list_next(), RNA_pointer_create(), RNA_property_array_length(), RNA_property_identifier(), RNA_property_type(), RNA_struct_identifier(), type, PointerRNA::type, and ParameterIterator::valid.
Referenced by RNA_function_call_direct(), RNA_function_call_direct_lookup(), and RNA_function_call_direct_va_lookup().
int RNA_function_call_direct_va_lookup | ( | struct bContext * | C, |
struct ReportList * | reports, | ||
PointerRNA * | ptr, | ||
const char * | identifier, | ||
const char * | format, | ||
va_list | args | ||
) |
Definition at line 6625 of file rna_access.c.
References C, ptr, RNA_function_call_direct_va(), RNA_struct_find_function(), and PointerRNA::type.
int RNA_function_call_lookup | ( | struct bContext * | C, |
struct ReportList * | reports, | ||
PointerRNA * | ptr, | ||
const char * | identifier, | ||
ParameterList * | parms | ||
) |
Definition at line 6177 of file rna_access.c.
References C, ptr, RNA_function_call(), RNA_struct_find_function(), and PointerRNA::type.
int RNA_function_defined | ( | FunctionRNA * | func | ) |
Definition at line 5788 of file rna_access.c.
References FunctionRNA::call, and NULL.
Referenced by pyrna_dir_members_rna(), and pyrna_struct_getattro().
const struct ListBase* RNA_function_defined_parameters | ( | FunctionRNA * | func | ) |
Definition at line 5814 of file rna_access.c.
References FunctionRNA::cont, and ContainerRNA::properties.
Referenced by rna_function_arg_count().
PropertyRNA* RNA_function_find_parameter | ( | PointerRNA * | ptr, |
FunctionRNA * | func, | ||
const char * | identifier | ||
) |
int RNA_function_flag | ( | FunctionRNA * | func | ) |
Definition at line 5783 of file rna_access.c.
References FunctionRNA::flag.
Referenced by bpy_class_call(), bpy_class_validate_recursive(), pyrna_subtype_set_rna(), and rna_function_arg_count().
PropertyRNA* RNA_function_get_parameter | ( | PointerRNA * | ptr, |
FunctionRNA * | func, | ||
int | index | ||
) |
const char* RNA_function_identifier | ( | FunctionRNA * | func | ) |
Definition at line 5768 of file rna_access.c.
References FunctionRNA::identifier.
Referenced by bpy_class_call(), bpy_class_validate_recursive(), pyrna_dir_members_rna(), pyrna_func_call(), pyrna_func_doc_get(), pyrna_func_error_prefix(), pyrna_func_repr(), pyrna_subtype_set_rna(), RNA_function_call_direct_va(), and RNA_struct_find_function().
const char* RNA_function_ui_description | ( | FunctionRNA * | func | ) |
Definition at line 5773 of file rna_access.c.
References FunctionRNA::description, and TIP_.
Referenced by pyrna_func_doc_get().
const char* RNA_function_ui_description_raw | ( | FunctionRNA * | func | ) |
Definition at line 5778 of file rna_access.c.
References FunctionRNA::description.
void RNA_id_pointer_create | ( | struct ID * | id, |
PointerRNA * | r_ptr | ||
) |
Definition at line 112 of file rna_access.c.
References PointerRNA::data, id, NULL, PointerRNA::owner_id, StructRNA::refine, rna_ID_refine(), type, and PointerRNA::type.
Referenced by acf_generic_idblock_name_prop(), acf_generic_idfill_name_prop(), acf_object_name_prop(), achannel_setting_slider_cb(), achannel_setting_slider_shapekey_cb(), actedit_change_action(), action_get_item_transforms(), action_new_exec(), ANIM_add_driver(), ANIM_add_driver_with_target(), ANIM_apply_keyingset(), ANIM_channel_draw_widgets(), ANIM_copy_driver(), ANIM_list_elem_update(), ANIM_paste_driver(), ANIM_relative_keyingset_add_source(), ANIM_unit_mapping_get_factor(), armature_layers_exec(), armature_layers_invoke(), bake_func(), BKE_animsys_eval_driver(), BKE_animsys_evaluate_animdata(), BKE_animsys_nla_remap_keyframe_values(), BKE_callback_exec_id(), BKE_callback_exec_id_depsgraph(), BKE_lib_override_library_operations_create(), BKE_lib_override_library_operations_store_start(), BKE_lib_override_library_status_check_local(), BKE_lib_override_library_status_check_reference(), BKE_lib_override_library_update(), BKE_pose_apply_action_all_bones(), BKE_scene_uses_cycles_experimental_features(), blend_to_default_graph_keys(), bpy_lib_exit_lapp_context_items_cb(), blender::deg::DepsgraphRelationBuilder::build_animdata_curves_targets(), blender::deg::DepsgraphRelationBuilder::build_driver_data(), blender::deg::DepsgraphNodeBuilder::build_driver_id_property(), blender::deg::DepsgraphRelationBuilder::build_driver_id_property(), blender::deg::DepsgraphRelationBuilder::build_driver_relations(), blender::ed::outliner::OverrideRNAPathTreeBuilder::build_path(), buttons_context_path(), buttons_context_path_brush(), buttons_context_path_collection(), buttons_context_path_data(), buttons_context_path_linestyle(), buttons_context_path_material(), buttons_context_path_object(), buttons_context_path_texture(), buttons_context_path_world(), buttons_id_remap(), cachefile_open_exec(), UnitConverter::calculate_scale(), check_rna_path_is_valid(), clean_fcurve(), clear_keyframe(), CTX_data_id_list_add(), CTX_data_id_pointer_set(), datadropper_id_sample_pt(), datadropper_id_set(), debug_flags_update_func(), DEG_get_evaluated_rna_pointer(), delete_keyframe(), denoise_func(), driver_get_variable_property(), drw_uniform_property_lookup(), dtar_get_prop_val(), ED_annotation_data_get_pointers_direct(), ED_gpencil_data_get_pointers_direct(), edbm_blend_from_shape_ui(), DocumentExporter::exportCurrentScene(), DocumentImporter::finish(), font_open_exec(), font_unlink_exec(), getname_anim_fcurve(), gizmo_xform_message_subscribe(), gpencil_stroke_path_animation(), graph_panel_cursor(), graph_panel_cursor_header(), graph_panel_driverVar__singleProp(), graph_panel_key_properties(), graph_region_message_subscribe(), id_search_allows_id(), id_single_user(), image_file_browse_exec(), image_new_exec(), image_open_exec(), blender::deg::AnimationBackup::init_from_id(), blender::deg::AnimatedPropertyStorage::initializeFromID(), insert_keyframe(), blender::ed::outliner::iterate_properties_to_display(), lib_override_library_resync(), new_material_exec(), blender::ed::space_node::new_node_tree_exec(), new_texture_exec(), new_world_exec(), nla_main_region_message_subscribe(), nla_panel_animdata(), blender::nodes::node_shader_tex_pointdensity_cc::node_shader_buts_tex_pointdensity(), blender::ed::space_node::ntree_socket_add_exec(), open_exec(), outliner_base_or_object_pointer_create(), outliner_collection_isolate_flag(), outliner_draw_overrides_restrictbuts(), outliner_draw_restrictbuts(), outliner_layer_or_collection_pointer_create(), outliner_object_set_flag_recursive_fn(), outliner_restrict_properties_collection_set(), outliner_set_properties_tab(), override_idtemplate_make_exec(), override_idtemplate_reset_exec(), override_remove_button_exec(), panel_draw(), pastebuf_match_path_property(), pose_armature_layers_showall_exec(), pose_propagate_get_refVal(), poselib_preview_init_data(), pyrna_id_CreatePyObject(), pyrna_param_to_py(), pyrna_struct_get_id_data(), blender::deg::AnimationBackup::restore_to_id(), rna_path_from_ID_to_idpgroup(), RNA_path_from_ID_to_struct(), RNA_path_resolve_from_type_to_property(), RNA_pointer_recast(), RNA_property_path_from_ID_check(), blender::deg::RNAPathKey::RNAPathKey(), saction_main_region_message_subscribe(), sequencer_main_region_message_subscribe(), singleuser_world_fn(), BlenderSync::sync_recalc(), template_id_liboverride_hierarchy_make(), template_ID_set_property_exec_fn(), text_new_exec(), text_open_exec(), toggle_pin_exec(), UI_context_copy_to_selected_check(), UI_context_copy_to_selected_list(), ui_do_but_COLOR(), UI_icon_from_id(), v3d_object_dimension_buts(), view3d_panel_transform(), what_does_obaction(), WIDGETGROUP_camera_message_subscribe(), WM_msg_publish_ID(), wm_msg_rna_update_by_id(), and WM_msg_subscribe_ID().
int RNA_int_get | ( | PointerRNA * | ptr, |
const char * | name | ||
) |
Definition at line 4910 of file rna_access.c.
References StructRNA::identifier, ptr, RNA_property_int_get(), RNA_struct_find_property(), and PointerRNA::type.
Referenced by action_circle_select_exec(), actionzone_invoke(), actkeys_clickselect_exec(), add_attribute_search_or_value_buttons(), add_primitive_circle_exec(), add_primitive_cone_exec(), add_primitive_cylinder_exec(), add_primitive_grid_exec(), add_primitive_icosphere_exec(), add_primitive_uvsphere_exec(), advanced_panel_draw(), annotation_draw_invoke(), anything_showing_through(), area_move_apply(), area_move_init(), area_move_modal(), armature_subdivide_exec(), background_image_remove_exec(), bake_init_api_data(), BlenderSync::BlenderSync(), change_character_exec(), change_frame_apply(), change_spacing_exec(), circle_select_exec(), clean_tracks_exec(), console_history_append_exec(), constraint_move_to_index_exec(), detect_features_exec(), do_fill_tile(), ED_imbuf_sample_invoke(), ed_marker_move_apply(), ed_marker_move_modal(), ed_marker_move_update_header(), ed_marker_select_exec(), ED_view3d_gizmo_mesh_preselect_get_active(), edbm_average_normals_exec(), edbm_bevel_calc(), edbm_bevel_init(), edbm_bevel_update_status_text(), edbm_bridge_edge_loops_exec(), edbm_do_smooth_laplacian_vertex_exec(), edbm_do_smooth_vertex_exec(), edbm_extrude_repeat_exec(), edbm_face_make_planar_exec(), edbm_fill_holes_exec(), edbm_knife_cut_exec(), edbm_screw_exec(), edbm_select_face_by_sides_exec(), edbm_select_linked_pick_exec(), edbm_shortest_path_pick_exec(), edbm_sort_elements_exec(), edbm_spin_exec(), edbm_subdivide_exec(), edbm_unsubdivide_exec(), file_filenum_exec(), file_select_exec(), followpath_path_animate_exec(), frame_offset_exec(), geometry_nodes_input_attribute_toggle_exec(), get_int(), get_operator_state(), BlenderSync::get_scene_params(), gpencil_bake_grease_pencil_animation_exec(), gpencil_bake_mesh_animation_exec(), gpencil_bake_set_frame_end(), gpencil_circle_select_exec(), gpencil_convert_layer_exec(), gpencil_convert_set_end_frame(), gpencil_extract_palette_vertex_exec(), gpencil_frame_clean_loose_exec(), gpencil_interpolate_seq_exec(), gpencil_interpolate_set_init_values(), gpencil_layer_active_exec(), gpencil_modifier_masking_panel_draw(), gpencil_modifier_move_to_index_exec(), gpencil_move_to_layer_invoke(), gpencil_primitive_init(), gpencil_primitive_update(), gpencil_select_vertex_color_exec(), gpencil_selectmode_toggle_exec(), gpencil_smooth_stroke(), gpencil_stroke_normalize_exec(), gpencil_stroke_simplify_fixed_exec(), gpencil_stroke_subdivide_exec(), gpencil_trace_image_exec(), gpencil_vertex_group_smooth_exec(), graph_circle_select_exec(), graphkeys_clickselect_exec(), image_new_exec(), image_sample_line_exec(), light_cache_bake_invoke(), load_data_init_from_operator(), loopcut_init(), mesh_bisect_interactive_calc(), mesh_operator_edgering_props_get(), minimize_stretch_exec(), minimize_stretch_init(), modifier_move_to_index_exec(), nlachannels_pushdown_exec(), nlaedit_clickselect_exec(), blender::ed::space_node::node_circleselect_exec(), blender::nodes::node_composite_output_file_cc::node_composit_buts_file_output_ex(), object_add_drop_xy_get(), object_convert_exec(), object_hide_collection_exec(), object_hide_collection_invoke(), object_rand_verts_exec(), outliner_orphans_purge_exec(), paint_mask_extract_exec(), paint_weight_gradient_exec(), palette_extract_img_exec(), panel_draw(), pose_group_assign_exec(), pose_slide_init(), poselib_add_exec(), poselib_preview_init_data(), preferences_asset_library_remove_exec(), preferences_autoexec_remove_exec(), proj_paint_image_create(), quadriflow_remesh_exec(), rect_from_props(), redraw_timer_exec(), rekey_exec(), repeat_history_exec(), ringcut_invoke(), ringsel_finish(), ringsel_init(), row_filter_remove_exec(), screen_set_exec(), sculpt_expand_cache_initial_config_set(), sculpt_gesture_init_from_line(), sculpt_mask_expand_invoke(), sculpt_mask_expand_modal(), sculpt_mask_filter_exec(), sculpt_mesh_filter_invoke(), select_component_domain_invoke(), blender::ed::sculpt_paint::select_end::select_end_exec(), blender::ed::sculpt_paint::select_random::select_random_exec(), select_report_pick_exec(), sequencer_gap_insert_exec(), sequencer_generic_invoke_xy__internal(), sequencer_select_exec(), sequencer_separate_images_exec(), sequencer_slip_exec(), sequencer_snap_exec(), sequencer_split_exec(), shaderfx_move_to_index_exec(), sound_mixdown_exec(), stitch_init_all(), subdivide_exec(), BlenderSync::sync_recalc(), text_cursor_set_exec(), text_jump_exec(), text_scroll_exec(), textbox_remove_exec(), tile_add_exec(), ui_drop_material_exec(), ui_drop_material_tooltip(), UI_icon_from_rnaptr(), unpack_item_exec(), uv_circle_select_exec(), uv_shortest_path_pick_exec(), vertex_group_limit_total_exec(), vertex_group_quantize_exec(), vertex_group_smooth_exec(), vertex_weight_delete_exec(), vertex_weight_paste_exec(), vertex_weight_set_active_exec(), view3d_circle_select_exec(), view_pan_apply(), viewdolly_exec(), viewzoom_exec(), wm_debug_menu_exec(), WM_generic_select_modal(), WM_gesture_circle_invoke(), WM_operator_properties_border_to_rcti(), and WM_operator_properties_checker_interval_from_op().
void RNA_int_get_array | ( | PointerRNA * | ptr, |
const char * | name, | ||
int * | values | ||
) |
Definition at line 4933 of file rna_access.c.
References StructRNA::identifier, ptr, RNA_property_int_get_array(), RNA_struct_find_property(), and PointerRNA::type.
Referenced by area_join_init(), area_swap_exec(), gpencil_select_exec(), blender::ed::space_node::node_select_exec(), paintcurve_add_point_exec(), paintcurve_select_point_exec(), sample_color_exec(), sculpt_sample_detail_size_exec(), select_linked_pick_exec(), stitch_init_all(), and view3d_select_exec().
void RNA_int_set | ( | PointerRNA * | ptr, |
const char * | name, | ||
int | value | ||
) |
Definition at line 4921 of file rna_access.c.
References StructRNA::identifier, ptr, RNA_property_int_set(), RNA_struct_find_property(), and PointerRNA::type.
Referenced by ANIM_channel_draw_widgets(), area_move_cancel(), area_move_invoke(), area_move_modal(), change_frame_invoke(), change_frame_modal(), clean_tracks_invoke(), constraint_ops_extra_draw(), constraint_reorder(), ed_marker_move_cancel(), ed_marker_move_invoke(), ed_marker_move_modal(), edbm_bevel_modal(), edbm_bevel_mouse_set_value(), edbm_bevel_numinput_set_value(), edbm_select_linked_pick_invoke(), edbm_shortest_path_pick_invoke(), file_panel_execution_buttons_draw(), file_smoothscroll_invoke(), geometry_nodes_input_attribute_toggle_exec(), gesture_box_apply_rect(), gesture_circle_apply(), gesture_straightline_apply(), gizmo_preselect_edgering_test_select(), gizmo_preselect_elem_test_select(), gpencil_bake_set_frame_end(), gpencil_convert_set_end_frame(), gpencil_modifier_ops_extra_draw(), gpencil_modifier_reorder(), gpencil_primitive_init(), gpencil_primitive_modal(), gpencil_shaderfx_ops_extra_draw(), loopcut_finish(), loopcut_modal(), minimize_stretch_iteration(), modifier_ops_extra_draw(), modifier_reorder(), move_to_collection_menu_create(), blender::ed::space_node::node_group_drop_copy(), blender::ed::space_node::node_id_drop_copy(), blender::ed::space_node::node_id_path_drop_copy(), object_add_drop_xy_generic_invoke(), object_instance_add_invoke(), outliner_orphans_purge_invoke(), pose_groups_menu_invoke(), pose_slide_invoke_common(), poselib_add_menu_invoke__replacemenu(), poselib_preview_apply(), quadriflow_check(), ringcut_invoke(), select_report_pick_invoke(), sequencer_drop_copy(), sequencer_generic_invoke_xy__internal(), sequencer_slip_modal(), sequencer_snap_invoke(), sequencer_split_invoke(), set_int(), set_next_operator_state(), shaderfx_reorder(), stitch_exit(), template_ID(), text_cursor_set_invoke(), tile_add_invoke(), tile_fill_init(), ui_drop_material_copy(), ui_keymap_but_cb(), uiItemIntO(), uv_shortest_path_pick_invoke(), view3d_collection_drop_copy_external_asset(), view3d_collection_drop_copy_local_id(), view3d_lightcache_update(), view3d_ob_drop_copy_external_asset(), view3d_ob_drop_copy_local_id(), view3d_panel_vgroup(), view_pan_invoke(), view_pan_modal(), view_scrolldown_exec(), view_scrollleft_exec(), view_scrollright_exec(), view_scrollup_exec(), viewdolly_invoke(), viewzoom_invoke(), wm_debug_menu_invoke(), WM_generic_select_invoke(), WM_gesture_circle_modal(), and WM_operator_properties_id_lookup_set_from_id().
void RNA_int_set_array | ( | PointerRNA * | ptr, |
const char * | name, | ||
const int * | values | ||
) |
Definition at line 4945 of file rna_access.c.
References StructRNA::identifier, ptr, RNA_property_int_set_array(), RNA_struct_find_property(), and PointerRNA::type.
Referenced by gpencil_select_invoke(), blender::ed::space_node::node_select_invoke(), paintcurve_add_point_invoke(), paintcurve_select_point_invoke(), sample_color_invoke(), sample_color_modal(), screen_area_menu_items(), screen_area_options_invoke(), sculpt_sample_detail_size_modal(), select_linked_pick_invoke(), stitch_exit(), and view3d_select_invoke().
void RNA_main_pointer_create | ( | struct Main * | main, |
PointerRNA * | r_ptr | ||
) |
Definition at line 105 of file rna_access.c.
References PointerRNA::data, main(), NULL, PointerRNA::owner_id, and PointerRNA::type.
Referenced by BPY_rna_module(), BPY_update_rna_module(), blender::ed::outliner::TreeDisplayDataAPI::buildTree(), create_func(), panel_draw(), reset_func(), and search_id_collection().
int RNA_parameter_dynamic_length_get | ( | ParameterList * | parms, |
PropertyRNA * | parm | ||
) |
Definition at line 6104 of file rna_access.c.
References ParameterIterator::data, len, ParameterIterator::parm, RNA_parameter_dynamic_length_get_data(), RNA_parameter_list_begin(), RNA_parameter_list_end(), RNA_parameter_list_next(), and ParameterIterator::valid.
int RNA_parameter_dynamic_length_get_data | ( | ParameterList * | parms, |
PropertyRNA * | parm, | ||
void * | data | ||
) |
void RNA_parameter_dynamic_length_set | ( | ParameterList * | parms, |
PropertyRNA * | parm, | ||
int | length | ||
) |
Definition at line 6126 of file rna_access.c.
References ParameterIterator::data, blender::math::length(), ParameterIterator::parm, RNA_parameter_dynamic_length_set_data(), RNA_parameter_list_begin(), RNA_parameter_list_end(), RNA_parameter_list_next(), and ParameterIterator::valid.
void RNA_parameter_dynamic_length_set_data | ( | ParameterList * | parms, |
PropertyRNA * | parm, | ||
void * | data, | ||
int | length | ||
) |
int RNA_parameter_flag | ( | PropertyRNA * | prop | ) |
Definition at line 5821 of file rna_access.c.
References PropertyRNA::flag_parameter, and rna_ensure_property().
Referenced by bpy_class_call(), pyrna_func_call(), pyrna_param_to_py(), pyrna_py_to_prop(), rna_function_arg_count(), RNA_function_call_direct_va(), and RNA_pointer_as_string_keywords_ex().
void RNA_parameter_get | ( | ParameterList * | parms, |
PropertyRNA * | parm, | ||
void ** | value | ||
) |
Definition at line 5997 of file rna_access.c.
References ParameterDynAlloc::array, ParameterIterator::data, PropertyRNA::flag, NULL, ParameterIterator::parm, PROP_DYNAMIC, RNA_parameter_list_begin(), RNA_parameter_list_end(), RNA_parameter_list_next(), and ParameterIterator::valid.
Referenced by RNA_parameter_get_lookup().
void RNA_parameter_get_lookup | ( | ParameterList * | parms, |
const char * | identifier, | ||
void ** | value | ||
) |
Definition at line 6026 of file rna_access.c.
References FunctionRNA::cont, ListBase::first, ParameterList::func, PropertyRNA::next, ContainerRNA::properties, RNA_parameter_get(), RNA_property_identifier(), and STREQ.
int RNA_parameter_list_arg_count | ( | const ParameterList * | parms | ) |
Definition at line 5954 of file rna_access.c.
References ParameterList::arg_count.
Referenced by pyrna_func_call().
void RNA_parameter_list_begin | ( | ParameterList * | parms, |
ParameterIterator * | iter | ||
) |
Definition at line 5964 of file rna_access.c.
References FunctionRNA::cont, ParameterList::data, ParameterIterator::data, ListBase::first, ParameterList::func, NULL, ParameterIterator::offset, ParameterIterator::parm, ParameterIterator::parms, ContainerRNA::properties, rna_parameter_size(), ParameterIterator::size, and ParameterIterator::valid.
Referenced by bpy_class_call(), pyrna_func_call(), RNA_function_call_direct_va(), RNA_parameter_dynamic_length_get(), RNA_parameter_dynamic_length_set(), RNA_parameter_get(), and RNA_parameter_set().
ParameterList* RNA_parameter_list_create | ( | ParameterList * | parms, |
PointerRNA * | ptr, | ||
FunctionRNA * | func | ||
) |
void RNA_parameter_list_end | ( | ParameterIterator * | iter | ) |
void RNA_parameter_list_free | ( | ParameterList * | parms | ) |
Definition at line 5922 of file rna_access.c.
References ParameterDynAlloc::array, BLI_freelistN(), FunctionRNA::cont, ParameterList::data, ListBase::first, PropertyRNA::flag, ParameterList::func, MEM_freeN, PropertyRNA::next, NULL, PROP_COLLECTION, PROP_DYNAMIC, ContainerRNA::properties, rna_parameter_size(), rna_parameter_size_pad(), and PropertyRNA::type.
Referenced by pyrna_func_call(), RNA_function_call_direct_va(), RNA_property_collection_add(), and RNA_property_collection_remove().
void RNA_parameter_list_next | ( | ParameterIterator * | iter | ) |
Definition at line 5980 of file rna_access.c.
References ParameterList::data, ParameterIterator::data, PropertyRNA::next, NULL, ParameterIterator::offset, ParameterIterator::parm, ParameterIterator::parms, rna_parameter_size(), rna_parameter_size_pad(), ParameterIterator::size, and ParameterIterator::valid.
Referenced by bpy_class_call(), pyrna_func_call(), RNA_function_call_direct_va(), RNA_parameter_dynamic_length_get(), RNA_parameter_dynamic_length_set(), RNA_parameter_get(), and RNA_parameter_set().
int RNA_parameter_list_ret_count | ( | const ParameterList * | parms | ) |
Definition at line 5959 of file rna_access.c.
References ParameterList::ret_count.
int RNA_parameter_list_size | ( | const ParameterList * | parms | ) |
Definition at line 5949 of file rna_access.c.
References ParameterList::alloc_size.
void RNA_parameter_set | ( | ParameterList * | parms, |
PropertyRNA * | parm, | ||
const void * | value | ||
) |
Definition at line 6042 of file rna_access.c.
References ParameterDynAlloc::array, ParameterDynAlloc::array_tot, ParameterIterator::data, PropertyRNA::flag, float(), MEM_freeN, MEM_mallocN, ParameterIterator::parm, PROP_BOOLEAN, PROP_DYNAMIC, PROP_FLOAT, PROP_INT, PROP_STRING, RNA_parameter_list_begin(), RNA_parameter_list_end(), RNA_parameter_list_next(), size(), ParameterIterator::size, PropertyRNA::type, and ParameterIterator::valid.
Referenced by RNA_parameter_set_lookup().
void RNA_parameter_set_lookup | ( | ParameterList * | parms, |
const char * | identifier, | ||
const void * | value | ||
) |
Definition at line 6088 of file rna_access.c.
References FunctionRNA::cont, ListBase::first, ParameterList::func, PropertyRNA::next, ContainerRNA::properties, RNA_parameter_set(), RNA_property_identifier(), and STREQ.
bool RNA_path_resolved_create | ( | PointerRNA * | ptr, |
struct PropertyRNA * | prop, | ||
int | prop_index, | ||
PathResolvedRNA * | r_anim_rna | ||
) |
Definition at line 6788 of file rna_access.c.
References PathResolvedRNA::prop, PathResolvedRNA::prop_index, PathResolvedRNA::ptr, ptr, and RNA_property_array_length().
Referenced by insert_keyframe_value().
void RNA_pointer_add | ( | PointerRNA * | ptr, |
const char * | name | ||
) |
Definition at line 5191 of file rna_access.c.
References StructRNA::identifier, ptr, RNA_property_pointer_add(), RNA_struct_find_property(), and PointerRNA::type.
char* RNA_pointer_as_string | ( | struct bContext * | C, |
PointerRNA * | ptr, | ||
PropertyRNA * | prop_ptr, | ||
PointerRNA * | ptr_prop | ||
) |
Definition at line 5382 of file rna_access.c.
References BLI_strdup(), C, CTX_data_main(), PointerRNA::data, IDP_ID, NULL, ptr, rna_idproperty_check(), rna_pointer_as_string__bldata(), RNA_pointer_as_string_id(), and IDProperty::type.
Referenced by RNA_property_as_string().
char* RNA_pointer_as_string_id | ( | struct bContext * | C, |
PointerRNA * | ptr | ||
) |
String representation of a property, Python compatible but can be used for display too.
C | can be NULL. |
Definition at line 5336 of file rna_access.c.
References BLI_dynstr_append(), BLI_dynstr_appendf(), BLI_dynstr_free(), BLI_dynstr_get_cstring(), BLI_dynstr_new(), C, MEM_freeN, ptr, RNA_property_as_string(), RNA_property_identifier(), RNA_STRUCT_BEGIN, RNA_STRUCT_END, and STREQ.
Referenced by RNA_pointer_as_string(), and WM_operator_pystring_ex().
char* RNA_pointer_as_string_keywords | ( | struct bContext * | C, |
PointerRNA * | ptr, | ||
bool | as_function, | ||
bool | all_args, | ||
bool | nested_args, | ||
int | max_prop_length | ||
) |
Definition at line 5477 of file rna_access.c.
References C, ptr, RNA_pointer_as_string_keywords_ex(), RNA_struct_iterator_property(), and PointerRNA::type.
Referenced by keymap_handler_log_kmi_op_str(), and WM_operator_pystring_ex().
char* RNA_pointer_as_string_keywords_ex | ( | struct bContext * | C, |
PointerRNA * | ptr, | ||
bool | as_function, | ||
bool | all_args, | ||
bool | nested_args, | ||
int | max_prop_length, | ||
PropertyRNA * | iterprop | ||
) |
C | can be NULL. |
Definition at line 5397 of file rna_access.c.
References BLI_dynstr_appendf(), BLI_dynstr_free(), BLI_dynstr_get_cstring(), BLI_dynstr_new(), BLI_strdup(), C, PropertyRNA::flag_parameter, MEM_freeN, NULL, PARM_OUTPUT, PARM_REQUIRED, PROP_NEVER_NULL, PROP_POINTER, ptr, RNA_parameter_flag(), RNA_PROP_BEGIN, RNA_PROP_END, RNA_property_as_string(), RNA_property_flag(), RNA_property_identifier(), RNA_property_is_set(), RNA_property_type(), RNA_struct_idprops_check(), STREQ, and PointerRNA::type.
Referenced by RNA_function_as_string_keywords(), and RNA_pointer_as_string_keywords().
void RNA_pointer_create | ( | struct ID * | id, |
StructRNA * | type, | ||
void * | data, | ||
PointerRNA * | r_ptr | ||
) |
Definition at line 136 of file rna_access.c.
References data, PointerRNA::data, id, NULL, PointerRNA::owner_id, StructRNA::refine, rna_ID_refine(), type, and PointerRNA::type.
Referenced by acf_fcurve_name_prop(), acf_gpl_name_prop(), acf_group_name_prop(), acf_masklay_name_prop(), acf_nlaaction_name_prop(), acf_nlatrack_name_prop(), acf_shapekey_name_prop(), actedit_change_action(), action_get_item_transforms(), ANIM_channel_draw_widgets(), ANIM_fmodifier_panels(), ANIM_relative_keyingset_add_source(), apply_armature_pose2bones_ui(), armature_bone_layers_exec(), asset_view_template_refresh_asset_collection(), autokeyframe_sequencer_image(), bake_func(), BKE_callback_exec_id_depsgraph(), BKE_keyblock_curval_rnapath_get(), BKE_nlameta_flush_transforms(), block_create_autorun_warning(), bpy_class_call(), BPy_init_modules(), bpy_pydriver_depsgraph_as_pyobject(), bpy_rna_data_context_enter(), bpy_rna_enum_items_static(), bpy_utils_previews_load(), bpy_utils_previews_new(), blender::deg::DepsgraphRelationBuilder::build_ik_pose(), buttons_context_path(), buttons_context_path_bone(), buttons_context_path_modifier(), buttons_context_path_particle(), buttons_context_path_pose_bone(), buttons_context_path_view_layer(), buttons_texture_modifier_foreach(), buttons_texture_modifier_geonodes_users_add(), buttons_texture_modifier_gpencil_foreach(), buttons_texture_users_find_nodetree(), buttons_texture_users_from_context(), clip_draw_dopesheet_channels(), collection_isolate_exec(), colorband_buttons_layout(), colorband_tools_func(), constraint_ops_extra_draw(), context_cycle_prop_get(), blender::ui::context_path_add_generic(), create_func(), CTX_data_dir_get_ex(), CTX_data_list_add(), CTX_data_pointer_set(), CurveProfile_buttons_layout(), denoise_func(), depthdropper_init(), draw_channel_labels(), draw_channel_widget_lock(), draw_channel_widget_mute(), draw_constraint_header(), draw_func(), ED_animedit_unlink_action(), ED_annotation_data_get_pointers_direct(), ED_area_header_switchbutton(), ED_file_path_button(), ED_region_do_draw(), ED_screens_footer_tools_menu_create(), ED_screens_header_tools_menu_create(), ed_screens_statusbar_menu_create(), ED_time_scrub_channel_search_draw(), ED_view3d_cursor3d_update(), edbm_average_normals_ui(), edbm_bevel_ui(), edbm_normals_tools_ui(), edbm_point_normals_ui(), envelope_panel_draw(), fcurves_to_pchan_links_get(), file_main_region_message_subscribe(), file_panel_asset_catalog_buttons_draw(), file_panel_execution_buttons_draw(), followpath_path_animate_exec(), Freestyle_getCurrentScene(), geometry_nodes_input_attribute_toggle_exec(), blender::compositor::NodeOutput::get_editor_value_color(), blender::compositor::NodeInput::get_editor_value_color(), blender::compositor::NodeOutput::get_editor_value_float(), blender::compositor::NodeInput::get_editor_value_float(), blender::compositor::NodeOutput::get_editor_value_vector(), blender::compositor::NodeInput::get_editor_value_vector(), Freestyle::BlenderStrokeRenderer::GetStrokeShader(), gizmo2d_pivot_point_message_subscribe(), GIZMO_GT_snap_3d(), gizmo_mesh_extrude_message_subscribe(), gizmo_mesh_spin_init_message_subscribe(), gizmo_xform_message_subscribe(), gpencil_interpolate_seq_ui(), gpencil_modifier_ops_extra_draw(), gpencil_modifier_panel_get_property_pointers(), gpencil_shaderfx_ops_extra_draw(), graph_draw_driven_property_panel(), graph_draw_driver_settings_panel(), graph_panel_cursor(), graph_panel_cursor_header(), graph_panel_drivers_popover(), graph_panel_driverVar__locDiff(), graph_panel_driverVar__rotDiff(), graph_panel_driverVar__singleProp(), graph_panel_driverVar__transChan(), graph_panel_key_properties(), graph_panel_properties(), graph_region_message_subscribe(), id_data_find_fcurve(), image_open_draw(), image_save_as_draw(), lib_override_library_id_reset_do(), menu_add_shortcut(), menu_change_shortcut(), menu_items_from_ui_create(), modifier_ops_extra_draw(), modifier_panel_get_property_pointers(), nla_channel_region_message_subscribe(), nla_main_region_message_subscribe(), nla_panel_context(), nlaedit_clear_scale_exec(), nlastrip_evaluate_controls(), blender::ed::space_node::node_buts_normal(), blender::ed::space_node::node_buts_rgb(), blender::ed::space_node::node_buts_value(), blender::ed::space_node::node_composit_buts_cryptomatte(), blender::ed::space_node::node_composit_buts_image(), blender::ed::space_node::node_composit_buts_image_ex(), blender::nodes::node_composite_keyingscreen_cc::node_composit_buts_keyingscreen(), blender::nodes::node_composite_planetrackdeform_cc::node_composit_buts_planetrackdeform(), blender::nodes::node_composite_trackpos_cc::node_composit_buts_trackpos(), blender::bke::node_copy_with_mapping(), blender::ed::space_node::node_draw_link_bezier(), blender::ed::space_node::node_draw_sockets(), blender::ed::space_node::node_file_output_socket_draw(), blender::ed::space_node::node_group_make_insert_selected(), blender::ed::space_node::node_group_separate_selected(), blender::ed::space_node::node_group_ungroup(), node_init(), blender::ed::space_node::node_socket_color_get(), node_socket_get_color(), node_socket_get_float(), node_socket_get_vector(), node_socket_set_color(), node_socket_set_float(), node_socket_set_vector(), blender::ed::space_node::node_texture_buts_image_ex(), blender::ed::space_node::node_texture_buts_proc(), blender::ed::space_node::node_update_basis(), nodeRemoveNode(), blender::ed::spreadsheet::GeometryDataSetTreeViewItem::on_activate(), operator_properties_init(), outliner_base_or_object_pointer_create(), outliner_collection_set_flag_recursive_fn(), outliner_draw_restrictbuts(), outliner_layer_or_collection_pointer_create(), outliner_object_set_flag_recursive_fn(), outliner_restrict_properties_collection_set(), outliner_set_properties_tab(), panel_draw(), pose_bone_layers_exec(), pose_calculate_paths_exec(), pose_calculate_paths_invoke(), pose_slide_apply_props(), pyop_as_string(), pyop_getrna_type(), PYOP_wrap_macro_define(), pyrna_dir_members_rna(), pyrna_func_call(), pyrna_param_to_py(), pyrna_py_to_prop(), pyrna_srna_contains_pointer_prop_srna(), pyrna_struct_bl_rna_get_subclass(), pyrna_struct_driver_add(), pyrna_struct_get_rna_type(), pyrna_subtype_set_rna(), radial_control_get_properties(), recalcData_nla(), render_func(), reset_func(), rigidbody_objects_calc_mass_exec(), rigidbody_objects_shape_change_exec(), blender::nodes::SocketRef::rna(), blender::nodes::NodeRef::rna(), RNA_function_as_string_keywords(), RNA_function_call_direct_va(), rna_function_parameter_parse(), rna_raw_access(), RNA_struct_count_properties(), RNA_struct_find_function(), saction_channel_region_message_subscribe(), saction_main_region_message_subscribe(), saveTransform(), screen_user_menu_draw(), screenshot_draw(), sequencer_add_draw(), sequencer_change_path_exec(), shaderfx_panel_get_property_pointers(), singleuser_action_fn(), space_type_set_or_cycle_exec(), spreadsheet_row_filters_layout(), sync_func(), template_operator_property_buts_draw_single(), template_search_exec_fn(), blender::bke::tests::test_render_pass_conflict(), toggle_pin_exec(), ui_but_string_get_ex(), ui_but_string_set(), UI_context_copy_to_selected_list(), ui_context_selected_bones_via_pose(), ui_layout_operator_properties_only_booleans(), blender::ed::space_node::ui_node_draw_input(), blender::ed::space_node::ui_node_draw_node(), UI_pie_menu_invoke_from_rna_enum(), ui_popup_context_menu_for_panel(), uiLayoutSetContextFromBut(), uilist_draw_filter_default(), uiTemplateConstraints(), uiTemplateGpencilModifiers(), uiTemplateModifiers(), uiTemplateNodeLink(), uiTemplatePaintModeSelection(), uiTemplatePalette(), uiTemplatePreview(), uiTemplateShaderFx(), blender::nodes::node_composite_output_file_cc::update_output_file(), userpref_show_exec(), v3d_editarmature_buts(), v3d_editmetaball_buts(), v3d_editvertex_buts(), v3d_posearmature_buts(), view3d_panel_vgroup(), WIDGETGROUP_camera_refresh(), WIDGETGROUP_forcefield_refresh(), WIDGETGROUP_gizmo_message_subscribe(), WIDGETGROUP_light_spot_refresh(), blender::ed::space_node::WIDGETGROUP_node_corner_pin_refresh(), blender::ed::space_node::WIDGETGROUP_node_crop_refresh(), blender::ed::space_node::WIDGETGROUP_node_sbeam_refresh(), blender::ed::space_node::WIDGETGROUP_node_transform_refresh(), wm_gizmo_create(), WM_gizmo_properties_create(), WM_gizmo_properties_create_ptr(), wm_keymap_item_find(), wm_keymap_item_find_in_keymap(), wm_operator_create(), WM_operator_last_properties_ensure(), WM_operator_name_call_with_properties(), WM_operator_properties_create(), WM_operator_properties_create_ptr(), wm_stereo3d_set_draw(), WM_toolsystem_ref_properties_ensure_ex(), WM_toolsystem_ref_properties_get_ex(), and wm_userpref_update_when_changed().
PointerRNA RNA_pointer_get | ( | PointerRNA * | ptr, |
const char * | name | ||
) |
Retrieve the named property from PointerRNA.
Definition at line 5167 of file rna_access.c.
References StructRNA::identifier, PointerRNA_NULL, ptr, RNA_property_pointer_get(), RNA_struct_find_property(), and PointerRNA::type.
Referenced by advanced_panel_draw(), BKE_scene_uses_cycles_experimental_features(), blender_camera_from_object(), blender_device_info(), BlenderObjectCulling::BlenderObjectCulling(), BlenderSync::BlenderSync(), BlenderViewportParameters::BlenderViewportParameters(), UnitConverter::calculate_scale(), create_subd_mesh(), CCL_NAMESPACE_BEGIN::debug_flags_sync_from_scene(), edge_types_panel_draw(), DocumentExporter::exportCurrentScene(), DocumentImporter::finish(), BlenderSync::get_denoise_params(), BlenderSync::get_scene_params(), BlenderSync::get_session_params(), BlenderSync::get_session_pause(), gizmo_mesh_extrude_invoke_prepare(), gizmo_mesh_extrude_setup(), gpencil_modifier_masking_panel_draw(), image_save_as_draw(), BlenderObjectCulling::init_object(), layers_panel_draw(), blender::ed::space_node::node_buts_image_user(), blender::ed::space_node::node_composit_buts_cryptomatte(), blender::nodes::node_composite_output_file_cc::node_composit_buts_file_output(), blender::nodes::node_composite_output_file_cc::node_composit_buts_file_output_ex(), blender::ed::space_node::node_composit_buts_image(), blender::nodes::node_composite_movieclip_cc::node_composit_buts_movieclip_ex(), blender::nodes::node_composite_image_cc::node_composit_buts_viewlayers(), blender::ed::space_node::node_file_output_socket_draw(), blender::nodes::node_shader_normal_map_cc::node_shader_buts_normal_map(), blender::nodes::node_shader_tangent_cc::node_shader_buts_tangent(), blender::ed::space_node::node_shader_buts_tex_environment(), blender::ed::space_node::node_shader_buts_tex_environment_ex(), blender::ed::space_node::node_shader_buts_tex_image(), blender::ed::space_node::node_shader_buts_tex_image_ex(), blender::nodes::node_shader_uvmap_cc::node_shader_buts_uvmap(), blender::nodes::node_shader_vertex_color_cc::node_shader_buts_vertex_color(), object_motion_steps(), object_need_motion_attribute(), object_subdivision_type(), object_use_deform_motion(), offset_panel_draw(), options_light_reference_draw(), panel_draw(), BlenderSession::reset_session(), BlenderSync::sync_camera(), BlenderSync::sync_integrator(), BlenderSync::sync_recalc(), BlenderSync::sync_render_passes(), BlenderSync::sync_view(), BlenderSync::sync_view_layer(), texture_panel_draw(), ui_drop_material_tooltip(), UI_icon_from_rnaptr(), uiTemplateImageSettings(), uiTemplateKeymapItemProperties(), v3d_editarmature_buts(), v3d_transform_butsR(), and weightvg_ui_common().
bool RNA_pointer_is_null | ( | const PointerRNA * | ptr | ) |
Definition at line 164 of file rna_access.c.
References PointerRNA::data, NULL, PointerRNA::owner_id, ptr, and PointerRNA::type.
Referenced by advanced_panel_draw(), BKE_scene_uses_cycles_experimental_features(), blender::deg::DepsgraphRelationBuilder::build_driver_data(), blender::deg::DepsgraphRelationBuilder::build_driver_variables(), edit_constraint_invoke_properties(), edit_modifier_invoke_properties_with_hover(), edit_shaderfx_invoke_properties(), gpencil_edit_modifier_invoke_properties(), gpencil_modifier_masking_panel_draw(), jump_to_target_ptr(), lib_id_fake_user_toggle_exec(), lib_id_unlink_exec(), modifier_panel_get_property_pointers(), offset_panel_draw(), panel_custom_data_active_get(), panel_custom_data_active_set(), panel_draw(), rna_idp_path(), texture_panel_draw(), ui_drop_material_poll(), uiTemplateCacheFileLayers(), uiTemplateCacheFileProcedural(), uiTemplateCacheFileTimeSettings(), uiTemplateCacheFileVelocity(), and weightvg_ui_common().
void RNA_pointer_recast | ( | PointerRNA * | ptr, |
PointerRNA * | r_ptr | ||
) |
Definition at line 207 of file rna_access.c.
References StructRNA::base, PointerRNA::data, PointerRNA::owner_id, ptr, RNA_id_pointer_create(), rna_pointer_inherit_refine(), RNA_struct_is_ID(), and PointerRNA::type.
Referenced by pyrna_struct_type_recast().
void RNA_pointer_set | ( | PointerRNA * | ptr, |
const char * | name, | ||
PointerRNA | ptr_value | ||
) |
Definition at line 5179 of file rna_access.c.
References StructRNA::identifier, NULL, ptr, RNA_property_pointer_set(), RNA_struct_find_property(), and PointerRNA::type.
Referenced by asset_view_template_refresh_asset_collection(), and toggle_pin_exec().
bool RNA_property_animateable | ( | const PointerRNA * | ptr, |
PropertyRNA * | prop | ||
) |
Definition at line 1993 of file rna_access.c.
References PropertyRNA::flag, id_can_have_animdata(), PointerRNA::owner_id, PROP_ANIMATABLE, PROP_EDITABLE, ptr, and rna_ensure_property().
Referenced by add_driver_button_invoke(), add_driver_button_none(), add_driver_button_poll(), add_keyingset_button_exec(), BKE_animsys_read_from_rna_path(), BKE_animsys_rna_path_resolve(), BKE_animsys_write_to_rna_path(), BKE_fcurve_find_by_rna_context_ui(), copy_driver_button_exec(), do_outliner_drivers_editop(), do_outliner_keyingset_editop(), driver_mapping_type_itemf(), driverdropper_init(), insert_key_button_exec(), nlaevalchan_verify(), paste_driver_button_exec(), pyrna_struct_anim_args_parse_ex(), ui_popup_context_menu_for_button(), and uiItemDecoratorR_prop().
bool RNA_property_animated | ( | PointerRNA * | ptr, |
PropertyRNA * | prop | ||
) |
Definition at line 2009 of file rna_access.c.
References BKE_fcurve_find_by_rna(), len, NULL, ptr, RNA_property_array_check(), and RNA_property_array_length().
Referenced by RNA_struct_override_matches().
bool RNA_property_array_check | ( | PropertyRNA * | prop | ) |
Definition at line 1080 of file rna_access.c.
References rna_ensure_property_array_check().
Referenced by add_driver_with_target(), BCAnimationCurve::add_value_from_rna(), ANIM_add_driver_with_target(), assign_default_button_poll(), copy_as_driver_button_poll(), depthdropper_poll(), driver_mapping_type_itemf(), dtar_get_prop_val(), getname_anim_fcurve(), initTransInfo(), menu_search_exec_fn(), nlaevalchan_get_default_values(), nlaevalchan_verify_key(), pose_propagate_get_refVal(), pyrna_param_to_py(), pyrna_prop_CreatePyObject(), pyrna_prop_str(), pyrna_prop_to_py(), pyrna_py_to_prop(), pyrna_struct_anim_args_parse_ex(), RNA_path_full_property_py_ex(), RNA_path_property_py(), RNA_path_struct_property_py(), RNA_property_animated(), RNA_property_assign_default(), RNA_property_boolean_get(), RNA_property_boolean_get_array(), RNA_property_boolean_get_default(), RNA_property_boolean_get_default_array(), RNA_property_boolean_get_default_index(), RNA_property_boolean_get_index(), RNA_property_boolean_set(), RNA_property_boolean_set_array(), RNA_property_boolean_set_index(), RNA_property_float_get(), RNA_property_float_get_array(), RNA_property_float_get_default(), RNA_property_float_get_default_array(), RNA_property_float_get_default_index(), RNA_property_float_get_index(), RNA_property_float_set(), RNA_property_float_set_array(), RNA_property_float_set_index(), RNA_property_int_get(), RNA_property_int_get_array(), RNA_property_int_get_default_array(), RNA_property_int_get_default_index(), RNA_property_int_get_index(), RNA_property_int_set(), RNA_property_int_set_array(), RNA_property_int_set_index(), saveTransform(), setting_get_rna_values(), tree_element_to_path(), ui_but_anim_expression_create(), ui_but_range_set_soft(), ui_but_value_get(), ui_but_value_set(), ui_button_value_default(), ui_def_but_rna(), ui_item_rna_is_expand(), ui_selectcontext_apply(), ui_selectcontext_begin(), ui_tooltip_data_from_button_or_extra_icon(), uiDefAutoButR(), uiDefAutoButsRNA(), uiItemDecoratorR_prop(), uiItemFullR(), and WM_operator_view3d_unit_defaults().
int RNA_property_array_dimension | ( | const PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
int | length[] | ||
) |
Used by BPY to make an array from the python object.
Definition at line 1085 of file rna_access.c.
References PropertyRNA::arraydimension, blender::math::length(), ptr, rna_ensure_property(), and rna_ensure_property_multi_array_length().
Referenced by bpy_prop_boolean_array_get_fn(), bpy_prop_boolean_array_set_fn(), bpy_prop_float_array_get_fn(), bpy_prop_float_array_set_fn(), bpy_prop_int_array_get_fn(), bpy_prop_int_array_set_fn(), copy_as_driver_button_exec(), copy_values(), prop_subscript_ass_array_slice(), py_to_array_index(), pyrna_array_contains_py(), pyrna_math_object_from_array(), pyrna_prop_array_length(), pyrna_prop_array_subscript_slice(), pyrna_py_from_array_index(), pyrna_py_to_prop_array_index(), rna_array_as_string(), rna_path_array_multi_string_from_flat_index(), rna_path_parse_array_index(), rna_property_array_length_all_dimensions(), ui_item_array(), validate_array(), and validate_array_length().
char RNA_property_array_item_char | ( | PropertyRNA * | prop, |
int | index | ||
) |
Definition at line 1105 of file rna_access.c.
References BLI_assert, ELEM, PROP_ACCELERATION, PROP_AXISANGLE, PROP_COLOR, PROP_COLOR_GAMMA, PROP_COORDS, PROP_DIRECTION, PROP_EULER, PROP_QUATERNION, PROP_TRANSLATION, PROP_VELOCITY, PROP_XYZ, PROP_XYZ_LENGTH, and RNA_property_subtype().
Referenced by getname_anim_fcurve(), blender::ed::outliner::TreeElementRNAArrayElement::TreeElementRNAArrayElement(), ui_item_array(), and uiItemFullR().
int RNA_property_array_item_index | ( | PropertyRNA * | prop, |
char | name | ||
) |
Definition at line 1136 of file rna_access.c.
References ELEM, PROP_ACCELERATION, PROP_AXISANGLE, PROP_COLOR, PROP_COLOR_GAMMA, PROP_DIRECTION, PROP_EULER, PROP_QUATERNION, PROP_TRANSLATION, PROP_VELOCITY, PROP_XYZ, PROP_XYZ_LENGTH, rna_ensure_property(), and PropertyRNA::subtype.
Referenced by rna_path_parse_array_index().
int RNA_property_array_length | ( | PointerRNA * | ptr, |
PropertyRNA * | prop | ||
) |
Definition at line 1075 of file rna_access.c.
References ptr, and rna_ensure_property_array_length().
Referenced by BCAnimationCurve::add_value_from_rna(), ANIM_add_driver(), ANIM_add_driver_with_target(), ANIM_apply_keyingset(), BKE_animsys_rna_path_resolve(), bpy_prop_boolean_array_get_fn(), bpy_prop_boolean_array_set_fn(), bpy_prop_float_array_get_fn(), bpy_prop_float_array_set_fn(), bpy_prop_int_array_get_fn(), bpy_prop_int_array_set_fn(), clear_keyframe(), delete_keyframe(), do_outliner_drivers_editop(), drop_color_invoke(), drw_uniform_property_lookup(), dtar_get_prop_val(), blender::ed::outliner::TreeElementRNAProperty::expand(), eyedropper_init(), foreach_attr_type(), foreach_parse_args(), get_but_property_array_length(), get_default_rna_value(), handle_layer_buttons(), lookup_property(), mathutils_rna_vector_set(), nlaevalchan_get_default_values(), nlaevalchan_verify_key(), override_remove_button_exec(), pose_propagate_get_refVal(), prop_subscript_ass_array_slice(), pyrna_array_contains_py(), pyrna_driver_get_variable_value(), pyrna_math_object_from_array(), pyrna_param_to_py(), pyrna_prop_array_bool(), pyrna_prop_array_length(), pyrna_struct_anim_args_parse_ex(), pyrna_struct_path_resolve(), radial_control_get_path(), RNA_function_call_direct_va(), RNA_path_resolved_create(), RNA_property_animated(), RNA_property_as_string(), rna_property_boolean_get_default_array_values(), RNA_property_float_get_array(), RNA_property_float_get_array_range(), rna_property_float_get_default_array_values(), RNA_property_float_set_array(), RNA_property_int_get_array(), RNA_property_int_get_array_range(), rna_property_int_get_default_array_values(), RNA_property_int_set_array(), rna_property_override_operation_apply(), rna_property_override_operation_store(), RNA_property_reset(), rna_raw_access(), setting_get_rna_values(), ui_but_v3_get(), ui_but_v3_set(), ui_do_but_HSVCIRCLE(), ui_do_but_HSVCUBE(), ui_item_enum_expand_tabs(), ui_item_rna_size(), ui_layer_but_cb(), ui_popup_context_menu_for_button(), ui_selectcontext_apply(), uiDefAutoButsArrayR(), uiItemDecoratorR_prop(), uiItemFullR(), uiTemplateLayers(), validate_array_length(), widget_swatch(), and WM_gizmo_target_property_array_length().
char* RNA_property_as_string | ( | struct bContext * | C, |
PointerRNA * | ptr, | ||
PropertyRNA * | prop, | ||
int | index, | ||
int | max_prop_length | ||
) |
Python compatible string representation of this property, (must be freed!).
Definition at line 5615 of file rna_access.c.
References BLI_dynstr_append(), BLI_dynstr_appendf(), BLI_dynstr_free(), BLI_dynstr_get_cstring(), BLI_dynstr_new(), BLI_str_escape(), bool_as_py_string(), C, free(), EnumPropertyItem::identifier, len, blender::math::length(), MEM_freeN, MEM_mallocN, NULL, PROP_BOOLEAN, PROP_COLLECTION, PROP_ENUM, PROP_ENUM_FLAG, PROP_FLOAT, PROP_INT, PROP_POINTER, PROP_STRING, CollectionPropertyIterator::ptr, ptr, rna_array_as_string(), RNA_pointer_as_string(), RNA_property_array_length(), RNA_property_boolean_get(), RNA_property_boolean_get_index(), RNA_property_collection_begin(), RNA_property_collection_end(), RNA_property_collection_next(), RNA_property_enum_get(), RNA_property_enum_identifier(), RNA_property_enum_items(), RNA_property_flag(), RNA_property_float_get(), RNA_property_float_get_index(), RNA_property_int_get(), RNA_property_int_get_index(), RNA_property_pointer_get(), RNA_property_string_get(), RNA_property_string_length(), RNA_property_type(), type, CollectionPropertyIterator::valid, and EnumPropertyItem::value.
Referenced by RNA_pointer_as_string_id(), RNA_pointer_as_string_keywords_ex(), and WM_prop_pystring_assign().
bool RNA_property_assign_default | ( | PointerRNA * | ptr, |
PropertyRNA * | prop | ||
) |
Definition at line 6744 of file rna_access.c.
References PROP_FLOAT, PROP_INT, ptr, RNA_property_array_check(), RNA_property_float_get(), RNA_property_float_set_default(), RNA_property_int_get(), RNA_property_int_set_default(), RNA_property_is_idprop(), and RNA_property_type().
Referenced by assign_default_button_exec().
bool RNA_property_boolean_get | ( | PointerRNA * | ptr, |
PropertyRNA * | prop | ||
) |
Definition at line 2153 of file rna_access.c.
References BLI_assert, BoolPropertyRNA::defaultvalue, ELEM, BoolPropertyRNA::get, BoolPropertyRNA::get_ex, IDP_Int, PROP_BOOLEAN, ptr, rna_idproperty_check(), RNA_property_array_check(), and RNA_property_type().
Referenced by BCAnimationCurve::add_value_from_rna(), ANIM_add_driver(), BKE_animsys_read_from_rna_path(), collection_isolate_exec(), data_transfer_poll_property(), dt_layers_select_dst_itemf(), dt_layers_select_src_itemf(), dtar_get_prop_val(), ED_object_add_generic_get_opts(), edbm_point_normals_modal(), file_sfile_to_operator_ex(), fileselect_ensure_updated_file_params(), gesture_modal_state_from_operator(), gpencil_convert_layer_exec(), initSnapping(), initTransform(), initTransInfo(), load_data_init_from_operator(), menu_search_exec_fn(), modifier_apply_invoke(), object_transform_apply_invoke(), outliner_collection_is_isolated(), outliner_collection_set_flag_recursive_fn(), outliner_object_set_flag_recursive_fn(), outliner_restrict_properties_enable_collection_set(), outliner_restrict_properties_enable_layer_collection_set(), pose_propagate_get_refVal(), pose_slide_apply_props(), poselib_blend_init_data(), pyrna_prop_to_py(), radial_control_get_properties(), radial_control_paint_tex(), RNA_boolean_get(), RNA_property_as_string(), RNA_property_boolean_get_array(), rna_raw_access(), setting_get_rna_values(), transform_poll_property(), ui_but_value_get(), ui_selectcontext_apply(), ui_selectcontext_begin(), uiItemFullR(), view3d_cursor3d_invoke(), view_scrolldown_exec(), view_scrollup_exec(), wm_link_append_flag(), and wm_stereo3d_set_properties().
void RNA_property_boolean_get_array | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
bool * | values | ||
) |
Definition at line 2242 of file rna_access.c.
References PropertyRNA::arraydimension, BLI_assert, bool, BoolPropertyRNA::getarray, BoolPropertyRNA::getarray_ex, IDP_Array, IDProperty::len, PROP_BOOLEAN, ptr, rna_idproperty_check(), RNA_property_array_check(), RNA_property_boolean_get(), rna_property_boolean_get_default_array_values(), and RNA_property_type().
Referenced by initTransInfo(), prop_subscript_ass_array_slice(), pyrna_array_contains_py(), pyrna_prop_array_subscript_slice(), rna_array_as_string_alloc(), RNA_boolean_get_array(), RNA_property_boolean_get_index(), RNA_property_boolean_set_index(), rna_raw_access(), setting_get_rna_values(), transformops_loopsel_hack(), ui_item_array(), and ui_item_enum_expand_tabs().
bool RNA_property_boolean_get_default | ( | PointerRNA * | ptr, |
PropertyRNA * | prop | ||
) |
void RNA_property_boolean_get_default_array | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
bool * | values | ||
) |
Definition at line 2390 of file rna_access.c.
References PropertyRNA::arraydimension, BLI_assert, BoolPropertyRNA::defaultvalue, PROP_BOOLEAN, ptr, rna_ensure_property(), RNA_property_array_check(), rna_property_boolean_get_default_array_values(), and RNA_property_type().
Referenced by nlaevalchan_get_default_values(), RNA_property_boolean_get_default_index(), and RNA_property_reset().
bool RNA_property_boolean_get_default_index | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
int | index | ||
) |
Definition at line 2405 of file rna_access.c.
References BLI_assert, len, MEM_freeN, MEM_mallocN, PROP_BOOLEAN, ptr, rna_ensure_property_array_length(), RNA_MAX_ARRAY_LENGTH, RNA_property_array_check(), RNA_property_boolean_get_default_array(), and RNA_property_type().
Referenced by get_default_rna_value(), and RNA_property_reset().
bool RNA_property_boolean_get_index | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
int | index | ||
) |
Definition at line 2275 of file rna_access.c.
References BLI_assert, ELEM, len, MEM_freeN, MEM_mallocN, PROP_BOOLEAN, ptr, rna_ensure_property_array_length(), RNA_MAX_ARRAY_LENGTH, RNA_property_array_check(), RNA_property_boolean_get_array(), and RNA_property_type().
Referenced by BCAnimationCurve::add_value_from_rna(), ANIM_add_driver(), BKE_animsys_read_from_rna_path(), dtar_get_prop_val(), menu_search_exec_fn(), pose_propagate_get_refVal(), pyrna_array_index(), RNA_property_as_string(), ui_but_value_get(), ui_selectcontext_apply(), ui_selectcontext_begin(), uiItemFullR(), and uiTemplateLayers().
void RNA_property_boolean_set | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
bool | value | ||
) |
Definition at line 2180 of file rna_access.c.
References BLI_assert, ELEM, PropertyRNA::flag, IDPropertyTemplate::i, PropertyRNA::identifier, IDP_AddToGroup(), IDP_Int, IDP_INT, IDP_New(), PROP_BOOLEAN, PROP_EDITABLE, ptr, rna_idproperty_check(), rna_idproperty_touch(), RNA_property_array_check(), RNA_property_type(), RNA_struct_idprops(), BoolPropertyRNA::set, and BoolPropertyRNA::set_ex.
Referenced by average_tracks_invoke(), bake_set_props(), BKE_animsys_write_to_rna_path(), collection_isolate_invoke(), curve_draw_exec_precalc(), ED_object_add_generic_get_opts(), edbm_dissolve_mode_exec(), edbm_point_normals_modal(), file_browse_invoke(), fileselect_ensure_updated_file_params(), gesture_modal_state_to_operator(), gizmo2d_xform_setup(), image_open_invoke(), image_save_as_init(), initTransform(), initTransInfo(), menu_search_exec_fn(), modifier_apply_invoke(), object_hide_collection_invoke(), object_transform_apply_invoke(), outliner_collection_isolate_flag(), outliner_collection_set_flag_recursive(), outliner_object_set_flag_recursive_fn(), pose_slide_apply_props(), pyrna_py_to_prop(), RNA_boolean_set(), RNA_property_boolean_set_array(), RNA_property_reset(), rna_raw_access(), save_set_compress(), saveTransform(), sequencer_add_image_strip_invoke(), sequencer_add_movie_strip_invoke(), ui_but_value_set(), ui_selectcontext_apply(), uv_from_view_invoke(), view3d_cursor3d_invoke(), WIDGETGROUP_xform_cage_setup(), WM_generic_select_modal(), wm_open_init_load_ui(), wm_open_init_use_scripts(), wm_open_mainfile_check(), wm_save_as_mainfile_invoke(), and wm_save_mainfile_invoke().
void RNA_property_boolean_set_array | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
const bool * | values | ||
) |
Definition at line 2304 of file rna_access.c.
References IDPropertyTemplate::array, PropertyRNA::arraydimension, BLI_assert, PropertyRNA::flag, PropertyRNA::identifier, IDP_AddToGroup(), IDP_Array, IDP_ARRAY, IDP_Int, IDP_INT, IDP_New(), IDPropertyTemplate::len, IDProperty::len, PROP_BOOLEAN, PROP_EDITABLE, ptr, rna_idproperty_check(), rna_idproperty_touch(), RNA_property_array_check(), RNA_property_boolean_set(), RNA_property_type(), RNA_struct_idprops(), BoolPropertyRNA::setarray, BoolPropertyRNA::setarray_ex, PropertyRNA::totarraylength, and IDPropertyTemplate::type.
Referenced by gizmo2d_xform_setup(), gizmogroup_init_properties_from_twtype(), prop_subscript_ass_array_slice(), pyrna_py_to_array(), RNA_boolean_set_array(), RNA_property_boolean_set_index(), RNA_property_reset(), rna_raw_access(), saveTransform(), ui_selectcontext_apply(), WIDGETGROUP_gizmo_invoke_prepare(), and WIDGETGROUP_xform_cage_setup().
void RNA_property_boolean_set_index | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
int | index, | ||
bool | value | ||
) |
Definition at line 2352 of file rna_access.c.
References BLI_assert, ELEM, len, MEM_freeN, MEM_mallocN, PROP_BOOLEAN, ptr, rna_ensure_property_array_length(), RNA_MAX_ARRAY_LENGTH, RNA_property_array_check(), RNA_property_boolean_get_array(), RNA_property_boolean_set_array(), and RNA_property_type().
Referenced by BKE_animsys_write_to_rna_path(), bool_set_index(), handle_layer_buttons(), menu_search_exec_fn(), pyrna_py_to_prop_array_index(), RNA_property_reset(), ui_but_value_set(), ui_layer_but_cb(), and ui_selectcontext_apply().
bool RNA_property_builtin | ( | PropertyRNA * | prop | ) |
Definition at line 1065 of file rna_access.c.
References PROP_INTERN_BUILTIN, and rna_ensure_property().
Referenced by pyrna_srna_contains_pointer_prop_srna().
void RNA_property_collection_add | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
PointerRNA * | r_ptr | ||
) |
Definition at line 3835 of file rna_access.c.
References BLI_assert, PointerRNA::data, IDProperty::flag, PropertyRNA::flag, FUNC_USE_CONTEXT, PropertyRNA::identifier, StructRNA::identifier, IDP_AddToGroup(), IDP_AppendArray(), IDP_FLAG_OVERRIDELIBRARY_LOCAL, IDP_GetIndexArray(), IDP_GROUP, IDP_New(), IDP_NewIDPArray(), CollectionPropertyRNA::item_type, IDProperty::len, MEM_freeN, NULL, params, PROP_COLLECTION, PROP_IDPROPERTY, property_collection_liboverride_editable(), ptr, RNA_function_call(), rna_idproperty_check(), rna_idproperty_touch(), RNA_parameter_list_create(), RNA_parameter_list_free(), rna_pointer_inherit_id(), RNA_property_type(), RNA_struct_idprops(), and PointerRNA::type.
Referenced by asset_view_template_refresh_asset_collection(), file_sfile_to_operator_ex(), pyrna_prop_collection_idprop_add(), pyrna_py_to_prop(), and RNA_collection_add().
int RNA_property_collection_assign_int | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
int | key, | ||
const PointerRNA * | assign_ptr | ||
) |
Zero return is an assignment error.
Definition at line 4193 of file rna_access.c.
References CollectionPropertyRNA::assignint, BLI_assert, PROP_COLLECTION, ptr, rna_ensure_property(), and RNA_property_type().
Referenced by pyrna_prop_collection_ass_subscript_int().
PointerRNA void PointerRNA void RNA_property_collection_begin | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
CollectionPropertyIterator * | iter | ||
) |
Definition at line 3675 of file rna_access.c.
References CollectionPropertyRNA::begin, BLI_assert, PropertyRNA::flag, IDP_IDPArray, CollectionPropertyIterator::idprop, IDProperty::len, NULL, CollectionPropertyIterator::parent, CollectionPropertyIterator::prop, PROP_COLLECTION, PROP_IDPROPERTY, ptr, rna_idproperty_check(), rna_iterator_array_begin(), rna_property_collection_get_idp(), RNA_property_type(), and CollectionPropertyIterator::valid.
Referenced by pyrna_prop_collection_iter_CreatePyObject(), pyrna_prop_collection_subscript_int(), pyrna_prop_collection_subscript_slice(), pyrna_prop_collection_subscript_str(), RNA_collection_begin(), RNA_property_as_string(), RNA_property_collection_is_empty(), RNA_property_collection_length(), RNA_property_collection_lookup_index(), RNA_property_collection_lookup_int(), RNA_property_collection_lookup_string_index(), RNA_property_collection_raw_array(), RNA_struct_equals(), RNA_struct_override_matches(), and rna_struct_update_when_changed().
void RNA_property_collection_clear | ( | PointerRNA * | ptr, |
PropertyRNA * | prop | ||
) |
Definition at line 4026 of file rna_access.c.
References BLI_assert, IDP_FLAG_OVERRIDELIBRARY_LOCAL, IDP_IDPArray, IDP_ResizeIDPArray(), len, IDProperty::len, PROP_COLLECTION, property_collection_liboverride_editable(), ptr, rna_idproperty_check(), rna_idproperty_touch(), and RNA_property_type().
Referenced by asset_view_template_refresh_asset_collection(), file_sfile_to_operator_ex(), pyrna_prop_collection_idprop_clear(), and RNA_collection_clear().
void RNA_property_collection_end | ( | CollectionPropertyIterator * | iter | ) |
Definition at line 3750 of file rna_access.c.
References CollectionPropertyRNA::end, CollectionPropertyIterator::idprop, CollectionPropertyIterator::prop, rna_ensure_property(), and rna_iterator_array_end().
Referenced by pyrna_prop_collection_iter_dealloc(), pyrna_prop_collection_subscript_int(), pyrna_prop_collection_subscript_slice(), pyrna_prop_collection_subscript_str(), RNA_property_as_string(), RNA_property_collection_is_empty(), RNA_property_collection_length(), RNA_property_collection_lookup_index(), RNA_property_collection_lookup_int(), RNA_property_collection_lookup_string_index(), RNA_property_collection_raw_array(), RNA_struct_equals(), RNA_struct_override_matches(), and rna_struct_update_when_changed().
bool RNA_property_collection_is_empty | ( | PointerRNA * | ptr, |
PropertyRNA * | prop | ||
) |
Return true when RNA_property_collection_length(ptr, prop) == 0
, without having to iterate over items in the collection (needed for some kinds of collections).
Definition at line 3787 of file rna_access.c.
References BLI_assert, PROP_COLLECTION, ptr, RNA_property_collection_begin(), RNA_property_collection_end(), RNA_property_type(), and CollectionPropertyIterator::valid.
Referenced by pyrna_prop_collection_bool(), and RNA_collection_is_empty().
int RNA_property_collection_length | ( | PointerRNA * | ptr, |
PropertyRNA * | prop | ||
) |
Definition at line 3762 of file rna_access.c.
References BLI_assert, IDProperty::len, blender::math::length(), CollectionPropertyRNA::length, PROP_COLLECTION, ptr, rna_idproperty_check(), RNA_property_collection_begin(), RNA_property_collection_end(), RNA_property_collection_next(), RNA_property_type(), and CollectionPropertyIterator::valid.
Referenced by blender::ed::outliner::TreeElementRNAStruct::expand(), blender::ed::outliner::TreeElementRNAProperty::expand(), foreach_parse_args(), pyrna_prop_collection_ass_subscript(), pyrna_prop_collection_ass_subscript_int(), pyrna_prop_collection_length(), pyrna_prop_collection_subscript(), pyrna_prop_collection_subscript_int(), RNA_collection_length(), sequencer_add_image_strip_calculate_length(), sequencer_add_movie_strip_exec(), sequencer_add_sound_strip_exec(), sequencer_change_path_exec(), ui_template_list_collect_display_items(), uiDefAutoButR(), uilist_filter_items_default(), WM_gesture_lasso_path_to_array(), wm_lib_relocate_exec_do(), and wm_link_append_exec().
int RNA_property_collection_lookup_index | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
const PointerRNA * | t_ptr | ||
) |
Definition at line 4059 of file rna_access.c.
References BLI_assert, PointerRNA::data, PROP_COLLECTION, CollectionPropertyIterator::ptr, ptr, RNA_property_collection_begin(), RNA_property_collection_end(), RNA_property_collection_next(), RNA_property_type(), and CollectionPropertyIterator::valid.
Referenced by blender::ed::outliner::OverrideRNAPathTreeBuilder::build_path().
int RNA_property_collection_lookup_int | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
int | key, | ||
PointerRNA * | r_ptr | ||
) |
Definition at line 4097 of file rna_access.c.
References BLI_assert, CollectionPropertyRNA::lookupint, PROP_COLLECTION, CollectionPropertyIterator::ptr, ptr, rna_ensure_property(), RNA_property_collection_begin(), RNA_property_collection_end(), RNA_property_collection_next(), RNA_property_type(), and CollectionPropertyIterator::valid.
Referenced by blender::ed::outliner::TreeElementRNAStruct::expand(), blender::ed::outliner::TreeElementRNAProperty::expand(), blender::nodes::node_composite_output_file_cc::node_composit_buts_file_output_ex(), open_exec(), blender::ed::sculpt_paint::image::ops::paint::paint_exec(), paint_stroke_exec(), pyrna_prop_collection_subscript_int(), rna_idp_path(), rna_path_parse_collection_key(), rna_porperty_override_collection_subitem_lookup(), and blender::ed::outliner::TreeElementRNAProperty::TreeElementRNAProperty().
bool RNA_property_collection_lookup_int_has_fn | ( | PropertyRNA * | prop | ) |
Definition at line 4083 of file rna_access.c.
References BLI_assert, CollectionPropertyRNA::lookupint, NULL, PROP_COLLECTION, rna_ensure_property(), and RNA_property_type().
Referenced by pyrna_prop_collection_subscript_int().
int RNA_property_collection_lookup_string | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
const char * | key, | ||
PointerRNA * | r_ptr | ||
) |
Definition at line 4184 of file rna_access.c.
References ptr, and RNA_property_collection_lookup_string_index().
Referenced by bpy_types_module_getattro(), jump_to_target_button(), pyrna_prop_collection_contains(), pyrna_prop_collection_get(), pyrna_prop_collection_subscript_str(), rna_path_parse_collection_key(), rna_porperty_override_collection_subitem_lookup(), RNA_struct_find_property(), and ui_but_string_set().
bool RNA_property_collection_lookup_string_has_fn | ( | PropertyRNA * | prop | ) |
Definition at line 4090 of file rna_access.c.
References BLI_assert, CollectionPropertyRNA::lookupstring, NULL, PROP_COLLECTION, rna_ensure_property(), and RNA_property_type().
Referenced by pyrna_prop_collection_subscript_str().
int RNA_property_collection_lookup_string_index | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
const char * | key, | ||
PointerRNA * | r_ptr, | ||
int * | r_index | ||
) |
Definition at line 4130 of file rna_access.c.
References BLI_assert, PointerRNA::data, CollectionPropertyRNA::lookupstring, MEM_freeN, StructRNA::nameproperty, PROP_COLLECTION, CollectionPropertyIterator::ptr, ptr, rna_ensure_property(), RNA_property_collection_begin(), RNA_property_collection_end(), RNA_property_collection_next(), RNA_property_string_get_alloc(), RNA_property_type(), STREQ, PointerRNA::type, and CollectionPropertyIterator::valid.
Referenced by RNA_property_collection_lookup_string().
bool RNA_property_collection_move | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
int | key, | ||
int | pos | ||
) |
Definition at line 3983 of file rna_access.c.
References BLI_assert, PropertyRNA::flag, IDP_FLAG_OVERRIDELIBRARY_LOCAL, IDP_IDPArray, len, IDProperty::len, pos, PROP_COLLECTION, PROP_IDPROPERTY, property_collection_liboverride_editable(), ptr, rna_idproperty_check(), and RNA_property_type().
Referenced by pyrna_prop_collection_idprop_move().
void RNA_property_collection_next | ( | CollectionPropertyIterator * | iter | ) |
Definition at line 3709 of file rna_access.c.
References CollectionPropertyIterator::idprop, CollectionPropertyRNA::next, CollectionPropertyIterator::prop, rna_ensure_property(), rna_iterator_array_next(), rna_property_collection_get_idp(), and CollectionPropertyIterator::valid.
Referenced by pyrna_prop_collection_iter_next(), pyrna_prop_collection_subscript_int(), pyrna_prop_collection_subscript_slice(), pyrna_prop_collection_subscript_str(), RNA_property_as_string(), RNA_property_collection_length(), RNA_property_collection_lookup_index(), RNA_property_collection_lookup_int(), RNA_property_collection_lookup_string_index(), RNA_property_collection_skip(), RNA_struct_equals(), RNA_struct_override_matches(), and rna_struct_update_when_changed().
int RNA_property_collection_raw_array | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
PropertyRNA * | itemprop, | ||
RawArray * | array | ||
) |
Definition at line 4218 of file rna_access.c.
References array< T, alignment >::array(), CollectionPropertyIterator::array, BLI_assert, PointerRNA::data, PropertyRNA::flag_internal, if(), CollectionPropertyIterator::internal, NULL, PROP_COLLECTION, PROP_INTERN_RAW_ACCESS, PROP_INTERN_RAW_ARRAY, CollectionPropertyIterator::ptr, ptr, PropertyRNA::rawoffset, PropertyRNA::rawtype, RNA_property_collection_begin(), RNA_property_collection_end(), RNA_property_editable(), RNA_property_type(), and CollectionPropertyIterator::valid.
Referenced by rna_raw_access().
int RNA_property_collection_raw_get | ( | struct ReportList * | reports, |
PointerRNA * | ptr, | ||
PropertyRNA * | prop, | ||
const char * | propname, | ||
void * | array, | ||
RawPropertyType | type, | ||
int | len | ||
) |
Definition at line 4705 of file rna_access.c.
References len, ptr, rna_raw_access(), and type.
Referenced by foreach_getset().
int RNA_property_collection_raw_set | ( | struct ReportList * | reports, |
PointerRNA * | ptr, | ||
PropertyRNA * | prop, | ||
const char * | propname, | ||
void * | array, | ||
RawPropertyType | type, | ||
int | len | ||
) |
Definition at line 4716 of file rna_access.c.
References len, ptr, rna_raw_access(), and type.
Referenced by foreach_getset().
bool RNA_property_collection_remove | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
int | key | ||
) |
Definition at line 3918 of file rna_access.c.
References BLI_assert, PropertyRNA::flag, FUNC_USE_CONTEXT, PropertyRNA::identifier, StructRNA::identifier, IDP_FLAG_OVERRIDELIBRARY_LOCAL, IDP_IDPArray, IDP_ResizeIDPArray(), len, IDProperty::len, NULL, params, PROP_COLLECTION, PROP_IDPROPERTY, property_collection_liboverride_editable(), ptr, RNA_function_call(), rna_idproperty_check(), RNA_parameter_list_create(), RNA_parameter_list_free(), RNA_property_type(), and PointerRNA::type.
Referenced by pyrna_prop_collection_idprop_remove().
void RNA_property_collection_skip | ( | CollectionPropertyIterator * | iter, |
int | num | ||
) |
Definition at line 3725 of file rna_access.c.
References CollectionPropertyIterator::array, PropertyRNA::flag_internal, CollectionPropertyIterator::idprop, CollectionPropertyIterator::internal, CollectionPropertyIterator::prop, PROP_INTERN_RAW_ARRAY, CollectionPropertyRNA::property, ArrayIterator::ptr, rna_ensure_property(), RNA_property_collection_next(), and CollectionPropertyIterator::valid.
Referenced by pyrna_prop_collection_subscript_slice().
bool RNA_property_collection_type_get | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
PointerRNA * | r_ptr | ||
) |
Definition at line 4210 of file rna_access.c.
References BLI_assert, PROP_COLLECTION, ptr, rna_ensure_property(), RNA_property_type(), and PointerRNA::type.
Referenced by pyrna_dir_members_py(), pyrna_prop_collection_getattro(), pyrna_prop_collection_setattro(), pyrna_prop_dir(), pyrna_prop_str(), pyrna_py_to_prop(), and rna_path_parse_collection_key().
bool RNA_property_comparable | ( | PointerRNA * | ptr, |
PropertyRNA * | prop | ||
) |
bool RNA_property_copy | ( | struct Main * | bmain, |
PointerRNA * | ptr, | ||
PointerRNA * | fromptr, | ||
PropertyRNA * | prop, | ||
int | index | ||
) |
Definition at line 213 of file rna_access_compare_override.c.
References BLI_assert, ELEM, IDOVERRIDE_LIBRARY_OP_REPLACE, IDP_AddToGroup(), IDP_CopyProperty(), PropertyRNA::magic, NULL, IDOverrideLibraryPropertyOperation::operation, ptr, rna_ensure_property_realdata(), rna_idproperty_touch(), RNA_MAGIC, RNA_property_editable(), RNA_property_is_set(), rna_property_override_operation_apply(), and RNA_struct_idprops().
Referenced by copy_to_selected_button(), and override_remove_button_exec().
const char* RNA_property_description | ( | PropertyRNA * | prop | ) |
Definition at line 1005 of file rna_access.c.
References rna_ensure_property_description(), and TIP_.
Referenced by button_matches_search_filter(), uiItemMenuEnumR_prop(), and uiLayoutListBox().
bool RNA_property_editable | ( | PointerRNA * | ptr, |
PropertyRNA * | prop | ||
) |
Definition at line 1966 of file rna_access.c.
References NULL, ptr, and rna_property_editable_do().
Referenced by assign_default_button_exec(), assign_default_button_poll(), datadropper_init(), depthdropper_init(), driverdropper_init(), eyedropper_init(), id_single_user(), pyrna_struct_is_property_readonly(), reset_default_button_exec(), reset_default_button_poll(), RNA_property_collection_raw_array(), RNA_property_copy(), rna_raw_access(), RNA_struct_override_matches(), template_ID(), template_ID_tabs(), template_search_buttons(), ui_but_string_set(), ui_but_value_set(), UI_context_copy_to_selected_check(), uiTemplateIconView(), and unset_property_button_exec().
bool RNA_property_editable_flag | ( | PointerRNA * | ptr, |
PropertyRNA * | prop | ||
) |
Without lib check, only checks the flag.
Definition at line 1976 of file rna_access.c.
References PropertyRNA::editable, PropertyRNA::flag, PROP_EDITABLE, ptr, and rna_ensure_property().
Referenced by mathutils_rna_matrix_set(), mathutils_rna_vector_set(), mathutils_rna_vector_set_index(), pyrna_prop_array_ass_subscript(), pyrna_struct_setattro(), rna_property_override_diff(), and RNA_property_override_library_status().
bool RNA_property_editable_index | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
const int | index | ||
) |
Same as RNA_property_editable(), except this checks individual items in an array.
Definition at line 1986 of file rna_access.c.
References BLI_assert, NULL, ptr, and rna_property_editable_do().
bool RNA_property_editable_info | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
const char ** | r_info | ||
) |
Version of RNA_property_editable that tries to return additional info in r_info that can be exposed in UI.
Definition at line 1971 of file rna_access.c.
References ptr, and rna_property_editable_do().
Referenced by ui_def_but_rna().
int RNA_property_enum_bitflag_identifiers | ( | struct bContext * | C, |
PointerRNA * | ptr, | ||
PropertyRNA * | prop, | ||
int | value, | ||
const char ** | identifier | ||
) |
Definition at line 1856 of file rna_access.c.
References C, free(), MEM_freeN, NULL, ptr, result, RNA_enum_bitflag_identifiers(), and RNA_property_enum_items().
Referenced by pyrna_enum_to_py().
int RNA_property_enum_get | ( | PointerRNA * | ptr, |
PropertyRNA * | prop | ||
) |
Definition at line 3402 of file rna_access.c.
References BLI_assert, EnumPropertyRNA::defaultvalue, EnumPropertyRNA::get, EnumPropertyRNA::get_ex, IDP_Int, PROP_ENUM, ptr, rna_idproperty_check(), and RNA_property_type().
Referenced by BCAnimationCurve::add_value_from_rna(), area_split_invoke(), area_split_modal(), BKE_animsys_read_from_rna_path(), brush_select_exec(), button2d_draw_intern(), UnitConverter::calculate_scale(), data_transfer_check(), dtar_get_prop_val(), ED_object_add_generic_get_opts(), edbm_bevel_update_status_text(), edbm_sort_elements_exec(), DocumentExporter::exportCurrentScene(), file_select_use_default_display_type(), file_select_use_default_sort_type(), fileselect_ensure_updated_file_params(), gesture_modal_state_from_operator(), get_enum_identifier(), gizmo_mesh_extrude_refresh(), gizmo_mesh_spin_init_draw_prepare(), gizmo_mesh_spin_init_refresh(), gizmo_refresh_from_matrix(), initSnapping(), initTransform(), initTransInfo(), keyingset_get_from_op_with_error(), menu_items_from_ui_create(), blender::ed::space_node::new_node_tree_exec(), blender::nodes::node_composite_image_cc::node_composit_buts_viewlayers(), blender::ed::space_node::node_file_output_socket_draw(), object_data_instance_add_exec(), object_mode_set_exec(), object_origin_set_exec(), path_select_params_from_op(), pose_propagate_get_refVal(), poselib_move_exec(), poselib_remove_exec(), pyrna_driver_get_variable_value(), pyrna_prop_to_py(), pyrna_rotation_euler_order_get(), region_toggle_exec(), RNA_enum_get(), RNA_enum_is_equal(), RNA_property_as_string(), rna_raw_access(), saveTransform(), select_linked_delimit_default_from_op(), setting_get_rna_values(), snap_gizmo_snap_elements_update(), space_context_cycle_invoke(), space_type_set_or_cycle_exec(), ui_but_menu_step(), ui_but_string_get_dynamic(), ui_but_string_get_ex(), UI_but_string_info_get(), ui_but_update_ex(), ui_but_value_get(), ui_but_value_set(), ui_def_but_rna(), ui_item_enum_expand_handle(), ui_selectcontext_apply(), ui_selectcontext_begin(), ui_tooltip_data_from_tool(), uiItemFullR(), uiTemplateAssetView(), uiTemplateIconView(), userpref_show_exec(), view3d_interactive_add_begin(), WIDGETGROUP_gizmo_invoke_prepare(), and wm_stereo3d_set_properties().
int RNA_property_enum_get_default | ( | PointerRNA * | ptr, |
PropertyRNA * | prop | ||
) |
bool RNA_property_enum_identifier | ( | struct bContext * | C, |
PointerRNA * | ptr, | ||
PropertyRNA * | prop, | ||
int | value, | ||
const char ** | identifier | ||
) |
Definition at line 1759 of file rna_access.c.
References C, free(), MEM_freeN, NULL, ptr, result, RNA_enum_identifier(), and RNA_property_enum_items().
Referenced by bake_init_api_data(), get_enum_identifier(), blender::ed::space_node::new_node_tree_exec(), blender::nodes::node_composite_image_cc::node_composit_buts_viewlayers(), pyrna_enum_to_py(), and RNA_property_as_string().
bool RNA_property_enum_item_from_value | ( | struct bContext * | C, |
PointerRNA * | ptr, | ||
PropertyRNA * | prop, | ||
int | value, | ||
EnumPropertyItem * | r_item | ||
) |
Definition at line 1814 of file rna_access.c.
References C, free(), MEM_freeN, NULL, ptr, result, RNA_enum_from_value(), and RNA_property_enum_items().
Referenced by RNA_property_enum_item_from_value_gettexted().
bool RNA_property_enum_item_from_value_gettexted | ( | struct bContext * | C, |
PointerRNA * | ptr, | ||
PropertyRNA * | prop, | ||
int | value, | ||
EnumPropertyItem * | r_item | ||
) |
Definition at line 1842 of file rna_access.c.
References BLT_pgettext(), BLT_translate_iface(), C, PropertyRNA::flag, EnumPropertyItem::name, PROP_ENUM_NO_TRANSLATE, ptr, result, RNA_property_enum_item_from_value(), and PropertyRNA::translation_context.
Referenced by menu_items_from_ui_create_item_from_button(), and ui_but_update_ex().
void RNA_property_enum_items | ( | struct bContext * | C, |
PointerRNA * | ptr, | ||
PropertyRNA * | prop, | ||
const EnumPropertyItem ** | r_item, | ||
int * | r_totitem, | ||
bool * | r_free | ||
) |
Definition at line 1495 of file rna_access.c.
References C, ptr, and RNA_property_enum_items_ex().
Referenced by GIZMO_GT_snap_3d(), menu_items_from_ui_create(), pyrna_enum_as_string(), pyrna_prop_to_enum_bitfield(), RNA_enum_is_equal(), RNA_property_as_string(), RNA_property_enum_bitflag_identifiers(), RNA_property_enum_identifier(), RNA_property_enum_item_from_value(), RNA_property_enum_items_gettexted(), RNA_property_enum_name(), RNA_property_enum_step(), RNA_property_enum_value(), space_type_set_or_cycle_exec(), ui_but_event_property_operator_string(), ui_def_but_rna(), ui_icon_view_menu_cb(), ui_menu_enumpropname(), uiItemEnumO_string(), uiItemEnumR_string_prop(), and uiTemplateIconView().
void RNA_property_enum_items_ex | ( | struct bContext * | C, |
PointerRNA * | ptr, | ||
PropertyRNA * | prop, | ||
bool | use_static, | ||
const EnumPropertyItem ** | r_item, | ||
int * | r_totitem, | ||
bool * | r_free | ||
) |
Definition at line 1452 of file rna_access.c.
References BLI_assert, C, PropertyRNA::flag, StructRNA::flag, EnumPropertyItem::identifier, EnumPropertyRNA::item, EnumPropertyRNA::item_fn, NULL, PointerRNA::owner_id, PROP_ENUM_NO_CONTEXT, ptr, rna_ensure_property(), STRUCT_NO_CONTEXT_WITHOUT_OWNER_ID, EnumPropertyRNA::totitem, and PointerRNA::type.
Referenced by pyrna_enum_to_py(), and RNA_property_enum_items().
void RNA_property_enum_items_gettexted | ( | struct bContext * | C, |
PointerRNA * | ptr, | ||
PropertyRNA * | prop, | ||
const EnumPropertyItem ** | r_item, | ||
int * | r_totitem, | ||
bool * | r_free | ||
) |
Definition at line 1560 of file rna_access.c.
References C, ptr, and RNA_property_enum_items().
Referenced by button_matches_search_filter(), insert_key_menu_invoke(), operator_enum_search_update_fn(), UI_but_string_info_get(), ui_def_but_rna__menu(), ui_item_enum_expand_exec(), ui_item_rna_size(), uiItemsEnumR(), and uiItemsFullEnumO().
void RNA_property_enum_items_gettexted_all | ( | struct bContext * | C, |
PointerRNA * | ptr, | ||
PropertyRNA * | prop, | ||
const EnumPropertyItem ** | r_item, | ||
int * | r_totitem, | ||
bool * | r_free | ||
) |
Definition at line 1576 of file rna_access.c.
References BLI_assert, C, PropertyRNA::flag, StructRNA::flag, free(), EnumPropertyItem::identifier, EnumPropertyRNA::item, EnumPropertyRNA::item_fn, MEM_freeN, MEM_mallocN, EnumPropertyItem::name, NULL, PointerRNA::owner_id, PROP_ENUM_NO_CONTEXT, ptr, rna_ensure_property(), STREQ, STRUCT_NO_CONTEXT_WITHOUT_OWNER_ID, EnumPropertyRNA::totitem, and PointerRNA::type.
Referenced by ui_item_enum_expand_exec(), and uiItemsFullEnumO().
bool RNA_property_enum_name | ( | struct bContext * | C, |
PointerRNA * | ptr, | ||
PropertyRNA * | prop, | ||
int | value, | ||
const char ** | name | ||
) |
Definition at line 1777 of file rna_access.c.
References C, free(), MEM_freeN, NULL, ptr, result, RNA_enum_name(), and RNA_property_enum_items().
Referenced by blender::ed::space_node::node_file_output_socket_draw(), RNA_property_enum_name_gettexted(), ui_but_string_get_dynamic(), and ui_but_string_get_ex().
bool RNA_property_enum_name_gettexted | ( | struct bContext * | C, |
PointerRNA * | ptr, | ||
PropertyRNA * | prop, | ||
int | value, | ||
const char ** | name | ||
) |
Definition at line 1796 of file rna_access.c.
References BLT_pgettext(), BLT_translate_iface(), C, PropertyRNA::flag, PROP_ENUM_NO_TRANSLATE, ptr, result, RNA_property_enum_name(), and PropertyRNA::translation_context.
Referenced by edbm_bevel_update_status_text().
void RNA_property_enum_set | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
int | value | ||
) |
Definition at line 3421 of file rna_access.c.
References BLI_assert, PropertyRNA::flag, IDPropertyTemplate::i, PropertyRNA::identifier, IDP_AddToGroup(), IDP_Int, IDP_INT, IDP_New(), PROP_EDITABLE, PROP_ENUM, ptr, rna_idproperty_check(), rna_idproperty_touch(), RNA_property_type(), RNA_struct_idprops(), EnumPropertyRNA::set, and EnumPropertyRNA::set_ex.
Referenced by area_split_invoke(), area_split_modal(), bake_set_props(), BKE_animsys_write_to_rna_path(), curve_draw_exec_precalc(), data_transfer_check(), ED_object_add_generic_get_opts(), DocumentImporter::finish(), gesture_modal_state_to_operator(), gizmo2d_resize_setup(), gizmo2d_rotate_setup(), gizmo2d_xform_setup(), gizmo_refresh_from_matrix(), mathutils_rna_vector_set(), menu_search_exec_fn(), object_origin_set_exec(), operator_enum_search_exec_fn(), path_select_params_from_op(), pyrna_py_to_prop(), RNA_enum_set(), RNA_enum_set_identifier(), RNA_property_reset(), rna_raw_access(), saveTransform(), select_linked_delimit_default_from_op(), space_context_cycle_invoke(), space_type_set_or_cycle_exec(), ui_but_string_set(), ui_but_value_set(), ui_item_enum_expand_handle(), ui_selectcontext_apply(), uiItemEnumO_ptr(), uiItemEnumO_string(), uiItemEnumO_value(), uiItemsFullEnumO_items(), userpref_show_exec(), WIDGETGROUP_gizmo_invoke_prepare(), and WIDGETGROUP_navigate_setup().
int RNA_property_enum_step | ( | const struct bContext * | C, |
PointerRNA * | ptr, | ||
PropertyRNA * | prop, | ||
int | from_value, | ||
int | step | ||
) |
Get the value of the item that is step items away from from_value.
from_value | Item value to start stepping from. |
step | Absolute value defines step size, sign defines direction. E.g to get the next item, pass 1, for the previous -1. |
bool RNA_property_enum_value | ( | struct bContext * | C, |
PointerRNA * | ptr, | ||
PropertyRNA * | prop, | ||
const char * | identifier, | ||
int * | r_value | ||
) |
Definition at line 1639 of file rna_access.c.
References C, free(), MEM_freeN, NULL, ptr, RNA_enum_from_identifier(), RNA_property_enum_items(), and EnumPropertyItem::value.
Referenced by pyrna_string_to_enum(), RNA_enum_set_identifier(), and ui_but_string_set().
bool RNA_property_equals | ( | struct Main * | bmain, |
struct PointerRNA * | ptr_a, | ||
struct PointerRNA * | ptr_b, | ||
struct PropertyRNA * | prop, | ||
eRNACompareMode | mode | ||
) |
Definition at line 264 of file rna_access_compare_override.c.
References BLI_assert, ELEM, NULL, RNA_EQ_STRICT, RNA_EQ_UNSET_MATCH_ANY, RNA_EQ_UNSET_MATCH_NONE, rna_property_override_diff(), and rna_property_rna_or_id_get().
Referenced by RNA_struct_equals(), and rna_struct_update_when_changed().
int RNA_property_flag | ( | PropertyRNA * | prop | ) |
Definition at line 1055 of file rna_access.c.
References PropertyRNA::flag, and rna_ensure_property().
Referenced by bpy_class_validate_recursive(), bpy_prop_enum_itemf_fn(), blender::ed::outliner::TreeElementRNAStruct::expand(), id_search_cb(), id_search_cb_tagged(), nlaevalchan_detect_mix_mode(), operator_last_properties_init_impl(), py_to_array(), pyrna_enum_to_py(), pyrna_math_object_from_array(), pyrna_param_to_py(), pyrna_prop_collection_type_check(), pyrna_prop_CreatePyObject(), pyrna_py_to_prop(), pyrna_struct_is_property_hidden(), RNA_pointer_as_string_keywords_ex(), RNA_property_as_string(), RNA_property_is_unlink(), template_ID(), ui_but_is_pushed_ex(), ui_but_update_ex(), ui_but_value_set(), ui_item_enum_expand_elem_exec(), ui_layout_operator_properties_only_booleans(), ui_multibut_states_create(), ui_rna_collection_search_update_fn(), ui_rna_is_userdef(), ui_tooltip_data_from_button_or_extra_icon(), uiDefAutoButR(), uiDefAutoButsRNA(), uiItemFullR(), validate_array(), validate_array_length(), WM_gizmo_properties_reset(), WM_operator_check_ui_empty(), and WM_operator_properties_reset().
int RNA_property_float_clamp | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
float * | value | ||
) |
Definition at line 1365 of file rna_access.c.
References max, min, ptr, and RNA_property_float_range().
Referenced by BKE_animsys_write_to_rna_path(), mathutils_rna_vector_set_index(), pyrna_py_to_prop(), pyrna_py_to_prop_array_index(), and RNA_property_float_set().
float RNA_property_float_get | ( | PointerRNA * | ptr, |
PropertyRNA * | prop | ||
) |
Definition at line 2767 of file rna_access.c.
References BLI_assert, FloatPropertyRNA::defaultvalue, FloatPropertyRNA::get, FloatPropertyRNA::get_ex, IDP_Double, IDP_Float, IDP_FLOAT, PROP_FLOAT, ptr, rna_idproperty_check(), RNA_property_array_check(), RNA_property_type(), and IDProperty::type.
Referenced by BCAnimationCurve::add_value_from_rna(), ANIM_add_driver(), BKE_animsys_read_from_rna_path(), UnitConverter::calculate_scale(), cube_project_exec(), depthdropper_init(), drw_uniform_property_lookup(), dtar_get_prop_val(), edbm_select_similar_exec(), edbm_tris_convert_to_quads_exec(), gizmo_dial_exit(), gizmo_spin_prop_angle_get(), graph_slider_modal(), initTransInfo(), interactive_value_init_from_property(), lookup_property(), object_warp_verts_exec(), pose_propagate_get_refVal(), pose_slide_apply_props(), pyrna_prop_to_py(), radial_control_invoke(), radial_control_paint_tex(), RNA_float_get(), RNA_property_as_string(), RNA_property_assign_default(), RNA_property_float_get_array(), rna_raw_access(), saveTransform(), setting_get_rna_values(), ui_but_value_get(), ui_selectcontext_begin(), ui_tooltip_data_from_button_or_extra_icon(), uv_select_similar_exec(), vieworbit_exec(), and WM_gizmo_target_property_float_get().
void RNA_property_float_get_array | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
float * | values | ||
) |
Definition at line 2879 of file rna_access.c.
References PropertyRNA::arraydimension, BLI_assert, PropertyRNA::flag, float(), FloatPropertyRNA::getarray, FloatPropertyRNA::getarray_ex, IDP_Array, IDP_FLOAT, IDProperty::len, PROP_FLOAT, PROP_IDPROPERTY, ptr, rna_idproperty_check(), RNA_property_array_check(), RNA_property_array_length(), RNA_property_float_get(), rna_property_float_get_default_array_values(), RNA_property_type(), and IDProperty::subtype.
Referenced by add_primitive_cube_gizmo_exec(), animsys_blend_fcurves_quaternion(), drw_uniform_property_lookup(), ED_object_add_generic_get_opts(), edbm_extrude_repeat_exec(), edbm_point_normals_modal(), eyedropper_color_set(), eyedropper_init(), gizmo_bisect_prop_angle_get(), gizmo_bisect_prop_angle_set(), gizmo_bisect_prop_depth_get(), gizmo_bisect_prop_depth_set(), gizmo_bisect_prop_translate_get(), gizmo_mesh_bisect_update_from_op(), gizmo_mesh_placement_update_from_op(), gizmo_mesh_spin_redo_setup(), gizmo_mesh_spin_redo_update_from_op(), gizmo_placement_prop_matrix_get(), gizmo_spin_prop_axis_angle_get(), gizmo_spin_prop_axis_angle_set(), gizmo_spin_prop_depth_get(), gizmo_spin_prop_depth_set(), gizmo_spin_prop_translate_get(), initSnapping(), initTransInfo(), lookup_property(), mathutils_rna_matrix_get(), mathutils_rna_vector_get(), mesh_bisect_exec(), object_add_named_exec(), object_transform_to_mouse_exec(), object_warp_verts_exec(), prop_subscript_ass_array_slice(), pyprop_array_foreach_getset(), pyrna_array_contains_py(), pyrna_math_object_from_array(), pyrna_prop_array_subscript_slice(), radial_control_modal(), radial_control_paint_cursor(), radial_control_paint_tex(), radial_control_set_initial_mouse(), rna_array_as_string_alloc(), RNA_float_get_array(), RNA_property_float_get_array_range(), RNA_property_float_get_index(), RNA_property_float_set_index(), rna_raw_access(), setting_get_rna_values(), transform_mode_init(), ui_block_colorpicker(), ui_but_copy_numeric_array(), ui_but_v3_get(), ui_colorpicker_rgba_update_cb(), ui_do_but_COLOR(), uiTemplateColorPicker(), WM_gizmo_target_property_float_get_array(), and wm_xr_navigation_fly_modal().
void RNA_property_float_get_array_range | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
float | values[2] | ||
) |
Definition at line 2917 of file rna_access.c.
References MAX2, MEM_freeN, MEM_mallocN, MIN2, ptr, RNA_property_array_length(), and RNA_property_float_get_array().
Referenced by ui_but_range_set_soft().
float RNA_property_float_get_default | ( | PointerRNA * | ptr, |
PropertyRNA * | prop | ||
) |
void RNA_property_float_get_default_array | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
float * | values | ||
) |
Definition at line 3095 of file rna_access.c.
References PropertyRNA::arraydimension, BLI_assert, IDPropertyUIDataFloat::default_array, IDPropertyUIDataFloat::default_array_len, IDPropertyUIDataFloat::default_value, FloatPropertyRNA::defaultvalue, ELEM, IDP_ARRAY, IDP_DOUBLE, IDP_FLOAT, blender::math::length(), PropertyRNA::magic, PROP_FLOAT, ptr, rna_ensure_property(), rna_ensure_property_array_length(), RNA_MAGIC, RNA_property_array_check(), rna_property_float_fill_default_array_values_double(), rna_property_float_get_default_array_values(), RNA_property_type(), IDProperty::subtype, IDProperty::type, and IDProperty::ui_data.
Referenced by nlaevalchan_get_default_values(), RNA_property_float_get_default_index(), RNA_property_reset(), ui_do_but_HSVCIRCLE(), and ui_do_but_HSVCUBE().
float RNA_property_float_get_default_index | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
int | index | ||
) |
Definition at line 3125 of file rna_access.c.
References BLI_assert, len, MEM_freeN, MEM_mallocN, PROP_FLOAT, ptr, rna_ensure_property_array_length(), RNA_MAX_ARRAY_LENGTH, RNA_property_array_check(), RNA_property_float_get_default_array(), and RNA_property_type().
Referenced by clean_fcurve(), get_default_rna_value(), RNA_property_reset(), and ui_button_value_default().
float RNA_property_float_get_index | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
int | index | ||
) |
Definition at line 2954 of file rna_access.c.
References BLI_assert, len, MEM_freeN, MEM_mallocN, PROP_FLOAT, ptr, rna_ensure_property_array_length(), RNA_MAX_ARRAY_LENGTH, RNA_property_array_check(), RNA_property_float_get_array(), and RNA_property_type().
Referenced by BCAnimationCurve::add_value_from_rna(), ANIM_add_driver(), BKE_animsys_read_from_rna_path(), drop_color_invoke(), dtar_get_prop_val(), mathutils_rna_vector_get_index(), pose_propagate_get_refVal(), pyrna_array_index(), RNA_property_as_string(), ui_but_copy_color(), ui_but_v3_get(), ui_but_value_get(), ui_selectcontext_begin(), ui_tooltip_data_from_button_or_extra_icon(), widget_swatch(), and WM_gizmo_target_property_float_get().
void RNA_property_float_range | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
float * | hardmin, | ||
float * | hardmax | ||
) |
Definition at line 1274 of file rna_access.c.
References float(), FloatPropertyRNA::hardmax, FloatPropertyRNA::hardmin, PropertyRNA::magic, IDPropertyUIDataFloat::max, IDPropertyUIDataFloat::min, ptr, FloatPropertyRNA::range, FloatPropertyRNA::range_ex, rna_ensure_property(), RNA_MAGIC, and IDProperty::ui_data.
Referenced by convert_item_init_float(), mathutils_rna_vector_set(), prop_subscript_ass_array_slice(), RNA_property_float_clamp(), ui_block_colorpicker(), ui_but_range_set_hard(), ui_def_but_rna(), and ui_selectcontext_apply().
void RNA_property_float_set | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
float | value | ||
) |
Definition at line 2790 of file rna_access.c.
References BLI_assert, IDPropertyTemplate::f, PropertyRNA::flag, PropertyRNA::identifier, IDP_AddToGroup(), IDP_Double, IDP_Float, IDP_FLOAT, IDP_New(), PROP_EDITABLE, PROP_FLOAT, ptr, rna_idproperty_check(), rna_idproperty_touch(), RNA_property_array_check(), RNA_property_float_clamp(), RNA_property_type(), RNA_struct_idprops(), FloatPropertyRNA::set, FloatPropertyRNA::set_ex, and IDProperty::type.
Referenced by area_split_invoke(), bake_set_props(), BKE_animsys_write_to_rna_path(), blend_to_default_modal_update(), cube_project_exec(), curve_draw_exec_precalc(), depthdropper_depth_set(), edbm_select_similar_exec(), edbm_spin_invoke(), DocumentImporter::finish(), gizmo_spin_prop_angle_set(), graph_slider_modal(), object_warp_verts_exec(), op_generic_value_modal(), pose_slide_apply_props(), pyrna_py_to_prop(), radial_control_set_value(), RNA_float_set(), RNA_property_float_set_array(), RNA_property_reset(), rna_raw_access(), saveTransform(), slider_factor_get_and_remember(), ui_but_value_set(), ui_selectcontext_apply(), uv_select_similar_exec(), WM_gizmo_target_property_float_set(), and WM_operator_view3d_unit_defaults().
void RNA_property_float_set_array | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
const float * | values | ||
) |
Definition at line 2978 of file rna_access.c.
References IDPropertyTemplate::array, PropertyRNA::arraydimension, BLI_assert, PropertyRNA::flag, PropertyRNA::identifier, IDP_AddToGroup(), IDP_Array, IDP_ARRAY, IDP_Double, IDP_Float, IDP_FLOAT, IDP_New(), IDPropertyTemplate::len, IDProperty::len, PROP_EDITABLE, PROP_FLOAT, PROP_IDPROPERTY, ptr, rna_idproperty_check(), rna_idproperty_touch(), RNA_property_array_check(), RNA_property_array_length(), RNA_property_float_set(), RNA_property_type(), RNA_struct_idprops(), FloatPropertyRNA::setarray, FloatPropertyRNA::setarray_ex, IDProperty::subtype, PropertyRNA::totarraylength, IDPropertyTemplate::type, and IDProperty::type.
Referenced by animsys_blend_fcurves_quaternion(), collection_add_info_get_from_op(), drop_color_invoke(), ED_object_add_generic_get_opts(), edbm_extrude_repeat_exec(), edbm_point_normals_modal(), edbm_screw_invoke(), edbm_spin_invoke(), eyedropper_color_set(), gizmo2d_xform_invoke_prepare(), gizmo_bisect_prop_angle_set(), gizmo_bisect_prop_depth_set(), gizmo_bisect_prop_translate_set(), gizmo_placement_prop_matrix_set(), gizmo_ruler_invoke(), gizmo_spin_prop_axis_angle_set(), gizmo_spin_prop_depth_set(), gizmo_spin_prop_translate_set(), mathutils_rna_matrix_set(), mathutils_rna_vector_set(), mesh_bisect_exec(), object_data_instance_add_exec(), object_warp_verts_exec(), prop_subscript_ass_array_slice(), pyprop_array_foreach_getset(), pyrna_py_to_array(), RNA_float_set_array(), RNA_property_float_set_index(), RNA_property_reset(), rna_raw_access(), saveTransform(), ui_but_v3_set(), view3d_ruler_add_invoke(), view3d_ruler_item_mousemove(), WIDGETGROUP_xform_cage_refresh(), and WM_gizmo_target_property_float_set_array().
bool RNA_property_float_set_default | ( | PropertyRNA * | prop, |
float | value | ||
) |
Definition at line 3081 of file rna_access.c.
References BLI_assert, IDPropertyUIDataFloat::default_value, double(), IDP_FLOAT, IDP_ui_data_ensure(), PropertyRNA::magic, RNA_MAGIC, and IDProperty::type.
Referenced by RNA_property_assign_default().
void RNA_property_float_set_index | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
int | index, | ||
float | value | ||
) |
Definition at line 3036 of file rna_access.c.
References BLI_assert, len, MEM_freeN, MEM_mallocN, PROP_FLOAT, ptr, rna_ensure_property_array_length(), RNA_MAX_ARRAY_LENGTH, RNA_property_array_check(), RNA_property_float_get_array(), RNA_property_float_set_array(), and RNA_property_type().
Referenced by BKE_animsys_write_to_rna_path(), float_set_index(), mathutils_rna_vector_set_index(), pyrna_py_to_prop_array_index(), RNA_property_reset(), ui_but_set_float_array(), ui_but_v3_set(), ui_but_value_set(), ui_selectcontext_apply(), and WM_gizmo_target_property_float_set().
void RNA_property_float_ui_range | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
float * | softmin, | ||
float * | softmax, | ||
float * | step, | ||
float * | precision | ||
) |
Definition at line 1311 of file rna_access.c.
References float(), PropertyRNA::magic, max_ff(), min_ff(), IDPropertyUIDataFloat::precision, FloatPropertyRNA::precision, ptr, FloatPropertyRNA::range, FloatPropertyRNA::range_ex, rna_ensure_property(), RNA_MAGIC, IDPropertyUIDataFloat::soft_max, IDPropertyUIDataFloat::soft_min, FloatPropertyRNA::softmax, FloatPropertyRNA::softmin, IDPropertyUIDataFloat::step, FloatPropertyRNA::step, and IDProperty::ui_data.
Referenced by interactive_value_init_from_property(), radial_control_invoke(), ui_block_colorpicker(), ui_but_range_set_soft(), ui_def_but_rna(), uiTemplateColorPicker(), WIDGETGROUP_camera_refresh(), and WM_gizmo_target_property_float_range_get().
const char* RNA_property_identifier | ( | const PropertyRNA * | prop | ) |
Definition at line 1000 of file rna_access.c.
References rna_ensure_property_identifier().
Referenced by add_driver_with_target(), ANIM_channel_draw_widgets(), animsys_blend_in_fcurves(), average_normals_draw_check_prop(), BKE_fcurve_find_by_rna_context_ui(), bpy_class_validate_recursive(), blender::deg::DepsgraphRelationBuilder::build_driver_data(), blender::deg::DepsgraphNodeBuilder::build_driver_id_property(), blender::deg::DepsgraphRelationBuilder::build_driver_id_property(), colorband_buttons_layout(), blender::deg::RNANodeQuery::construct_node_identifier(), copy_as_driver_button_exec(), data_transfer_poll_property(), decimate_poll_property(), delete_key_button_exec(), draw_channel_labels(), dt_layers_select_itemf(), edbm_select_similar_poll_property(), edbm_sort_elements_poll_property(), edbm_spin_poll_property(), file_browse_exec(), foreach_parse_args(), gpencil_convert_poll_property(), gpencil_cyclical_set_curve_edit_poll_property(), gpencil_subdivide_curve_edit_poll_property(), blender::deg::RNAPathKey::identifier(), image_open_draw_check_prop(), image_save_as_draw_check_prop(), insert_key_button_exec(), mass_calculate_poll_property(), mathutils_rna_matrix_set(), mathutils_rna_vector_set(), mathutils_rna_vector_set_index(), normals_tools_draw_check_prop(), operator_enum_search_update_fn(), operator_last_properties_init_impl(), outliner_operator_menu(), parent_set_poll_property(), pastebuf_match_path_property(), path_select_poll_property(), point_normals_draw_check_prop(), py_to_array_index(), pydriver_error(), pyrna_enum_to_py(), pyrna_func_call(), pyrna_func_error_prefix(), pyrna_prop_array_ass_subscript(), pyrna_prop_as_bytes(), pyrna_prop_path_from_id(), pyrna_prop_repr_ex(), pyrna_prop_str(), pyrna_prop_to_enum_bitfield(), pyrna_prop_validity_check(), pyrna_py_to_prop(), pyrna_pydict_to_props(), pyrna_srna_contains_pointer_prop_srna(), pyrna_struct_keyframe_delete(), pyrna_struct_keyframe_insert(), pyrna_struct_setattro(), quadriflow_poll_property(), RNA_function_call_direct_va(), RNA_function_find_parameter(), RNA_parameter_get_lookup(), RNA_parameter_set_lookup(), RNA_path_append(), RNA_path_from_ID_to_property_index(), RNA_path_from_ID_to_struct(), RNA_path_full_property_py_ex(), RNA_path_property_py(), RNA_path_struct_property_py(), RNA_pointer_as_string_id(), RNA_pointer_as_string_keywords_ex(), rna_struct_update_when_changed(), screenshot_draw_check_prop(), seq_effect_add_properties_poll(), sequencer_add_draw_check_fn(), shape_key_remove_poll_property(), transform_poll_property(), ui_but_anim_decorate_update_from_flag(), ui_but_event_property_operator_string(), UI_but_online_manual_id(), UI_but_string_info_get(), ui_but_user_menu_add(), ui_but_user_menu_find(), UI_context_copy_to_selected_list(), ui_layout_introspect_button(), ui_template_list_collect_display_items(), ui_template_list_layout_draw(), UI_textbutton_activate_rna(), uiItemEnumR_prop(), uiItemEnumR_string_prop(), uiItemFullR_with_menu(), uiItemFullR_with_popover(), uiItemMenuEnumR_prop(), uiItemPointerR_prop(), uiItemsFullEnumO_items(), validate_array(), validate_array_length(), visualkey_can_use(), visualkey_get_values(), WM_gizmo_properties_reset(), WM_menu_invoke_ex(), WM_msg_publish_rna_params(), wm_msg_rna_repr(), WM_msg_subscribe_rna_params(), wm_operator_create(), and WM_operator_properties_reset().
int RNA_property_int_clamp | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
int * | value | ||
) |
Definition at line 1382 of file rna_access.c.
References max, min, ptr, and RNA_property_int_range().
Referenced by BKE_animsys_write_to_rna_path(), pyrna_py_to_prop(), pyrna_py_to_prop_array_index(), and RNA_property_int_set().
int RNA_property_int_get | ( | PointerRNA * | ptr, |
PropertyRNA * | prop | ||
) |
Definition at line 2429 of file rna_access.c.
References BLI_assert, IntPropertyRNA::defaultvalue, IntPropertyRNA::get, IntPropertyRNA::get_ex, IDP_Int, PROP_INT, ptr, rna_idproperty_check(), RNA_property_array_check(), and RNA_property_type().
Referenced by BCAnimationCurve::add_value_from_rna(), ANIM_add_driver(), BKE_animsys_read_from_rna_path(), bookmark_delete_exec(), drw_uniform_property_lookup(), dtar_get_prop_val(), ED_view3d_gizmo_mesh_preselect_get_active(), edbm_fill_grid_exec(), fileselect_ensure_updated_file_params(), gpencil_bake_grease_pencil_animation_invoke(), load_data_init_from_operator(), lookup_property(), make_override_library_exec(), move_to_collection_exec(), move_to_collection_invoke(), pose_groups_menu_invoke(), pose_propagate_get_refVal(), pose_slide_apply_props(), pyrna_prop_to_py(), radial_control_invoke(), RNA_int_get(), RNA_property_as_string(), RNA_property_assign_default(), RNA_property_int_get_array(), rna_raw_access(), setting_get_rna_values(), ui_but_value_get(), ui_handle_list_event(), ui_selectcontext_begin(), ui_template_list_data_retrieve(), undo_history_exec(), WM_gesture_lasso_invoke(), WM_gesture_lines_invoke(), WM_gesture_straightline_invoke(), WM_operator_properties_id_lookup_from_name_or_session_uuid(), and WM_operator_properties_select_random_seed_increment_get().
void RNA_property_int_get_array | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
int * | values | ||
) |
Definition at line 2512 of file rna_access.c.
References PropertyRNA::arraydimension, BLI_assert, PropertyRNA::flag, IntPropertyRNA::getarray, IntPropertyRNA::getarray_ex, IDP_Array, IDProperty::len, PROP_IDPROPERTY, PROP_INT, ptr, rna_idproperty_check(), RNA_property_array_check(), RNA_property_array_length(), RNA_property_int_get(), rna_property_int_get_default_array_values(), and RNA_property_type().
Referenced by area_split_invoke(), image_scale_exec(), prop_subscript_ass_array_slice(), pyprop_array_foreach_getset(), pyrna_array_contains_py(), pyrna_prop_array_subscript_slice(), rna_array_as_string_alloc(), RNA_int_get_array(), RNA_property_int_get_array_range(), RNA_property_int_get_index(), RNA_property_int_set_index(), rna_raw_access(), and setting_get_rna_values().
void RNA_property_int_get_array_range | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
int | values[2] | ||
) |
Definition at line 2544 of file rna_access.c.
References MAX2, MEM_freeN, MEM_mallocN, MIN2, ptr, RNA_property_array_length(), and RNA_property_int_get_array().
Referenced by ui_but_range_set_soft().
int RNA_property_int_get_default | ( | PointerRNA * | ptr, |
PropertyRNA * | prop | ||
) |
void RNA_property_int_get_default_array | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
int * | values | ||
) |
Definition at line 2707 of file rna_access.c.
References PropertyRNA::arraydimension, BLI_assert, IDPropertyUIDataInt::default_array, IDPropertyUIDataInt::default_array_len, IDPropertyUIDataInt::default_value, IntPropertyRNA::defaultvalue, IDP_ARRAY, IDP_INT, if(), blender::math::length(), PropertyRNA::magic, NULL, PROP_INT, ptr, rna_ensure_property(), rna_ensure_property_array_length(), RNA_MAGIC, RNA_property_array_check(), rna_property_int_fill_default_array_values(), rna_property_int_get_default_array_values(), RNA_property_type(), IDProperty::subtype, IDProperty::type, and IDProperty::ui_data.
Referenced by nlaevalchan_get_default_values(), RNA_property_int_get_default_index(), and RNA_property_reset().
int RNA_property_int_get_default_index | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
int | index | ||
) |
Definition at line 2743 of file rna_access.c.
References BLI_assert, len, MEM_freeN, MEM_mallocN, PROP_INT, ptr, rna_ensure_property_array_length(), RNA_MAX_ARRAY_LENGTH, RNA_property_array_check(), RNA_property_int_get_default_array(), and RNA_property_type().
Referenced by get_default_rna_value(), RNA_property_reset(), and ui_button_value_default().
int RNA_property_int_get_index | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
int | index | ||
) |
Definition at line 2581 of file rna_access.c.
References BLI_assert, len, MEM_freeN, MEM_mallocN, PROP_INT, ptr, rna_ensure_property_array_length(), RNA_MAX_ARRAY_LENGTH, RNA_property_array_check(), RNA_property_int_get_array(), and RNA_property_type().
Referenced by BCAnimationCurve::add_value_from_rna(), ANIM_add_driver(), BKE_animsys_read_from_rna_path(), dtar_get_prop_val(), pose_propagate_get_refVal(), pyrna_array_index(), RNA_property_as_string(), ui_but_value_get(), and ui_selectcontext_begin().
void RNA_property_int_range | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
int * | hardmin, | ||
int * | hardmax | ||
) |
Definition at line 1190 of file rna_access.c.
References IntPropertyRNA::hardmax, IntPropertyRNA::hardmin, PropertyRNA::magic, IDPropertyUIDataInt::max, IDPropertyUIDataInt::min, ptr, IntPropertyRNA::range, IntPropertyRNA::range_ex, rna_ensure_property(), RNA_MAGIC, and IDProperty::ui_data.
Referenced by convert_item_init_int(), prop_subscript_ass_array_slice(), RNA_property_int_clamp(), ui_but_range_set_hard(), ui_def_but_rna(), ui_handle_list_event(), and ui_selectcontext_apply().
void RNA_property_int_set | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
int | value | ||
) |
Definition at line 2449 of file rna_access.c.
References BLI_assert, PropertyRNA::flag, IDPropertyTemplate::i, PropertyRNA::identifier, IDP_AddToGroup(), IDP_Int, IDP_INT, IDP_New(), PROP_EDITABLE, PROP_INT, ptr, rna_idproperty_check(), rna_idproperty_touch(), RNA_property_array_check(), RNA_property_int_clamp(), RNA_property_type(), RNA_struct_idprops(), IntPropertyRNA::set, and IntPropertyRNA::set_ex.
Referenced by bake_set_props(), BKE_animsys_write_to_rna_path(), ED_view3d_gizmo_mesh_preselect_clear(), edbm_fill_grid_exec(), gpencil_bake_grease_pencil_animation_invoke(), make_override_library_invoke(), pose_slide_apply_props(), pyrna_py_to_prop(), radial_control_set_value(), RNA_int_set(), RNA_property_int_set_array(), RNA_property_reset(), rna_raw_access(), ui_but_value_set(), ui_list_activate_row_from_index(), ui_selectcontext_apply(), ui_template_list_collect_items(), and WM_operator_properties_select_random_seed_increment_get().
void RNA_property_int_set_array | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
const int * | values | ||
) |
Definition at line 2605 of file rna_access.c.
References IDPropertyTemplate::array, PropertyRNA::arraydimension, BLI_assert, PropertyRNA::flag, PropertyRNA::identifier, IDP_AddToGroup(), IDP_Array, IDP_ARRAY, IDP_Int, IDP_INT, IDP_New(), IDPropertyTemplate::len, IDProperty::len, PROP_EDITABLE, PROP_IDPROPERTY, PROP_INT, ptr, rna_idproperty_check(), rna_idproperty_touch(), RNA_property_array_check(), RNA_property_array_length(), RNA_property_int_set(), RNA_property_type(), RNA_struct_idprops(), IntPropertyRNA::setarray, IntPropertyRNA::setarray_ex, PropertyRNA::totarraylength, and IDPropertyTemplate::type.
Referenced by image_scale_exec(), image_scale_invoke(), prop_subscript_ass_array_slice(), pyprop_array_foreach_getset(), pyrna_py_to_array(), RNA_int_set_array(), RNA_property_int_set_index(), RNA_property_reset(), and rna_raw_access().
bool RNA_property_int_set_default | ( | PropertyRNA * | prop, |
int | value | ||
) |
Definition at line 2693 of file rna_access.c.
References BLI_assert, IDPropertyUIDataInt::default_value, IDP_INT, IDP_ui_data_ensure(), PropertyRNA::magic, RNA_MAGIC, and IDProperty::type.
Referenced by RNA_property_assign_default().
void RNA_property_int_set_index | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
int | index, | ||
int | value | ||
) |
Definition at line 2652 of file rna_access.c.
References BLI_assert, len, MEM_freeN, MEM_mallocN, PROP_INT, ptr, rna_ensure_property_array_length(), RNA_MAX_ARRAY_LENGTH, RNA_property_array_check(), RNA_property_int_get_array(), RNA_property_int_set_array(), and RNA_property_type().
Referenced by BKE_animsys_write_to_rna_path(), int_set_index(), pyrna_py_to_prop_array_index(), RNA_property_reset(), ui_but_value_set(), and ui_selectcontext_apply().
void RNA_property_int_ui_range | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
int * | softmin, | ||
int * | softmax, | ||
int * | step | ||
) |
Definition at line 1227 of file rna_access.c.
References PropertyRNA::magic, max_ii(), min_ii(), ptr, IntPropertyRNA::range, IntPropertyRNA::range_ex, rna_ensure_property(), RNA_MAGIC, IDPropertyUIDataInt::soft_max, IDPropertyUIDataInt::soft_min, IntPropertyRNA::softmax, IntPropertyRNA::softmin, IDPropertyUIDataInt::step, IntPropertyRNA::step, and IDProperty::ui_data.
Referenced by radial_control_invoke(), ui_but_range_set_soft(), and ui_def_but_rna().
bool RNA_property_is_idprop | ( | const PropertyRNA * | prop | ) |
Definition at line 5322 of file rna_access.c.
References PropertyRNA::magic, and RNA_MAGIC.
Referenced by assign_default_button_poll(), pyrna_dir_members_rna(), blender::deg::rna_prop_affects_parameters_node(), RNA_property_assign_default(), UI_context_copy_to_selected_check(), UI_context_copy_to_selected_list(), and ui_popup_context_menu_for_button().
bool RNA_property_is_set | ( | PointerRNA * | ptr, |
PropertyRNA * | prop | ||
) |
Definition at line 5271 of file rna_access.c.
References IDProperty::flag, PropertyRNA::flag, PropertyRNA::identifier, IDP_FLAG_GHOST, NULL, PROP_IDPROPERTY, ptr, rna_ensure_property(), and rna_idproperty_find().
Referenced by add_driver_button_menu_invoke(), add_primitive_cube_gizmo_exec(), area_split_invoke(), average_tracks_invoke(), bake_set_props(), bookmark_delete_exec(), brush_select_exec(), button2d_draw_intern(), collection_add_info_get_from_op(), collection_isolate_invoke(), cube_project_exec(), curve_draw_exec_precalc(), data_transfer_poll_property(), ED_object_add_generic_get_opts(), edbm_dissolve_mode_exec(), edbm_extrude_repeat_exec(), edbm_fill_grid_exec(), edbm_screw_invoke(), edbm_select_similar_exec(), edbm_sort_elements_exec(), edbm_spin_invoke(), edbm_tris_convert_to_quads_exec(), file_browse_invoke(), gesture_modal_state_from_operator(), gizmo_dial_exit(), gpencil_bake_grease_pencil_animation_invoke(), gpencil_convert_layer_exec(), gpencil_move_to_layer_invoke(), image_new_exec(), image_scale_exec(), image_scale_invoke(), initSnapping(), initTransform(), initTransInfo(), mesh_bisect_exec(), modifier_apply_invoke(), move_to_collection_exec(), move_to_collection_invoke(), object_add_named_exec(), object_data_instance_add_exec(), object_hide_collection_invoke(), object_mode_set_exec(), object_origin_set_exec(), object_transform_apply_invoke(), object_transform_to_mouse_exec(), object_warp_verts_exec(), op_generic_value_invoke(), operator_last_properties_init_impl(), outliner_id_remap_invoke(), parent_set_invoke(), path_select_params_from_op(), pose_groups_menu_invoke(), poselib_move_exec(), poselib_remove_exec(), region_toggle_exec(), RNA_pointer_as_string_keywords_ex(), RNA_property_copy(), RNA_struct_property_is_set(), save_set_compress(), save_set_filepath(), saveTransform(), select_linked_delimit_default_from_op(), template_keymap_item_properties(), transformops_loopsel_hack(), ui_tooltip_data_from_tool(), undo_history_exec(), undo_history_invoke(), unset_property_button_exec(), userpref_show_exec(), uv_from_view_invoke(), uv_select_similar_exec(), view3d_cursor3d_invoke(), view3d_interactive_add_begin(), view_scrolldown_exec(), view_scrollup_exec(), vieworbit_exec(), WM_gizmo_properties_default(), wm_homefile_read_exec(), wm_keymap_item_find(), WM_menu_invoke_ex(), wm_open_init_load_ui(), wm_open_init_use_scripts(), WM_operator_properties_default(), WM_operator_properties_id_lookup_from_name_or_session_uuid(), WM_operator_properties_select_random_seed_increment_get(), wm_save_as_mainfile_invoke(), wm_save_mainfile_invoke(), wm_stereo3d_set_properties(), and wm_xr_navigation_fly_modal().
bool RNA_property_is_set_ex | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
bool | use_ghost | ||
) |
Check if the #IDproperty exists, for operators.
use_ghost | Internally an IDProperty may exist, without the RNA considering it to be "set", see IDP_FLAG_GHOST. This is used for operators, where executing an operator that has run previously will re-use the last value (unless PROP_SKIP_SAVE property is set). In this case, the presence of the an existing value shouldn't prevent it being initialized from the context. Even though the this value will be returned if it's requested, it's not considered to be set (as it would if the menu item or key-map defined it's value). Set use_ghost to true for default behavior, otherwise false to check if there is a value exists internally and would be returned on request. |
Definition at line 5261 of file rna_access.c.
References IDProperty::flag, PropertyRNA::flag, PropertyRNA::identifier, IDP_FLAG_GHOST, NULL, PROP_IDPROPERTY, ptr, rna_ensure_property(), and rna_idproperty_find().
Referenced by fileselect_ensure_updated_file_params(), pyrna_struct_is_property_set(), RNA_struct_property_is_set_ex(), and WM_operator_view3d_unit_defaults().
bool RNA_property_is_unlink | ( | PropertyRNA * | prop | ) |
Definition at line 5327 of file rna_access.c.
References PROP_NEVER_NULL, PROP_NEVER_UNLINK, PROP_STRING, RNA_property_flag(), and RNA_property_type().
Referenced by ui_but_add_search().
int RNA_property_multi_array_length | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
int | dimension | ||
) |
Return the size of Nth dimension.
Definition at line 1096 of file rna_access.c.
References len, ptr, rna_ensure_property_multi_array_length(), and RNA_MAX_ARRAY_DIMENSION.
Referenced by pyrna_prop_array_length(), and pyrna_py_from_array_index().
bool RNA_property_overridable_get | ( | PointerRNA * | ptr, |
PropertyRNA * | prop | ||
) |
Definition at line 118 of file rna_access_compare_override.c.
References CAM_BGIMG_FLAG_OVERRIDE_LIBRARY_LOCAL, CONSTRAINT_OVERRIDE_LIBRARY_LOCAL, PointerRNA::data, eGpencilModifierFlag_OverrideLibrary_Local, eModifierFlag_OverrideLibrary_Local, NlaTrack::flag, CameraBGImage::flag, bConstraint::flag, GpencilModifierData::flag, IDProperty::flag, PropertyRNA::flag_override, IDP_FLAG_OVERRIDABLE_LIBRARY, PropertyRNA::magic, mod(), NLATRACK_OVERRIDELIBRARY_LOCAL, PROPOVERRIDE_NO_COMPARISON, PROPOVERRIDE_OVERRIDABLE_LIBRARY, ptr, RNA_MAGIC, RNA_struct_is_a(), and PointerRNA::type.
Referenced by property_collection_liboverride_editable(), pyrna_struct_is_property_overridable_library(), rna_property_editable_do(), rna_property_override_diff(), RNA_property_override_library_status(), and RNA_struct_override_matches().
bool RNA_property_overridable_library_set | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
bool | is_overridable | ||
) |
Should only be used for custom properties.
bool RNA_property_overridden | ( | PointerRNA * | ptr, |
PropertyRNA * | prop | ||
) |
Definition at line 182 of file rna_access_compare_override.c.
References BKE_lib_override_library_property_find(), id, ID_IS_OVERRIDE_LIBRARY, NULL, ID::override_library, PointerRNA::owner_id, ptr, and RNA_path_from_ID_to_property().
int RNA_property_override_flag | ( | PropertyRNA * | prop | ) |
Definition at line 113 of file rna_access_compare_override.c.
References PropertyRNA::flag_override, and rna_ensure_property().
Referenced by RNA_struct_override_matches().
eRNAOverrideStatus RNA_property_override_library_status | ( | struct Main * | bmainm, |
PointerRNA * | ptr, | ||
PropertyRNA * | prop, | ||
int | index | ||
) |
Definition at line 1440 of file rna_access_compare_override.c.
References IDOverrideLibraryPropertyOperation::flag, ID_IS_OVERRIDE_LIBRARY, IDOVERRIDE_LIBRARY_FLAG_LOCKED, IDOVERRIDE_LIBRARY_FLAG_MANDATORY, NULL, PointerRNA::owner_id, ptr, RNA_OVERRIDE_STATUS_LOCKED, RNA_OVERRIDE_STATUS_MANDATORY, RNA_OVERRIDE_STATUS_OVERRIDABLE, RNA_OVERRIDE_STATUS_OVERRIDDEN, RNA_property_editable_flag(), RNA_property_overridable_get(), and RNA_property_override_property_operation_find().
Referenced by override_remove_button_poll(), override_type_set_button_poll(), ui_but_override_flag(), and ui_popup_context_menu_for_button().
struct IDOverrideLibraryProperty* RNA_property_override_property_find | ( | struct Main * | bmain, |
PointerRNA * | ptr, | ||
PropertyRNA * | prop, | ||
struct ID ** | r_owner_id | ||
) |
Definition at line 1359 of file rna_access_compare_override.c.
References BKE_lib_override_library_property_find(), MEM_freeN, NULL, ptr, and rna_property_override_property_real_id_owner().
Referenced by override_remove_button_exec(), and RNA_property_override_property_operation_find().
struct IDOverrideLibraryProperty* RNA_property_override_property_get | ( | struct Main * | bmain, |
PointerRNA * | ptr, | ||
PropertyRNA * | prop, | ||
bool * | r_created | ||
) |
Definition at line 1376 of file rna_access_compare_override.c.
References BKE_lib_override_library_property_get(), id, MEM_freeN, NULL, ID::override_library, ptr, and rna_property_override_property_real_id_owner().
Referenced by RNA_property_override_property_operation_get().
struct IDOverrideLibraryPropertyOperation* RNA_property_override_property_operation_find | ( | struct Main * | bmain, |
PointerRNA * | ptr, | ||
PropertyRNA * | prop, | ||
int | index, | ||
bool | strict, | ||
bool * | r_strict | ||
) |
Definition at line 1397 of file rna_access_compare_override.c.
References BKE_lib_override_library_property_operation_find(), NULL, ptr, and RNA_property_override_property_find().
Referenced by RNA_property_override_library_status().
struct IDOverrideLibraryPropertyOperation* RNA_property_override_property_operation_get | ( | struct Main * | bmain, |
PointerRNA * | ptr, | ||
PropertyRNA * | prop, | ||
short | operation, | ||
int | index, | ||
bool | strict, | ||
bool * | r_strict, | ||
bool * | r_created | ||
) |
Definition at line 1416 of file rna_access_compare_override.c.
References BKE_lib_override_library_property_operation_get(), NULL, ptr, and RNA_property_override_property_get().
Referenced by override_type_set_button_exec().
bool RNA_property_path_from_ID_check | ( | PointerRNA * | ptr, |
PropertyRNA * | prop | ||
) |
This function is to check if its possible to create a valid path from the ID its slow so don't call in a loop.
Definition at line 2030 of file rna_access.c.
References MEM_freeN, PointerRNA::owner_id, ptr, ret, RNA_id_pointer_create(), RNA_path_from_ID_to_property(), and RNA_path_resolve().
Referenced by ui_popup_context_menu_for_button().
void RNA_property_pointer_add | ( | PointerRNA * | ptr, |
PropertyRNA * | prop | ||
) |
Definition at line 3617 of file rna_access.c.
References BLI_assert, PropertyRNA::flag, IDPropertyTemplate::i, PropertyRNA::identifier, StructRNA::identifier, IDP_AddToGroup(), IDP_GROUP, IDP_New(), PROP_IDPROPERTY, PROP_POINTER, ptr, rna_idproperty_check(), RNA_property_type(), RNA_struct_idprops(), and PointerRNA::type.
Referenced by RNA_pointer_add(), and RNA_property_pointer_get().
PointerRNA RNA_property_pointer_get | ( | PointerRNA * | ptr, |
PropertyRNA * | prop | ||
) |
PointerRNA void PointerRNA RNA_property_pointer_get_default | ( | PointerRNA * | ptr, |
PropertyRNA * | prop | ||
) |
bool RNA_property_pointer_poll | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
PointerRNA * | value | ||
) |
Definition at line 1431 of file rna_access.c.
References PropertyRNA::identifier, PointerPropertyRNA::poll, PROP_POINTER, ptr, rna_ensure_property(), rna_idproperty_check(), and PropertyRNA::type.
Referenced by datadropper_id_sample_pt(), id_search_allows_id(), and ui_rna_collection_search_update_fn().
void RNA_property_pointer_remove | ( | PointerRNA * | ptr, |
PropertyRNA * | prop | ||
) |
Definition at line 3645 of file rna_access.c.
References BLI_assert, PropertyRNA::identifier, StructRNA::identifier, IDP_FreeFromGroup(), PROP_POINTER, ptr, rna_idproperty_check(), RNA_property_type(), RNA_struct_idprops(), and PointerRNA::type.
PointerRNA void RNA_property_pointer_set | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
PointerRNA | ptr_value, | ||
struct ReportList * | reports | ||
) |
StructRNA* RNA_property_pointer_type | ( | PointerRNA * | ptr, |
PropertyRNA * | prop | ||
) |
Definition at line 1405 of file rna_access.c.
References CollectionPropertyRNA::item_type, PROP_COLLECTION, PROP_POINTER, ptr, rna_ensure_property(), PropertyRNA::type, PointerPropertyRNA::type, and PointerPropertyRNA::type_fn.
Referenced by asset_view_template_refresh_asset_collection(), datadropper_init(), datadropper_poll(), blender::ed::outliner::get_property_icon(), blender::ed::outliner::iterate_properties_to_display(), lib_override_library_id_reset_do(), pyrna_param_to_py(), pyrna_prop_collection_type_check(), pyrna_py_to_prop(), pyrna_srna_contains_pointer_prop_srna(), rna_function_parameter_parse(), rna_property_update(), rna_raw_access(), rna_struct_find_nested(), RNA_struct_override_apply(), search_id_collection(), template_add_button_search_menu(), template_ID_search_menu_item_tooltip(), template_search_buttons(), template_search_exec_fn(), template_search_get_searchprop(), ui_but_add_search(), ui_but_icon_extra_is_visible_search_eyedropper(), ui_but_string_get_ex(), ui_but_string_set(), ui_template_id(), ui_template_list_layout_draw(), uiDefAutoButR(), uiItemPointerR_prop(), WM_gizmo_properties_default(), WM_gizmo_properties_sanitize(), WM_operator_properties_default(), and WM_operator_properties_sanitize().
void* RNA_property_py_data_get | ( | PropertyRNA * | prop | ) |
Definition at line 1070 of file rna_access.c.
References PropertyRNA::py_data.
Referenced by bpy_prop_boolean_array_get_fn(), bpy_prop_boolean_array_set_fn(), bpy_prop_boolean_get_fn(), bpy_prop_boolean_set_fn(), bpy_prop_enum_get_fn(), bpy_prop_enum_itemf_fn(), bpy_prop_enum_set_fn(), bpy_prop_float_array_get_fn(), bpy_prop_float_array_set_fn(), bpy_prop_float_get_fn(), bpy_prop_float_set_fn(), bpy_prop_int_array_get_fn(), bpy_prop_int_array_set_fn(), bpy_prop_int_get_fn(), bpy_prop_int_set_fn(), bpy_prop_pointer_poll_fn(), bpy_prop_py_data_ensure(), bpy_prop_py_data_remove(), bpy_prop_string_get_fn(), bpy_prop_string_length_fn(), bpy_prop_string_set_fn(), bpy_prop_string_visit_for_search_fn(), and bpy_prop_update_fn().
RawPropertyType RNA_property_raw_type | ( | PropertyRNA * | prop | ) |
Definition at line 4684 of file rna_access.c.
References PROP_BOOLEAN, PROP_ENUM, PROP_FLOAT, PROP_INT, PROP_RAW_BOOLEAN, PROP_RAW_FLOAT, PROP_RAW_INT, PROP_RAW_UNSET, PropertyRNA::rawtype, and PropertyRNA::type.
Referenced by foreach_attr_type().
bool RNA_property_reset | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
int | index | ||
) |
Definition at line 6649 of file rna_access.c.
References len, MEM_callocN, MEM_freeN, NULL, PROP_BOOLEAN, PROP_ENUM, PROP_FLOAT, PROP_INT, PROP_POINTER, PROP_STRING, ptr, RNA_property_array_length(), RNA_property_boolean_get_default(), RNA_property_boolean_get_default_array(), RNA_property_boolean_get_default_index(), RNA_property_boolean_set(), RNA_property_boolean_set_array(), RNA_property_boolean_set_index(), RNA_property_enum_get_default(), RNA_property_enum_set(), RNA_property_float_get_default(), RNA_property_float_get_default_array(), RNA_property_float_get_default_index(), RNA_property_float_set(), RNA_property_float_set_array(), RNA_property_float_set_index(), RNA_property_int_get_default(), RNA_property_int_get_default_array(), RNA_property_int_get_default_index(), RNA_property_int_set(), RNA_property_int_set_array(), RNA_property_int_set_index(), RNA_property_pointer_get_default(), RNA_property_pointer_set(), RNA_property_string_get_default_alloc(), RNA_property_string_set(), and RNA_property_type().
Referenced by reset_default_button_exec(), WM_gizmo_properties_default(), and WM_operator_properties_default().
int RNA_property_string_default_length | ( | PointerRNA * | ptr, |
PropertyRNA * | prop | ||
) |
\0
terminator. void RNA_property_string_get | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
char * | value | ||
) |
Definition at line 3149 of file rna_access.c.
References BLI_assert, StringPropertyRNA::defaultvalue, StringPropertyRNA::get, StringPropertyRNA::get_ex, IDP_String, IDP_STRING_SUB_BYTE, IDProperty::len, PROP_STRING, ptr, rna_idproperty_check(), RNA_property_type(), and IDProperty::subtype.
Referenced by bookmark_select_exec(), button2d_draw_intern(), file_directory_new_exec(), file_operator_to_sfile(), image_new_exec(), keyingset_get_from_op_with_error(), load_data_init_from_operator(), RNA_property_as_string(), RNA_property_string_get_alloc(), RNA_string_get(), ui_but_menu_add_path_operators(), wm_homefile_read_exec(), WM_operator_filesel_ensure_ext_imtype(), and WM_operator_properties_id_lookup_from_name_or_session_uuid().
char* RNA_property_string_get_alloc | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
char * | fixedbuf, | ||
int | fixedlen, | ||
int * | r_len | ||
) |
Definition at line 3178 of file rna_access.c.
References BLI_assert, blender::math::length(), MEM_mallocN, PROP_STRING, ptr, RNA_property_string_get(), RNA_property_string_length(), and RNA_property_type().
Referenced by file_browse_invoke(), fileselect_ensure_updated_file_params(), getname_anim_fcurve(), jump_to_target_button(), pyrna_prop_as_bytes(), pyrna_prop_collection_subscript_str(), pyrna_prop_to_py(), RNA_property_collection_lookup_string_index(), RNA_string_get_alloc(), RNA_struct_name_get_alloc(), template_search_textbut_width(), ui_but_string_get_dynamic(), ui_but_string_get_ex(), and uilist_item_use_dynamic_tooltip().
void RNA_property_string_get_default | ( | PropertyRNA * | prop, |
char * | value, | ||
int | max_len | ||
) |
Definition at line 3304 of file rna_access.c.
References BLI_assert, BLI_strncpy(), IDPropertyUIDataString::default_value, StringPropertyRNA::defaultvalue, IDP_STRING, PropertyRNA::magic, PROP_STRING, rna_ensure_property(), RNA_MAGIC, RNA_property_type(), IDProperty::type, and IDProperty::ui_data.
Referenced by RNA_property_string_get_default_alloc().
char* RNA_property_string_get_default_alloc | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
char * | fixedbuf, | ||
int | fixedlen, | ||
int * | r_len | ||
) |
Definition at line 3326 of file rna_access.c.
References BLI_assert, blender::math::length(), MEM_callocN, PROP_STRING, ptr, RNA_property_string_default_length(), RNA_property_string_get_default(), and RNA_property_type().
Referenced by RNA_property_reset().
int RNA_property_string_length | ( | PointerRNA * | ptr, |
PropertyRNA * | prop | ||
) |
\0
terminator. Definition at line 3213 of file rna_access.c.
References BLI_assert, StringPropertyRNA::defaultvalue, IDP_String, IDP_STRING_SUB_BYTE, IDProperty::len, StringPropertyRNA::length, StringPropertyRNA::length_ex, PROP_STRING, ptr, rna_idproperty_check(), RNA_property_type(), and IDProperty::subtype.
Referenced by button2d_draw_intern(), RNA_property_as_string(), RNA_property_string_get_alloc(), and RNA_string_length().
int RNA_property_string_maxlength | ( | PropertyRNA * | prop | ) |
Definition at line 1399 of file rna_access.c.
References StringPropertyRNA::maxlength, and rna_ensure_property().
Referenced by pyrna_py_to_prop(), RNA_property_string_set(), and ui_def_but_rna().
void RNA_property_string_search | ( | const struct bContext * | C, |
PointerRNA * | ptr, | ||
PropertyRNA * | prop, | ||
const char * | edit_text, | ||
StringPropertySearchVisitFunc | visit_fn, | ||
void * | visit_user_data | ||
) |
Search candidates for string prop
by calling visit_fn
with each string. Typically these strings are collected in visit_user_data
in a format defined by the caller.
See #PropStringSearchFunc for details.
eStringPropertySearchFlag RNA_property_string_search_flag | ( | PropertyRNA * | prop | ) |
Definition at line 3374 of file rna_access.c.
References BLI_assert, PropertyRNA::magic, PROP_STRING, PROP_STRING_SEARCH_SUPPORTED, rna_ensure_property(), RNA_MAGIC, RNA_property_type(), StringPropertyRNA::search, and StringPropertyRNA::search_flag.
Referenced by RNA_property_string_search(), ui_but_add_search(), ui_rna_collection_search_update_fn(), and uiItemFullR().
void RNA_property_string_set | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
const char * | value | ||
) |
Definition at line 3239 of file rna_access.c.
References BLI_assert, PropertyRNA::flag, PropertyRNA::identifier, IDP_AddToGroup(), IDP_AssignString(), IDP_NewString(), PROP_EDITABLE, PROP_STRING, ptr, rna_idproperty_check(), rna_idproperty_touch(), RNA_property_string_maxlength(), RNA_property_type(), RNA_struct_idprops(), StringPropertyRNA::set, and StringPropertyRNA::set_ex.
Referenced by bake_set_props(), file_browse_exec(), file_sfile_to_operator_ex(), gpencil_move_to_layer_invoke(), image_file_browse_exec(), move_to_collection_invoke(), pyrna_py_to_prop(), RNA_property_reset(), RNA_string_set(), save_set_filepath(), sequencer_change_path_exec(), ui_but_string_set(), and WM_operator_filesel_ensure_ext_imtype().
void RNA_property_string_set_bytes | ( | PointerRNA * | ptr, |
PropertyRNA * | prop, | ||
const char * | value, | ||
int | len | ||
) |
Definition at line 3268 of file rna_access.c.
References BLI_assert, IDProperty::data, PropertyRNA::flag, PropertyRNA::identifier, IDP_AddToGroup(), IDP_New(), IDP_ResizeArray(), IDP_STRING, IDP_STRING_SUB_BYTE, IDPropertyTemplate::len, len, IDPropertyData::pointer, PROP_BYTESTRING, PROP_EDITABLE, PROP_STRING, ptr, rna_idproperty_check(), rna_idproperty_touch(), RNA_property_subtype(), RNA_property_type(), RNA_struct_idprops(), StringPropertyRNA::set, StringPropertyRNA::set_ex, IDPropertyTemplate::str, IDPropertyTemplate::string, and IDPropertyTemplate::subtype.
Referenced by gizmo_mesh_extrude_setup(), gizmo_mesh_spin_init_setup(), and pyrna_py_to_prop().
PropertySubType RNA_property_subtype | ( | PropertyRNA * | prop | ) |
Definition at line 1015 of file rna_access.c.
References PropertyRNA::magic, rna_ensure_property(), RNA_MAGIC, IDPropertyUIData::rna_subtype, PropertyRNA::subtype, and IDProperty::ui_data.
Referenced by ANIM_unit_mapping_get_factor(), bpy_prop_array_is_matrix_compatible(), depthdropper_poll(), drop_color_invoke(), eyedropper_init(), file_browse_exec(), foreach_attr_type(), graph_panel_key_properties(), insert_keyframe_fcurve_value(), nlaevalchan_detect_mix_mode(), pyrna_math_object_from_array(), pyrna_param_to_py(), pyrna_prop_to_py(), pyrna_py_to_prop(), radial_control_invoke(), RNA_property_array_item_char(), RNA_property_string_set_bytes(), RNA_property_unit(), ui_apply_but_autokey(), ui_but_build_drawstr_float(), ui_but_build_drawstr_int(), ui_but_contains_password(), ui_but_copy_color(), ui_but_drag_init(), ui_but_has_array_value(), ui_but_is_color_gamma(), ui_but_is_compatible(), UI_but_is_utf8(), ui_but_menu_add_path_operators(), ui_but_paste_color(), ui_but_range_set_soft(), ui_but_string_eval_number(), ui_but_string_get_ex(), ui_but_text_password_hide(), UI_but_unit_type_get(), ui_do_but_COLOR(), ui_handle_menu_event(), ui_item_array(), ui_item_rna_is_expand(), ui_item_rna_size(), ui_item_with_label(), ui_popup_context_menu_for_button(), ui_selectcontext_apply(), ui_tooltip_data_from_button_or_extra_icon(), uiDefAutoButR(), widget_numslider(), and WM_operator_view3d_unit_defaults().
int RNA_property_tags | ( | PropertyRNA * | prop | ) |
Get the tags set for prop as int bitfield.
Definition at line 1060 of file rna_access.c.
References rna_ensure_property(), and PropertyRNA::tags.
Referenced by ui_layout_operator_buts_poll_property().
const char* RNA_property_translation_context | ( | const PropertyRNA * | prop | ) |
Definition at line 1895 of file rna_access.c.
References rna_ensure_property(), and PropertyRNA::translation_context.
Referenced by menu_items_from_ui_create(), UI_but_string_info_get(), ui_def_but_rna(), ui_menu_enumpropname(), and uiItemEnumR_string_prop().
PropertyType RNA_property_type | ( | PropertyRNA * | prop | ) |
Definition at line 1010 of file rna_access.c.
References rna_ensure_property(), and PropertyRNA::type.
Referenced by BCAnimationCurve::add_value_from_rna(), ANIM_add_driver(), ANIM_channel_draw_widgets(), animsys_blend_in_fcurves(), asset_view_template_refresh_asset_collection(), assign_default_button_poll(), BKE_animsys_read_from_rna_path(), BKE_animsys_write_to_rna_path(), bpy_prop_array_is_matrix_compatible(), blender::ed::outliner::OverrideRNAPathTreeBuilder::build_path(), clean_fcurve(), copy_as_driver_button_poll(), datadropper_init(), datadropper_poll(), depthdropper_init(), depthdropper_poll(), drw_uniform_property_lookup(), dtar_get_prop_val(), blender::ed::outliner::TreeElementRNAStruct::expand(), blender::ed::outliner::TreeElementRNAProperty::expand(), eyedropper_init(), foreach_parse_args(), get_default_rna_value(), blender::ed::outliner::get_property_icon(), id_search_allows_id(), jump_to_target_button(), keyingset_get_from_op_with_error(), lib_override_library_id_reset_do(), lookup_property(), menu_items_from_ui_create_item_from_button(), menu_items_to_ui_button(), menu_search_exec_fn(), nlaevalchan_get_default_values(), operator_enum_search_update_fn(), outliner_draw_overrides_rna_buts(), outliner_draw_rnabuts(), pose_propagate_get_refVal(), pose_slide_apply_props(), prop_subscript_ass_array_slice(), pyprop_array_foreach_getset(), pyrna_array_contains_py(), pyrna_array_index(), pyrna_dir_members_py(), pyrna_driver_get_variable_value(), pyrna_math_object_from_array(), pyrna_param_to_py(), pyrna_prop_array_subscript_slice(), pyrna_prop_as_bytes(), pyrna_prop_CreatePyObject(), pyrna_prop_dir(), pyrna_prop_str(), pyrna_prop_to_py(), pyrna_py_to_array(), pyrna_py_to_array_index(), pyrna_py_to_prop(), pyrna_py_to_prop_array_index(), pyrna_srna_contains_pointer_prop_srna(), radial_control_get_path(), radial_control_invoke(), RNA_function_call_direct_va(), RNA_path_append(), rna_path_parse(), RNA_pointer_as_string_keywords_ex(), rna_porperty_override_collection_subitem_lookup(), RNA_property_as_string(), RNA_property_assign_default(), RNA_property_boolean_get(), RNA_property_boolean_get_array(), RNA_property_boolean_get_default(), RNA_property_boolean_get_default_array(), RNA_property_boolean_get_default_index(), RNA_property_boolean_get_index(), RNA_property_boolean_set(), RNA_property_boolean_set_array(), RNA_property_boolean_set_index(), RNA_property_collection_add(), RNA_property_collection_assign_int(), RNA_property_collection_begin(), RNA_property_collection_clear(), RNA_property_collection_is_empty(), RNA_property_collection_length(), RNA_property_collection_lookup_index(), RNA_property_collection_lookup_int(), RNA_property_collection_lookup_int_has_fn(), RNA_property_collection_lookup_string_has_fn(), RNA_property_collection_lookup_string_index(), RNA_property_collection_move(), RNA_property_collection_raw_array(), RNA_property_collection_remove(), RNA_property_collection_type_get(), RNA_property_enum_get(), RNA_property_enum_get_default(), RNA_property_enum_set(), RNA_property_float_get(), RNA_property_float_get_array(), RNA_property_float_get_default(), RNA_property_float_get_default_array(), RNA_property_float_get_default_index(), RNA_property_float_get_index(), RNA_property_float_set(), RNA_property_float_set_array(), RNA_property_float_set_index(), RNA_property_int_get(), RNA_property_int_get_array(), RNA_property_int_get_default_array(), RNA_property_int_get_default_index(), RNA_property_int_get_index(), RNA_property_int_set(), RNA_property_int_set_array(), RNA_property_int_set_index(), RNA_property_is_unlink(), rna_property_override_apply_ex(), rna_property_override_diff(), RNA_property_pointer_add(), RNA_property_pointer_get(), RNA_property_pointer_remove(), RNA_property_pointer_set(), RNA_property_reset(), RNA_property_string_default_length(), RNA_property_string_get(), RNA_property_string_get_alloc(), RNA_property_string_get_default(), RNA_property_string_get_default_alloc(), RNA_property_string_length(), RNA_property_string_search_flag(), RNA_property_string_set(), RNA_property_string_set_bytes(), rna_raw_access(), rna_struct_update_when_changed(), search_id_collection(), setting_get_rna_values(), shortcut_get_operator_property(), template_keymap_item_properties(), template_search_get_searchprop(), template_search_setup(), template_search_textbut_width(), tree_element_to_path(), blender::ed::outliner::TreeElementOverridesPropertyOperation::TreeElementOverridesPropertyOperation(), ui_but_add_search(), ui_but_event_property_operator_string(), ui_but_is_bool(), ui_but_is_compatible(), ui_but_is_float(), ui_but_is_pushed_ex(), ui_but_is_user_menu_compatible(), ui_but_menu_step_poll(), ui_but_range_set_hard(), ui_but_range_set_soft(), ui_but_search_refresh(), ui_but_string_get_dynamic(), ui_but_string_get_ex(), UI_but_string_info_get(), ui_but_string_set(), ui_but_update_ex(), ui_but_v3_get(), ui_but_v3_set(), ui_but_value_get(), ui_but_value_set(), ui_button_value_default(), UI_context_active_but_prop_get_filebrowser(), UI_context_copy_to_selected_check(), ui_def_but_rna(), ui_do_but_TAB(), ui_handle_button_event(), ui_item_array(), ui_item_enum_expand_exec(), ui_item_rna_size(), ui_item_with_label(), ui_layout_operator_properties_only_booleans(), UI_pie_menu_invoke_from_rna_enum(), ui_popup_context_menu_for_button(), ui_popup_menu_create(), ui_rna_collection_search_update_fn(), ui_selectcontext_apply(), ui_selectcontext_begin(), ui_template_id(), ui_template_list_data_retrieve(), ui_tooltip_data_from_button_or_extra_icon(), uiDefAutoButR(), uiDefAutoButsRNA(), uiItemEnumR_prop(), uiItemEnumR_string_prop(), uiItemFullR(), uiItemPointerR_prop(), uiItemsEnumR(), uiItemsFullEnumO(), uiItemsFullEnumO_items(), uilist_item_use_dynamic_tooltip(), uiTemplateAnyID(), uiTemplateCacheFilePointer(), uiTemplateColorRamp(), uiTemplateCurveMapping(), uiTemplateCurveProfile(), uiTemplateHistogram(), uiTemplateIconView(), uiTemplateImage(), uiTemplateMarker(), uiTemplateMovieClip(), uiTemplateMovieclipInformation(), uiTemplatePathBuilder(), uiTemplateTrack(), uiTemplateVectorscope(), uiTemplateWaveform(), update_autoflags_fcurve_direct(), validate_array(), WM_gizmo_properties_default(), WM_gizmo_properties_sanitize(), WM_menu_invoke_ex(), WM_operator_properties_default(), WM_operator_properties_sanitize(), and WM_operator_view3d_unit_defaults().
const char* RNA_property_ui_description | ( | const PropertyRNA * | prop | ) |
Definition at line 1885 of file rna_access.c.
References rna_ensure_property_description(), and TIP_.
Referenced by template_search_add_button_searchmenu(), UI_but_string_info_get(), ui_def_but_rna(), ui_tooltip_data_from_gizmo(), and uiTemplateCryptoPicker().
const char* RNA_property_ui_description_raw | ( | const PropertyRNA * | prop | ) |
Definition at line 1890 of file rna_access.c.
References rna_ensure_property_description().
int RNA_property_ui_icon | ( | const PropertyRNA * | prop | ) |
Definition at line 1900 of file rna_access.c.
References PropertyRNA::icon, and rna_ensure_property().
Referenced by blender::ed::outliner::get_property_icon(), ui_def_but_rna(), and uiItemFullR().
const char* RNA_property_ui_name | ( | const PropertyRNA * | prop | ) |
Definition at line 1875 of file rna_access.c.
References CTX_IFACE_, rna_ensure_property_name(), and PropertyRNA::translation_context.
Referenced by acf_nla_curve_name(), button_matches_search_filter(), get_keyframe_values_create_reports(), getname_anim_fcurve(), menu_items_from_ui_create_item_from_button(), outliner_idcode_to_plural(), radial_control_update_header(), template_keymap_item_properties(), blender::ed::outliner::TreeElementOverridesProperty::TreeElementOverridesProperty(), blender::ed::outliner::TreeElementRNAProperty::TreeElementRNAProperty(), UI_but_string_info_get(), ui_def_but_rna(), ui_def_but_rna__menu(), uiDefAutoButsRNA(), uiItemFullR(), uiItemMenuEnumR_prop(), and uiItemPointerR_prop().
const char* RNA_property_ui_name_raw | ( | const PropertyRNA * | prop | ) |
Definition at line 1880 of file rna_access.c.
References rna_ensure_property_name().
PropertyScaleType RNA_property_ui_scale | ( | PropertyRNA * | prop | ) |
Definition at line 1037 of file rna_access.c.
References PROP_FLOAT, PROP_INT, PROP_SCALE_LINEAR, rna_ensure_property(), PropertyRNA::type, IntPropertyRNA::ui_scale_type, and FloatPropertyRNA::ui_scale_type.
Referenced by ui_but_scale_type().
PropertyUnit RNA_property_unit | ( | PropertyRNA * | prop | ) |
Definition at line 1032 of file rna_access.c.
References RNA_property_subtype(), and RNA_SUBTYPE_UNIT.
Referenced by add_driver_with_target(), and radial_control_invoke().
void RNA_property_unset | ( | PointerRNA * | ptr, |
PropertyRNA * | prop | ||
) |
Definition at line 5281 of file rna_access.c.
References PropertyRNA::flag, PropertyRNA::identifier, PROP_IDPROPERTY, ptr, rna_ensure_property(), and rna_idproperty_free().
Referenced by gizmo_ruler_exit(), gizmo_ruler_invoke(), gizmo_spin_exec(), pyrna_struct_property_unset(), RNA_struct_property_unset(), saveTransform(), unset_property_button_exec(), WIDGETGROUP_gizmo_invoke_prepare(), and wm_keymap_item_find().
void RNA_property_update | ( | struct bContext * | C, |
PointerRNA * | ptr, | ||
PropertyRNA * | prop | ||
) |
Definition at line 2138 of file rna_access.c.
References C, CTX_data_main(), CTX_data_scene(), ptr, and rna_property_update().
Referenced by actedit_change_action(), action_new_exec(), cachefile_open_exec(), copy_to_selected_button(), datadropper_id_set(), depthdropper_depth_set(), drop_color_invoke(), ED_animedit_unlink_action(), eyedropper_color_set(), eyedropper_colorband_apply(), eyedropper_colorband_cancel(), eyedropper_colorband_point_modal(), file_browse_exec(), font_open_exec(), font_unlink_exec(), blender::ed::space_node::gizmo_node_crop_update(), id_single_user(), image_file_browse_exec(), image_new_exec(), image_open_exec(), lib_id_unlink_exec(), mathutils_rna_matrix_set(), mathutils_rna_vector_set(), mathutils_rna_vector_set_index(), menu_search_exec_fn(), new_material_exec(), blender::ed::space_node::new_node_tree_exec(), new_texture_exec(), new_world_exec(), object_unlink_data_exec(), blender::ed::spreadsheet::GeometryDataSetTreeViewItem::on_activate(), open_exec(), operator_button_property_finish(), operator_button_property_finish_with_undo(), override_idtemplate_clear_exec(), override_idtemplate_make_exec(), override_idtemplate_reset_exec(), pyrna_prop_array_ass_subscript(), pyrna_prop_update(), pyrna_py_to_prop(), pyrna_py_to_prop_array_index(), radial_control_modal(), rna_struct_update_when_changed(), rna_update_cb(), sequencer_change_path_exec(), space_context_cycle_invoke(), space_type_set_or_cycle_exec(), template_id_cb(), template_ID_set_property_exec_fn(), template_search_exec_fn(), text_new_exec(), text_open_exec(), ui_apply_but_funcs_after(), ui_do_but_COLOR(), ui_do_but_HSVCIRCLE(), ui_do_but_HSVCUBE(), ui_layer_but_cb(), ui_list_activate_row_from_index(), ui_selectcontext_apply(), userpref_show_exec(), v3d_object_dimension_buts(), WM_gizmo_target_property_float_set(), and WM_gizmo_target_property_float_set_array().
bool RNA_property_update_check | ( | struct PropertyRNA * | prop | ) |
Definition at line 2132 of file rna_access.c.
References PropertyRNA::magic, PropertyRNA::noteflag, RNA_MAGIC, and PropertyRNA::update.
Referenced by mathutils_rna_matrix_set(), mathutils_rna_vector_set(), mathutils_rna_vector_set_index(), pyrna_prop_array_ass_subscript(), pyrna_py_to_prop(), and pyrna_py_to_prop_array_index().
void RNA_property_update_main | ( | struct Main * | bmain, |
struct Scene * | scene, | ||
PointerRNA * | ptr, | ||
PropertyRNA * | prop | ||
) |
scene | may be NULL. |
Definition at line 2143 of file rna_access.c.
References BLI_assert, NULL, ptr, rna_property_update(), and scene.
Referenced by ANIM_list_elem_update().
int RNA_raw_type_sizeof | ( | RawPropertyType | type | ) |
Definition at line 4315 of file rna_access.c.
References bool, double(), float(), PROP_RAW_BOOLEAN, PROP_RAW_CHAR, PROP_RAW_DOUBLE, PROP_RAW_FLOAT, PROP_RAW_INT, PROP_RAW_SHORT, and type.
Referenced by foreach_parse_args(), and rna_raw_access().
void RNA_string_get | ( | PointerRNA * | ptr, |
const char * | name, | ||
char * | value | ||
) |
Definition at line 5116 of file rna_access.c.
References StructRNA::identifier, ptr, RNA_property_string_get(), RNA_struct_find_property(), and PointerRNA::type.
Referenced by add_driver_with_target(), animchannels_group_exec(), armature_bone_primitive_add_exec(), asset_bundle_install_exec(), bake_init_api_data(), blend_save_check(), cachefile_layer_add_exec(), cachefile_open_exec(), collection_create_exec(), create_orientation_exec(), ED_image_filesel_detect_sequences(), ed_marker_rename_exec(), ed_undo_push_exec(), edit_constraint_property_get(), edit_modifier_property_get(), edit_shaderfx_property_get(), filepath_drop_exec(), fileselect_ensure_updated_file_params(), font_open_exec(), blender::ed::geometry::geometry_attribute_add_exec(), blender::ed::geometry::geometry_color_attribute_add_exec(), blender::ed::geometry::geometry_color_attribute_set_render_exec(), geometry_nodes_input_attribute_toggle_exec(), gpencil_edit_modifier_property_get(), gpencil_layer_mask_add_exec(), gpencil_stroke_change_color_exec(), image_file_browse_exec(), image_replace_exec(), image_save_options_from_op(), image_sequence_get_frame_ranges(), image_unpack_exec(), jump_to_target_ptr(), lib_id_load_custom_preview_exec(), mask_layer_new_exec(), mask_new_exec(), menu_types_add_from_keymap_items(), move_to_collection_exec(), multires_external_save_exec(), blender::ed::space_node::new_node_tree_exec(), blender::nodes::node_composite_image_cc::node_composit_buts_viewlayers(), blender::ed::space_node::node_output_file_add_socket_exec(), object_select_same_collection_exec(), open_exec(), palette_join_exec(), poselib_add_exec(), poselib_rename_exec(), proj_paint_color_attribute_create(), proj_paint_image_create(), rigidbody_world_export_exec(), run_pyfile_exec(), screen_render_single_layer_set(), screenshot_exec(), sequencer_add_movie_multiple_strips(), sequencer_add_sound_multiple_strips(), sequencer_change_path_exec(), sequencer_export_subtitles_exec(), sound_mixdown_exec(), sound_unpack_exec(), strip_modifier_move_exec(), strip_modifier_remove_exec(), text_open_exec(), text_save_as_exec(), texture_paint_image_from_view_exec(), ui_but_user_menu_add(), ui_tooltip_data_from_tool(), unpack_item_exec(), view_layer_add_lightgroup_exec(), wm_call_menu_exec(), wm_call_menu_get_name(), wm_call_panel_exec(), wm_call_panel_get_name(), wm_call_pie_menu_exec(), wm_call_pie_menu_invoke(), wm_lib_relocate_exec_do(), wm_lib_relocate_invoke(), wm_link_append_exec(), wm_open_mainfile__open(), wm_open_mainfile_check(), wm_open_mainfile_description(), WM_operator_drop_load_path(), wm_recover_auto_save_exec(), wm_save_as_mainfile_exec(), wm_save_mainfile_invoke(), and workspace_append_activate_exec().
char* RNA_string_get_alloc | ( | PointerRNA * | ptr, |
const char * | name, | ||
char * | fixedbuf, | ||
int | fixedlen, | ||
int * | r_len | ||
) |
Definition at line 5129 of file rna_access.c.
References StructRNA::identifier, NULL, ptr, RNA_property_string_get_alloc(), RNA_struct_find_property(), and PointerRNA::type.
Referenced by add_attribute_search_button(), asset_catalog_delete_exec(), asset_catalog_new_exec(), console_history_append_exec(), console_insert_exec(), console_scrollback_append_exec(), drop_name_invoke(), file_browse_exec(), find_missing_files_exec(), get_string(), image_sequence_get_frame_ranges(), insert_text_exec(), load_data_init_from_operator(), paste_from_file_exec(), preferences_asset_library_add_exec(), radial_control_get_path(), sequencer_add_image_strip_load_files(), sequencer_change_path_exec(), sequencer_image_seq_get_minmax_frame(), sequencer_image_seq_reserve_frames(), text_insert_exec(), and tile_add_exec().
int RNA_string_length | ( | PointerRNA * | ptr, |
const char * | name | ||
) |
Definition at line 5144 of file rna_access.c.
References StructRNA::identifier, ptr, RNA_property_string_length(), RNA_struct_find_property(), and PointerRNA::type.
Referenced by console_insert_invoke(), gpencil_modifier_masking_panel_draw(), modifier_vgroup_ui(), panel_draw(), text_insert_invoke(), vertex_group_panel_draw(), and weightvg_ui_common().
void RNA_string_set | ( | PointerRNA * | ptr, |
const char * | name, | ||
const char * | value | ||
) |
Definition at line 5155 of file rna_access.c.
References StructRNA::identifier, ptr, RNA_property_string_set(), RNA_struct_find_property(), and PointerRNA::type.
Referenced by add_attribute_search_or_value_buttons(), blend_file_drop_copy(), blend_save_check(), blender::ed::asset_browser::AssetCatalogTreeViewItem::build_context_menu(), blender::ed::asset_browser::AssetCatalogTreeViewItem::build_row(), cachefile_layer_open_invoke(), cachefile_open_invoke(), clip_drop_copy(), clip_filesel(), console_insert_invoke(), constraint_reorder(), doc_view_manual_ui_context_exec(), ed_marker_rename_invoke(), edit_constraint_invoke_properties(), edit_modifier_invoke_properties(), edit_modifier_invoke_properties_with_hover(), edit_shaderfx_invoke_properties(), file_browse_invoke(), file_directory_enter_handle(), file_sfile_to_operator_ex(), filepath_drop_copy(), ghost_event_proc(), gpencil_edit_modifier_invoke_properties(), gpencil_modifier_reorder(), id_drop_copy(), image_drop_copy(), image_file_browse_invoke(), image_filesel(), image_new_invoke(), image_save_as_init(), insert_text_invoke(), lib_relocate(), modifier_reorder(), multires_external_save_invoke(), blender::nodes::node_composite_image_cc::node_composit_buts_viewlayers(), blender::ed::space_node::node_id_path_drop_copy(), blender::ed::space_node::node_render_changed_exec(), open_invoke(), path_drop_copy(), poselib_add_menu_invoke__replacemenu(), poselib_rename_invoke(), recent_files_menu_draw(), rigidbody_world_export_invoke(), screenshot_invoke(), sculpt_detail_size_set_radial_control(), sequencer_change_path_invoke(), sequencer_drop_copy(), sequencer_export_subtitles_invoke(), sequencer_generic_invoke_path__internal(), set_brush_rc_props(), set_filepath_for_asset_lib(), set_string(), shaderfx_reorder(), subdivisions_panel_draw(), template_ID(), template_operator_property_buts_draw_single(), text_drop_copy(), text_drop_paste(), text_insert_invoke(), text_open_invoke(), text_save_as_invoke(), texture_paint_add_texture_paint_slot_invoke(), tile_add_invoke(), ui_but_menu_add_path_operators(), ui_drop_name_copy(), ui_popup_context_menu_for_button(), ui_tooltip_data_from_tool(), uiItemStringO(), uiTemplateRecentFiles(), unpack_menu(), view3d_id_path_drop_copy(), volume_import_invoke(), WM_keymap_add_menu(), WM_keymap_add_menu_pie(), WM_keymap_add_panel(), WM_keymap_add_tool(), wm_lib_relocate_invoke(), wm_link_append_invoke(), WM_menu_name_call(), wm_open_mainfile__select_file_path(), WM_operator_properties_id_lookup_set_from_id(), wm_recover_auto_save_invoke(), WM_toolsystem_ref_set_by_id_ex(), and workspace_append_button().
bool RNA_struct_available_or_report | ( | struct ReportList * | reports, |
const char * | identifier | ||
) |
Use when registering structs with the STRUCT_PUBLIC_NAMESPACE flag.
Definition at line 918 of file rna_access.c.
References StructRNA::base, BKE_report(), BLI_dynstr_append(), BLI_dynstr_appendf(), BLI_dynstr_free(), BLI_dynstr_get_cstring(), BLI_dynstr_new(), StructRNA::identifier, MEM_freeN, NULL, result, RNA_struct_find(), RPT_ERROR, and UNLIKELY.
Definition at line 639 of file rna_access.c.
References type.
Referenced by bpy_class_validate_recursive(), pyrna_srna_PyBase(), and ui_rna_is_userdef().
Use to find the sub-type directly below a base-type.
So if type were RNA_SpotLight
, RNA_struct_base_of(type, &RNA_ID)
would return &RNA_Light
.
Definition at line 644 of file rna_access.c.
Referenced by pyrna_py_to_prop().
bool RNA_struct_bl_idname_ok_or_report | ( | struct ReportList * | reports, |
const char * | identifier, | ||
const char * | sep | ||
) |
Definition at line 948 of file rna_access.c.
References BKE_reportf(), Freestyle::c, ListBase::last, NULL, RPT_ERROR, and RPT_WARNING.
Definition at line 897 of file rna_access.c.
References StructRNA::blender_type.
Definition at line 902 of file rna_access.c.
References StructRNA::blender_type.
Referenced by gizmo_properties_init(), gizmogroup_properties_init(), make_socket_type_virtual(), make_standard_socket_type(), ntree_interface_type_create(), operator_properties_init(), register_node_type_cmp_group(), register_node_type_geo_group(), register_node_type_sh_group(), register_node_type_tex_group(), and RNA_struct_free_extension().
bool RNA_struct_contains_property | ( | PointerRNA * | ptr, |
PropertyRNA * | prop_test | ||
) |
Definition at line 758 of file rna_access.c.
References ptr, RNA_PROP_BEGIN, RNA_PROP_END, RNA_struct_iterator_property(), and PointerRNA::type.
Referenced by ui_but_is_rna_valid(), and UI_but_string_info_get().
unsigned int RNA_struct_count_properties | ( | StructRNA * | srna | ) |
Definition at line 780 of file rna_access.c.
References counter, NULL, RNA_pointer_create(), RNA_STRUCT_BEGIN, RNA_STRUCT_END, and UNUSED_VARS.
Referenced by WM_operatortype_props_advanced_begin().
bool RNA_struct_equals | ( | struct Main * | bmain, |
struct PointerRNA * | ptr_a, | ||
struct PointerRNA * | ptr_b, | ||
eRNACompareMode | mode | ||
) |
Definition at line 277 of file rna_access_compare_override.c.
References PointerRNA::data, NULL, CollectionPropertyIterator::ptr, RNA_property_collection_begin(), RNA_property_collection_end(), RNA_property_collection_next(), RNA_property_equals(), RNA_struct_iterator_property(), PointerRNA::type, and CollectionPropertyIterator::valid.
Referenced by wm_keymap_item_equals_result().
StructRNA* RNA_struct_find | ( | const char * | identifier | ) |
Definition at line 581 of file rna_access.c.
References BLENDER_RNA, BLI_ghash_lookup(), and BlenderRNA::structs_map.
Referenced by make_socket_type_virtual(), make_standard_socket_type(), ntree_interface_unique_identifier_check(), register_node_type_cmp_group(), register_node_type_geo_group(), register_node_type_sh_group(), register_node_type_tex_group(), and RNA_struct_available_or_report().
FunctionRNA* RNA_struct_find_function | ( | StructRNA * | srna, |
const char * | identifier | ||
) |
Definition at line 817 of file rna_access.c.
References StructRNA::base, BLI_findstring_ptr(), StructRNA::functions, NULL, RNA_function_identifier(), RNA_pointer_create(), RNA_PROP_BEGIN, RNA_PROP_END, RNA_struct_find_property(), and STREQ.
Referenced by pyrna_prop_collection_getattro(), pyrna_struct_getattro(), RNA_function_call_direct_lookup(), RNA_function_call_direct_va_lookup(), and RNA_function_call_lookup().
PropertyRNA* RNA_struct_find_property | ( | PointerRNA * | ptr, |
const char * | identifier | ||
) |
Definition at line 717 of file rna_access.c.
References PointerRNA::data, NULL, ptr, RNA_path_resolve_property(), RNA_property_collection_lookup_string(), RNA_struct_iterator_property(), and PointerRNA::type.
Referenced by acf_fcurve_name_prop(), actedit_change_action(), add_driver_button_menu_invoke(), add_primitive_cube_gizmo_exec(), ANIM_channel_draw_widgets(), area_split_invoke(), area_split_modal(), asset_view_template_refresh_asset_collection(), autokeyframe_sequencer_image(), average_tracks_invoke(), bake_init_api_data(), bake_set_props(), BKE_keyblock_curval_rnapath_get(), blend_to_default_invoke(), blend_to_neighbor_invoke(), blur_panel_draw(), bookmark_delete_exec(), bookmark_select_exec(), BPY_rna_types(), breakdown_invoke(), brush_select_exec(), button2d_draw_intern(), buttons_texture_modifier_foreach(), buttons_texture_modifier_geonodes_users_add(), buttons_texture_modifier_gpencil_foreach(), buttons_texture_users_from_context(), UnitConverter::calculate_scale(), collection_add_info_get_from_op(), collection_isolate_invoke(), context_cycle_prop_get(), cube_project_exec(), curve_draw_exec_precalc(), CurveProfile_buttons_layout(), data_transfer_check(), data_transfer_poll_property(), decimate_invoke(), depthdropper_init(), dt_layers_select_dst_itemf(), dt_layers_select_src_itemf(), ED_animedit_unlink_action(), ed_marker_move_invoke(), ED_object_add_generic_get_opts(), ED_view3d_gizmo_mesh_preselect_clear(), ED_view3d_gizmo_mesh_preselect_get_active(), edbm_bevel_update_status_text(), edbm_dissolve_mode_exec(), edbm_extrude_repeat_exec(), edbm_fill_grid_exec(), edbm_point_normals_modal(), edbm_screw_invoke(), edbm_select_similar_exec(), edbm_sort_elements_exec(), edbm_spin_invoke(), edbm_tris_convert_to_quads_exec(), DocumentExporter::exportCurrentScene(), file_browse_exec(), file_browse_invoke(), file_directory_new_exec(), file_main_region_message_subscribe(), file_operator_to_sfile(), file_panel_operator(), file_select_use_default_display_type(), file_select_use_default_sort_type(), file_sfile_to_operator_ex(), fileselect_ensure_updated_file_params(), DocumentImporter::finish(), followpath_path_animate_exec(), foreach_attr_type(), generator_panel_draw(), gesture_modal_end(), gesture_modal_state_from_operator(), gesture_modal_state_to_operator(), get_enum_identifier(), gizmo2d_resize_setup(), gizmo2d_rotate_setup(), gizmo2d_xform_invoke_prepare(), gizmo2d_xform_setup(), gizmo_dial_exit(), GIZMO_GT_snap_3d(), gizmo_mesh_bisect_setup(), gizmo_mesh_extrude_setup(), gizmo_mesh_placement_setup(), gizmo_mesh_spin_init_setup(), gizmo_refresh_from_matrix(), gizmo_spin_exec(), gizmogroup_init_properties_from_twtype(), gpencil_bake_grease_pencil_animation_invoke(), gpencil_convert_layer_exec(), gpencil_move_to_layer_invoke(), gpencil_stroke_path_animation(), id_data_find_fcurve(), image_file_browse_exec(), image_new_exec(), image_open_invoke(), image_sample_apply(), image_save_as_init(), image_save_options_from_op(), image_scale_exec(), image_scale_invoke(), initSnapping(), initTransform(), initTransInfo(), insert_key_menu_invoke(), intersection_panel_draw(), load_data_init_from_operator(), material_mask_panel_draw(), menu_items_from_ui_create(), mesh_bisect_exec(), modifier_apply_invoke(), move_to_collection_exec(), move_to_collection_invoke(), blender::ed::space_node::new_node_tree_exec(), blender::nodes::node_composite_output_file_cc::node_composit_buts_file_output_ex(), blender::nodes::node_composite_image_cc::node_composit_buts_viewlayers(), blender::ed::space_node::node_file_output_socket_draw(), object_add_named_exec(), object_data_instance_add_exec(), object_hide_collection_invoke(), object_mode_set_exec(), object_origin_set_exec(), object_transform_apply_invoke(), object_transform_to_mouse_exec(), object_warp_verts_exec(), blender::ed::spreadsheet::GeometryDataSetTreeViewItem::on_activate(), open_exec(), operator_properties_init(), outliner_id_remap_invoke(), blender::ed::sculpt_paint::image::ops::paint::paint_exec(), paint_stroke_exec(), panel_custom_data_active_set(), panel_draw(), path_select_params_from_op(), pose_groups_menu_invoke(), pose_slide_apply_props(), poselib_blend_init_data(), poselib_move_exec(), poselib_remove_exec(), py_msgbus_rna_key_from_py(), pyrna_alloc_types(), pyrna_dir_members_rna(), pyrna_free_types(), pyrna_prop_collection_getattro(), pyrna_prop_collection_setattro(), pyrna_pydict_to_props(), pyrna_rotation_euler_order_get(), pyrna_struct_anim_args_parse_ex(), pyrna_struct_getattro(), pyrna_struct_is_property_hidden(), pyrna_struct_is_property_overridable_library(), pyrna_struct_is_property_readonly(), pyrna_struct_is_property_set(), pyrna_struct_keyframe_delete(), pyrna_struct_keyframe_insert(), pyrna_struct_path_from_id(), pyrna_struct_property_overridable_library_set(), pyrna_struct_property_unset(), pyrna_struct_setattro(), pyrna_unregister_class(), region_toggle_exec(), RNA_boolean_get(), RNA_boolean_get_array(), RNA_boolean_set(), RNA_boolean_set_array(), RNA_collection_add(), RNA_collection_begin(), RNA_collection_clear(), RNA_collection_is_empty(), RNA_collection_length(), RNA_enum_get(), RNA_enum_is_equal(), RNA_enum_set(), RNA_enum_set_identifier(), RNA_float_get(), RNA_float_get_array(), RNA_float_set(), RNA_float_set_array(), RNA_function_as_string_keywords(), rna_idp_path(), RNA_int_get(), RNA_int_get_array(), RNA_int_set(), RNA_int_set_array(), rna_path_parse(), RNA_path_struct_property_py(), RNA_pointer_add(), RNA_pointer_get(), RNA_pointer_set(), rna_raw_access(), RNA_string_get(), RNA_string_get_alloc(), RNA_string_length(), RNA_string_set(), RNA_struct_find_function(), RNA_struct_property_is_set(), RNA_struct_property_is_set_ex(), RNA_struct_property_unset(), save_set_compress(), save_set_filepath(), saveTransform(), screen_user_menu_draw(), select_linked_delimit_default_from_op(), sequencer_add_image_strip_calculate_length(), sequencer_add_image_strip_invoke(), sequencer_add_movie_strip_exec(), sequencer_add_movie_strip_invoke(), sequencer_add_sound_strip_exec(), sequencer_change_path_exec(), sequencer_disable_one_time_properties(), sequencer_drop_copy(), sequencer_generic_invoke_path__internal(), singleuser_action_fn(), singleuser_world_fn(), space_type_set_or_cycle_exec(), stitch_exit(), template_ID(), template_search_get_searchprop(), template_search_setup(), transform_mode_init(), transform_poll_property(), transformops_loopsel_hack(), ui_but_event_property_operator_string(), ui_def_but_rna_propname(), ui_do_but_COLOR(), ui_pie_menu_level_invoke(), ui_template_id(), ui_template_list_data_retrieve(), ui_tooltip_data_from_tool(), uiItemDecoratorR(), uiItemEnumO_ptr(), uiItemEnumO_string(), uiItemEnumO_value(), uiItemEnumR(), uiItemEnumR_string(), uiItemMenuEnumR(), uiItemPointerR(), uiItemR(), uiItemsEnumR(), uiItemsFullEnumO(), uilist_filter_items_default(), uilist_item_use_dynamic_tooltip(), uiTemplateAnyID(), uiTemplateAssetView(), uiTemplateCacheFilePointer(), uiTemplateColormanagedViewSettings(), uiTemplateColorPicker(), uiTemplateColorRamp(), uiTemplateColorspaceSettings(), uiTemplateComponentMenu(), uiTemplateCryptoPicker(), uiTemplateCurveMapping(), uiTemplateCurveProfile(), uiTemplateHistogram(), uiTemplateIconView(), uiTemplateImage(), uiTemplateImageFormatViews(), uiTemplateImageViews(), uiTemplateLayers(), uiTemplateMarker(), uiTemplateMovieClip(), uiTemplateMovieclipInformation(), uiTemplatePalette(), uiTemplatePathBuilder(), uiTemplateTrack(), uiTemplateVectorscope(), uiTemplateWaveform(), undo_history_exec(), undo_history_invoke(), userpref_show_exec(), uv_from_view_invoke(), uv_map_clip_correct_multi(), uv_map_transform(), uv_select_similar_exec(), v3d_object_dimension_buts(), view3d_cursor3d_invoke(), view3d_interactive_add_begin(), view_scrolldown_exec(), view_scrollup_exec(), vieworbit_exec(), WIDGETGROUP_camera_refresh(), WIDGETGROUP_gizmo_invoke_prepare(), WIDGETGROUP_navigate_setup(), blender::ed::space_node::WIDGETGROUP_node_crop_refresh(), WIDGETGROUP_ruler_setup(), WIDGETGROUP_xform_cage_refresh(), WIDGETGROUP_xform_cage_setup(), WM_generic_select_modal(), WM_gesture_lasso_invoke(), WM_gesture_lasso_path_to_array(), WM_gesture_lines_invoke(), WM_gesture_straightline_invoke(), WM_gizmo_target_property_def_rna(), wm_homefile_read_exec(), wm_lib_relocate_exec_do(), wm_link_append_exec(), wm_link_append_flag(), wm_open_init_load_ui(), wm_open_init_use_scripts(), wm_open_mainfile_check(), WM_operator_filesel_ensure_ext_imtype(), WM_operator_properties_id_lookup_from_name_or_session_uuid(), WM_operator_properties_id_lookup_set_from_id(), WM_operator_properties_select_random_seed_increment_get(), wm_save_as_mainfile_invoke(), wm_save_mainfile_invoke(), wm_stereo3d_set_properties(), and wm_xr_navigation_fly_modal().
const char* RNA_struct_identifier | ( | const StructRNA * | type | ) |
Definition at line 586 of file rna_access.c.
References type.
Referenced by bpy_class_call(), bpy_class_validate_recursive(), bpy_prop_arg_parse_id(), bpy_prop_arg_parse_tag_defines(), bpy_types_module_dir(), CTX_data_pointer_get_type(), ctx_wm_python_context_get(), deferred_register_prop(), DEG_get_evaluated_rna_pointer(), foreach_parse_args(), mathutils_rna_matrix_set(), mathutils_rna_vector_set(), mathutils_rna_vector_set_index(), ntreeInterfaceTypeGet(), py_msgbus_rna_key_from_py(), py_to_array_index(), PYOP_wrap_macro_define(), pyrna_callback_classmethod_add(), pyrna_callback_classmethod_remove(), pyrna_enum_to_py(), pyrna_func_call(), pyrna_func_doc_get(), pyrna_func_error_prefix(), pyrna_func_repr(), pyrna_prop_array_ass_subscript(), pyrna_prop_as_bytes(), pyrna_prop_collection_subscript_str_lib_pair_ptr(), pyrna_prop_collection_type_check(), pyrna_prop_path_from_id(), pyrna_prop_str(), pyrna_prop_to_enum_bitfield(), pyrna_py_to_prop(), pyrna_register_class(), pyrna_srna_ExternalType(), pyrna_srna_Subtype(), pyrna_struct_anim_args_parse_no_resolve(), pyrna_struct_as_ptr(), pyrna_struct_bl_rna_find_subclass_recursive(), pyrna_struct_bl_rna_get_subclass(), pyrna_struct_CreatePyObject(), pyrna_struct_is_property_hidden(), pyrna_struct_is_property_overridable_library(), pyrna_struct_is_property_readonly(), pyrna_struct_is_property_set(), pyrna_struct_path_from_id(), pyrna_struct_path_resolve(), pyrna_struct_property_overridable_library_set(), pyrna_struct_property_unset(), pyrna_struct_repr(), pyrna_struct_setattro(), pyrna_struct_str(), pyrna_unregister_class(), RNA_function_call_direct_va(), rna_function_parameter_parse(), rna_id_write_error(), template_search_get_searchprop(), template_search_setup(), ui_but_anim_decorate_update_from_flag(), UI_but_online_manual_id(), UI_but_string_info_get(), ui_item_with_label(), ui_layout_introspect_button(), ui_pie_menu_level_invoke(), ui_template_id(), ui_template_list_data_retrieve(), uiItemDecoratorR(), uiItemEnumO_ptr(), uiItemEnumO_string(), uiItemEnumO_value(), uiItemEnumR(), uiItemEnumR_prop(), uiItemEnumR_string(), uiItemEnumR_string_prop(), uiItemFullR_with_menu(), uiItemFullR_with_popover(), uiItemMenuEnumR(), uiItemPointerR(), uiItemPointerR_prop(), uiItemR(), uiItemsEnumR(), uiItemsFullEnumO(), uiItemsFullEnumO_items(), uiTemplateAnyID(), uiTemplateCacheFilePointer(), uiTemplateColormanagedViewSettings(), uiTemplateColorPicker(), uiTemplateColorspaceSettings(), uiTemplateCryptoPicker(), uiTemplateCurveMapping(), uiTemplateCurveProfile(), uiTemplateIconView(), uiTemplateImage(), uiTemplateLayers(), uiTemplateMarker(), uiTemplateMovieClip(), uiTemplateMovieclipInformation(), uiTemplatePalette(), uiTemplatePathBuilder(), uiTemplateTrack(), validate_array(), validate_array_length(), WM_gizmo_target_property_def_rna(), WM_msg_publish_rna_params(), wm_msg_rna_repr(), and WM_msg_subscribe_rna_params().
struct IDProperty* RNA_struct_idprops | ( | PointerRNA * | ptr, |
bool | create | ||
) |
Definition at line 251 of file rna_access.c.
References blender::bke::idprop::create(), IDP_GROUP, IDP_New(), NULL, ptr, and RNA_struct_idprops_p().
Referenced by pyrna_struct_ass_subscript(), pyrna_struct_contains(), pyrna_struct_get(), pyrna_struct_id_properties_ensure(), pyrna_struct_id_properties_ui(), pyrna_struct_items(), pyrna_struct_keys(), pyrna_struct_pop(), pyrna_struct_subscript(), pyrna_struct_values(), rna_idproperty_find(), rna_idproperty_free(), RNA_path_from_struct_to_idproperty(), rna_path_parse(), RNA_property_boolean_set(), RNA_property_boolean_set_array(), RNA_property_collection_add(), RNA_property_copy(), RNA_property_enum_set(), RNA_property_float_set(), RNA_property_float_set_array(), RNA_property_int_set(), RNA_property_int_set_array(), RNA_property_pointer_add(), RNA_property_pointer_remove(), RNA_property_pointer_set(), rna_property_rna_or_id_get(), RNA_property_string_set(), RNA_property_string_set_bytes(), and RNA_struct_idprops_unset().
Definition at line 266 of file rna_access.c.
References StructRNA::idproperties.
Referenced by pyrna_srna_Subtype(), pyrna_struct_contains(), pyrna_struct_get(), pyrna_struct_getattro(), pyrna_struct_id_properties_clear(), pyrna_struct_id_properties_ensure(), pyrna_struct_id_properties_ui(), pyrna_struct_items(), pyrna_struct_keys(), pyrna_struct_pop(), pyrna_struct_subscript(), pyrna_struct_values(), and RNA_pointer_as_string_keywords_ex().
Whether given type implies datablock usage by IDProperties. This is used to prevent classes allowed to have IDProperties, but not datablock ones, to indirectly use some (e.g. by assigning an IDP_GROUP containing some IDP_ID pointers...).
Definition at line 675 of file rna_access.c.
References STRUCT_CONTAINS_DATABLOCK_IDPROPERTIES, STRUCT_ID, and type.
Referenced by BPy_CollectionProperty(), BPy_PointerProperty(), deferred_register_prop(), and pyrna_struct_ass_subscript().
Definition at line 670 of file rna_access.c.
References STRUCT_NO_DATABLOCK_IDPROPERTIES, STRUCT_NO_IDPROPERTIES, and type.
Referenced by deferred_register_prop(), and pyrna_struct_ass_subscript().
struct IDProperty** RNA_struct_idprops_p | ( | PointerRNA * | ptr | ) |
Definition at line 238 of file rna_access.c.
References NULL, ptr, type, and PointerRNA::type.
Referenced by pyrna_struct_id_properties_clear(), and RNA_struct_idprops().
Definition at line 665 of file rna_access.c.
References STRUCT_NO_IDPROPERTIES, and type.
Referenced by pyrna_deferred_register_class().
bool RNA_struct_idprops_unset | ( | PointerRNA * | ptr, |
const char * | identifier | ||
) |
Remove an id-property.
Definition at line 680 of file rna_access.c.
References IDP_FreeFromGroup(), IDP_GetPropertyFromGroup(), ptr, and RNA_struct_idprops().
Referenced by ED_operatormacros_clip(), view_align_update(), WM_gizmo_properties_reset(), and WM_operator_properties_reset().
void** RNA_struct_instance | ( | PointerRNA * | ptr | ) |
Definition at line 874 of file rna_access.c.
References NULL, ptr, type, and PointerRNA::type.
Referenced by bpy_class_call(), pyrna_struct_as_instance(), and pyrna_struct_CreatePyObject().
Definition at line 695 of file rna_access.c.
References StructRNA::base, and type.
Referenced by asset_view_draw_item(), asset_view_template_refresh_asset_collection(), bpy_class_call(), BPy_CollectionProperty(), BPy_PointerProperty(), blender::deg::DepsgraphNodeBuilder::build_driver_id_property(), blender::deg::DepsgraphRelationBuilder::build_driver_id_property(), buttons_context_compute(), buttons_context_path_brush(), buttons_context_path_collection(), buttons_context_path_data(), buttons_context_path_linestyle(), buttons_context_path_material(), buttons_context_path_object(), buttons_context_path_particle(), buttons_context_path_pose_bone(), buttons_context_path_scene(), buttons_context_path_texture(), buttons_context_path_view_layer(), buttons_context_path_world(), buttons_texture_context_compute(), buttons_texture_modifier_geonodes_users_add(), blender::deg::RNANodeQuery::construct_node_identifier(), CTX_data_pointer_get_type(), CTX_data_pointer_get_type_silent(), CTX_store_ptr_lookup(), ctx_wm_python_context_get(), edit_constraint_invoke_properties(), edit_modifier_invoke_properties_with_hover(), edit_shaderfx_invoke_properties(), Freestyle_evaluateColorRamp(), Freestyle_evaluateCurveMappingF(), get_pointer_type(), getname_anim_fcurve(), gpencil_edit_modifier_invoke_properties(), gpencil_modifier_panel_get_property_pointers(), jump_to_target_ptr(), modifier_panel_get_property_pointers(), new_material_exec(), blender::ed::space_node::node_socket_color_get(), nodeIsStaticSocketType(), py_rna_gizmo_parse(), pyrna_callback_classmethod_add(), pyrna_callback_classmethod_remove(), pyrna_prop_collection_type_check(), pyrna_py_to_prop(), pyrna_struct_as_ptr(), rna_function_parameter_parse(), RNA_path_from_ID_to_struct(), RNA_path_resolve_from_type_to_property(), blender::deg::rna_prop_affects_parameters_node(), RNA_property_overridable_get(), RNA_property_pointer_set(), RNA_struct_override_apply(), set_pointer_type(), shaderfx_panel_get_property_pointers(), template_keymap_item_properties(), template_texture_select(), ui_but_event_property_operator_string(), UI_context_copy_to_selected_check(), UI_context_copy_to_selected_list(), UI_icon_from_rnaptr(), ui_item_with_label(), uilist_filter_items_default(), uiTemplateColorRamp(), uiTemplateConstraintHeader(), uiTemplateCurveMapping(), uiTemplateCurveProfile(), uiTemplateHistogram(), uiTemplatePalette(), uiTemplateVectorscope(), uiTemplateWaveform(), WM_gizmo_properties_sanitize(), and WM_operator_properties_sanitize().
Definition at line 655 of file rna_access.c.
References STRUCT_ID, and type.
Referenced by asset_operation_get_id_vec_stats_from_context(), BKE_lib_override_rna_property_find(), BPy_PointerProperty(), data_select_linked_fn(), blender::ed::outliner::iterate_properties_to_display(), lib_id_fake_user_toggle_exec(), lib_id_preview_editing_poll(), lib_id_unlink_exec(), lib_override_library_id_reset_do(), AssetMarkHelper::operator()(), AssetClearHelper::operator()(), outliner_draw_tree_element(), pyrna_id_CheckPyObject(), pyrna_param_to_py(), pyrna_struct_anim_args_parse_ex(), pyrna_struct_anim_args_parse_no_resolve(), pyrna_struct_repr(), radial_control_get_properties(), RNA_path_from_ID_to_property_index(), RNA_path_from_ID_to_struct(), RNA_path_struct_property_py(), rna_pointer_as_string__bldata(), RNA_pointer_recast(), RNA_property_pointer_get(), rna_property_update(), RNA_struct_override_apply(), template_add_button_search_menu(), tree_element_get_icon(), tree_element_to_path(), ui_def_but_rna(), UI_icon_from_rnaptr(), ui_rna_collection_search_update_fn(), uiItemLDrag(), and WM_context_path_resolve_property_full().
PropertyRNA* RNA_struct_iterator_property | ( | StructRNA * | type | ) |
Definition at line 634 of file rna_access.c.
References type.
Referenced by CTX_data_dir_get_ex(), blender::ed::outliner::TreeElementRNAStruct::expand(), operator_last_properties_init_impl(), pyrna_dir_members_rna(), RNA_function_as_string_keywords(), RNA_pointer_as_string_keywords(), RNA_struct_contains_property(), RNA_struct_equals(), RNA_struct_find_property(), RNA_struct_override_matches(), rna_struct_update_when_changed(), blender::ed::outliner::TreeElementRNAProperty::TreeElementRNAProperty(), WM_gizmo_properties_reset(), and WM_operator_properties_reset().
char* RNA_struct_name_get_alloc | ( | PointerRNA * | ptr, |
char * | fixedbuf, | ||
int | fixedlen, | ||
int * | r_len | ||
) |
Definition at line 907 of file rna_access.c.
References PointerRNA::data, NULL, ptr, RNA_property_string_get_alloc(), RNA_struct_name_property(), and PointerRNA::type.
Referenced by buttons_panel_context_draw(), blender::ui::context_path_add_generic(), CTX_data_dir_get_ex(), pyrna_dir_members_rna(), pyrna_enum_to_py(), pyrna_prop_collection_find(), pyrna_prop_collection_items(), pyrna_prop_collection_keys(), pyrna_prop_str(), pyrna_struct_str(), tree_element_to_path(), blender::ed::outliner::TreeElementOverridesPropertyOperation::TreeElementOverridesPropertyOperation(), blender::ed::outliner::TreeElementRNAStruct::TreeElementRNAStruct(), ui_but_string_get_dynamic(), ui_but_string_get_ex(), ui_rna_collection_search_update_fn(), and uilist_filter_items_default().
PropertyRNA* RNA_struct_name_property | ( | const StructRNA * | type | ) |
Definition at line 624 of file rna_access.c.
References type.
Referenced by acf_generic_idblock_name_prop(), acf_generic_idfill_name_prop(), acf_gpl_name_prop(), acf_group_name_prop(), acf_masklay_name_prop(), acf_nlaaction_name_prop(), acf_nlatrack_name_prop(), acf_object_name_prop(), acf_shapekey_name_prop(), draw_channel_labels(), getname_anim_fcurve(), pyrna_prop_collection_subscript_str(), RNA_struct_name_get_alloc(), template_search_add_button_name(), ui_but_string_set(), and uilist_draw_item_default().
void RNA_struct_override_apply | ( | struct Main * | bmain, |
struct PointerRNA * | ptr_dst, | ||
struct PointerRNA * | ptr_src, | ||
struct PointerRNA * | ptr_storage, | ||
struct IDOverrideLibrary * | override, | ||
eRNAOverrideApplyFlag | flag | ||
) |
Apply given override operations on ptr_dst, using ptr_src (and ptr_storage for differential ops) as source.
Definition at line 1196 of file rna_access_compare_override.c.
References BKE_idtype_get_info_from_id(), BLI_assert, CLOG_INFO, PointerRNA::data, IDOVERRIDE_LIBRARY_FLAG_IDPOINTER_MATCH_REFERENCE, IDTypeInfo::lib_override_apply_post, LIB_TAG_LIB_OVERRIDE_NEED_RESYNC, LISTBASE_FOREACH, LOG, ID::name, NULL, override, PointerRNA::owner_id, PROP_COLLECTION, PROP_POINTER, RNA_OVERRIDE_APPLY_FLAG_IGNORE_ID_POINTERS, RNA_path_resolve_property(), RNA_path_resolve_property_and_item_pointer(), rna_porperty_override_collection_subitem_lookup(), rna_property_override_apply_ex(), rna_property_override_check_resync(), rna_property_override_property_real_id_owner(), RNA_property_pointer_get(), RNA_property_pointer_type(), RNA_struct_is_a(), RNA_struct_is_ID(), ID::tag, TIMEIT_END_AVERAGED, TIMEIT_START_AVERAGED, and PointerRNA::type.
Referenced by BKE_lib_override_library_update(), and lib_override_library_resync().
bool RNA_struct_override_matches | ( | struct Main * | bmain, |
struct PointerRNA * | ptr_local, | ||
struct PointerRNA * | ptr_reference, | ||
const char * | root_path, | ||
size_t | root_path_len, | ||
struct IDOverrideLibrary * | override, | ||
eRNAOverrideMatch | flags, | ||
eRNAOverrideMatchResult * | r_report_flags | ||
) |
Check whether reference and local overridden data match (are the same), with respect to given restrictive sets of properties. If requested, will generate needed new property overrides, and/or restore values from reference.
r_report_flags | If given, will be set with flags matching actions taken by the function on ptr_local. |
Definition at line 626 of file rna_access_compare_override.c.
References BKE_lib_override_library_operations_tag(), BKE_lib_override_library_property_find(), BKE_pose_ensure(), BLI_assert, BLI_assert_msg, CLOG_INFO, Object::data, PointerRNA::data, KDL::diff(), ELEM, ListBase::first, float(), GS, ID_OB, PropertyRNAOrID::identifier, IDOVERRIDE_LIBRARY_OP_NOOP, IDOVERRIDE_LIBRARY_OP_REPLACE, IDOVERRIDE_LIBRARY_TAG_UNUSED, PropertyRNAOrID::idprop, if(), PropertyRNAOrID::is_idprop, LOG, MEM_freeN, MEM_mallocN, ID::name, NULL, OB_ARMATURE, IDOverrideLibraryPropertyOperation::operation, IDOverrideLibraryProperty::operations, ID::override_library, PointerRNA::owner_id, PIL_check_seconds_timer(), PROPOVERRIDE_IGNORE, PropertyRNAOrID::ptr, CollectionPropertyIterator::ptr, IDOverrideLibrary::reference, RNA_EQ_STRICT, RNA_OVERRIDE_COMPARE_CREATE, RNA_OVERRIDE_COMPARE_IGNORE_NON_OVERRIDABLE, RNA_OVERRIDE_COMPARE_IGNORE_OVERRIDDEN, RNA_OVERRIDE_COMPARE_RESTORE, RNA_OVERRIDE_MATCH_RESULT_CREATED, RNA_OVERRIDE_MATCH_RESULT_RESTORED, RNA_PATH_BUFFSIZE, RNA_path_from_ID_to_property(), RNA_property_animated(), RNA_property_collection_begin(), RNA_property_collection_end(), RNA_property_collection_next(), RNA_property_editable(), RNA_property_overridable_get(), rna_property_override_diff(), RNA_property_override_flag(), rna_property_override_operation_apply(), rna_property_rna_or_id_get(), RNA_struct_iterator_property(), PropertyRNAOrID::rnaprop, Object::type, PointerRNA::type, and CollectionPropertyIterator::valid.
Referenced by BKE_lib_override_library_operations_create(), BKE_lib_override_library_status_check_local(), and BKE_lib_override_library_status_check_reference().
bool RNA_struct_override_store | ( | struct Main * | bmain, |
struct PointerRNA * | ptr_local, | ||
struct PointerRNA * | ptr_reference, | ||
PointerRNA * | ptr_storage, | ||
struct IDOverrideLibrary * | override | ||
) |
Store needed second operands into storage data-block for differential override operations.
Definition at line 909 of file rna_access_compare_override.c.
References LISTBASE_FOREACH, NULL, override, PointerRNA::owner_id, RNA_path_resolve_property(), rna_property_override_operation_store(), TIMEIT_END_AVERAGED, and TIMEIT_START_AVERAGED.
Referenced by BKE_lib_override_library_operations_store_start().
bool RNA_struct_property_is_set | ( | PointerRNA * | ptr, |
const char * | identifier | ||
) |
Definition at line 5301 of file rna_access.c.
References ptr, RNA_property_is_set(), and RNA_struct_find_property().
Referenced by add_marker_invoke(), add_vertex_invoke(), apply_solution_scale_invoke(), cachefile_layer_add_exec(), cachefile_layer_open_invoke(), cachefile_open_exec(), cachefile_open_invoke(), clean_tracks_invoke(), curve_draw_invoke(), ED_image_filesel_detect_sequences(), ED_object_add_generic_get_opts(), edbm_select_linked_pick_invoke(), edbm_select_mode_get_description(), edbm_select_mode_invoke(), edbm_shortest_path_pick_invoke(), edit_constraint_invoke_properties(), edit_modifier_invoke_properties(), edit_modifier_invoke_properties_with_hover(), edit_shaderfx_invoke_properties(), file_browse_exec(), gpencil_edit_modifier_invoke_properties(), gpencil_select_invoke(), image_open_invoke(), image_replace_invoke(), image_save_as_init(), image_save_as_invoke(), image_save_options_from_op(), image_unpack_exec(), image_unpack_invoke(), insert_text_exec(), insert_text_invoke(), mesh_bisect_invoke(), multires_external_save_invoke(), blender::ed::space_node::new_node_tree_exec(), blender::ed::space_node::node_add_file_exec(), blender::ed::space_node::node_add_file_invoke(), object_add_drop_xy_is_set(), object_clear_paths_invoke(), open_invoke(), pack_islands_exec(), paintcurve_add_point_exec(), paintcurve_select_point_exec(), paste_from_file_invoke(), pose_clear_paths_invoke(), preferences_asset_library_add_invoke(), rigidbody_world_export_invoke(), screen_animation_play_exec(), screen_render_invoke(), screen_render_single_layer_set(), screenshot_invoke(), sequencer_add_effect_strip_exec(), sequencer_add_effect_strip_invoke(), sequencer_add_image_strip_invoke(), sequencer_add_mask_strip_invoke(), sequencer_add_movie_strip_invoke(), sequencer_add_movieclip_strip_invoke(), sequencer_add_scene_strip_invoke(), sequencer_add_sound_strip_invoke(), sequencer_change_scene_invoke(), sequencer_export_subtitles_exec(), sequencer_export_subtitles_invoke(), sequencer_generic_invoke_xy__internal(), set_scale_invoke(), set_solution_scale_invoke(), sound_mixdown_invoke(), sound_open_invoke(), sound_unpack_exec(), sound_unpack_invoke(), stitch_init_all(), text_open_invoke(), text_save_as_invoke(), text_scroll_bar_invoke(), text_scroll_invoke(), transform_invoke(), unwrap_exec(), uv_mark_seam_invoke(), uv_shortest_path_pick_invoke(), view_layer_add_lightgroup_exec(), viewdolly_invoke(), viewroll_invoke(), viewzoom_exec(), viewzoom_invoke(), volume_import_invoke(), wm_link_append_invoke(), wm_open_mainfile_description(), WM_operator_drop_load_path(), WM_operator_filesel(), WM_operator_properties_id_lookup_is_set(), wm_save_as_mainfile_exec(), and workspace_append_activate_exec().
bool RNA_struct_property_is_set_ex | ( | PointerRNA * | ptr, |
const char * | identifier, | ||
bool | use_ghost | ||
) |
See RNA_property_is_set_ex documentation.
Definition at line 5289 of file rna_access.c.
References ptr, RNA_property_is_set_ex(), and RNA_struct_find_property().
Referenced by fileselect_ensure_updated_file_params().
const EnumPropertyItem* RNA_struct_property_tag_defines | ( | const StructRNA * | type | ) |
Definition at line 629 of file rna_access.c.
References type.
Referenced by bpy_prop_arg_parse_tag_defines().
void RNA_struct_property_unset | ( | PointerRNA * | ptr, |
const char * | identifier | ||
) |
Definition at line 5313 of file rna_access.c.
References ptr, RNA_property_unset(), and RNA_struct_find_property().
Referenced by blender::ed::space_node::node_id_path_drop_copy(), sequencer_drop_copy(), and view3d_id_path_drop_copy().
Definition at line 887 of file rna_access.c.
References StructRNA::py_type.
Referenced by bpy_class_call(), bpy_class_validate_recursive(), pyrna_free_types(), pyrna_register_class(), pyrna_srna_Subtype(), pyrna_subtype_set_rna(), and RNA_struct_free().
Definition at line 892 of file rna_access.c.
References StructRNA::py_type.
Referenced by pyrna_free_types(), pyrna_register_class(), pyrna_subtype_set_rna(), and RNA_struct_free_extension().
StructRegisterFunc RNA_struct_register | ( | StructRNA * | type | ) |
const char* RNA_struct_state_owner_get | ( | void | ) |
Definition at line 6816 of file rna_access.c.
References NULL, and rna_struct_state_owner.
Referenced by pyrna_bl_owner_id_get(), and wm_keymap_new().
void RNA_struct_state_owner_set | ( | const char * | name | ) |
Definition at line 6806 of file rna_access.c.
References BLI_strncpy(), and rna_struct_state_owner.
Referenced by pyrna_bl_owner_id_set().
const char* RNA_struct_translation_context | ( | const StructRNA * | type | ) |
Definition at line 619 of file rna_access.c.
References type.
Referenced by BPY_RNA_gizmo_wrapper(), BPY_RNA_gizmogroup_wrapper(), BPY_RNA_operator_macro_wrapper(), BPY_RNA_operator_wrapper(), UI_but_string_info_get(), and WM_operatortype_append_macro().
PropertyRNA* RNA_struct_type_find_property | ( | StructRNA * | srna, |
const char * | identifier | ||
) |
Definition at line 806 of file rna_access.c.
References StructRNA::base, NULL, and RNA_struct_type_find_property_no_base().
Referenced by acf_nla_curve_name(), blender::deg::AnimatedPropertyID::AnimatedPropertyID(), BKE_nlastrip_has_curves_for_property(), clip_draw_dopesheet_channels(), collection_isolate_exec(), draw_channel_widget_lock(), draw_channel_widget_mute(), gizmo_mesh_extrude_setup(), gizmo_mesh_spin_init_setup(), gizmo_mesh_spin_redo_setup(), blender::ed::space_node::node_socket_template_properties_update(), OBJECT_OT_camera_add(), outliner_collection_set_flag_recursive_fn(), outliner_draw_restrictbuts(), outliner_idcode_to_plural(), outliner_object_set_flag_recursive_fn(), UI_but_operatortype_get_from_enum_menu(), and UI_context_copy_to_selected_list().
PropertyRNA* RNA_struct_type_find_property_no_base | ( | StructRNA * | srna, |
const char * | identifier | ||
) |
Definition at line 801 of file rna_access.c.
References BLI_findstring_ptr(), StructRNA::cont, and ContainerRNA::properties.
Referenced by pyrna_struct_meta_idprop_setattro(), and RNA_struct_type_find_property().
Definition at line 853 of file rna_access.c.
References StructRNA::functions.
Referenced by bpy_class_validate_recursive(), and pyrna_subtype_set_rna().
Low level direct access to type->properties, note this ignores parent classes so should be used with care.
Definition at line 796 of file rna_access.c.
References StructRNA::cont, and ContainerRNA::properties.
Referenced by bpy_class_validate_recursive(), and pyrna_srna_contains_pointer_prop_srna().
const char* RNA_struct_ui_description | ( | const StructRNA * | type | ) |
Definition at line 609 of file rna_access.c.
Referenced by pyrna_srna_Subtype(), template_ID(), UI_but_string_info_get(), ui_def_but_operator_ptr(), and WM_operatortype_description().
const char* RNA_struct_ui_description_raw | ( | const StructRNA * | type | ) |
Definition at line 614 of file rna_access.c.
References type.
int RNA_struct_ui_icon | ( | const StructRNA * | type | ) |
Definition at line 601 of file rna_access.c.
References type.
Referenced by buttons_context_compute(), buttons_panel_context_draw(), buttons_texture_modifier_foreach(), buttons_texture_modifier_geonodes_users_add(), buttons_texture_modifier_gpencil_foreach(), buttons_texture_users_find_nodetree(), buttons_texture_users_from_context(), blender::ui::context_path_add_generic(), draw_constraint_header(), blender::ed::outliner::get_property_icon(), blender::ed::outliner::TreeElementOverridesPropertyOperation::getIcon(), getname_anim_fcurve(), gpencil_modifier_panel_header(), modifier_panel_header(), nla_panel_animdata(), shaderfx_panel_header(), template_add_button_search_menu(), tree_element_get_icon(), UI_icon_from_id(), ui_template_list_layout_draw(), uiDefAutoButR(), and uiItemPointerR_prop().
const char* RNA_struct_ui_name | ( | const StructRNA * | type | ) |
Definition at line 591 of file rna_access.c.
References CTX_IFACE_, and type.
Referenced by BPy_CollectionProperty(), BPy_PointerProperty(), getname_anim_fcurve(), nodeSocketTypeLabel(), template_ID_search_menu_item_tooltip(), blender::ed::outliner::TreeElementOverridesPropertyOperation::TreeElementOverridesPropertyOperation(), blender::ed::outliner::TreeElementRNAStruct::TreeElementRNAStruct(), and WM_operatortype_name().
const char* RNA_struct_ui_name_raw | ( | const StructRNA * | type | ) |
Definition at line 596 of file rna_access.c.
References type.
Definition at line 660 of file rna_access.c.
References STRUCT_UNDO, and type.
Referenced by eyedropper_colorband_init(), and ui_but_is_rna_undo().
StructUnregisterFunc RNA_struct_unregister | ( | StructRNA * | type | ) |
Definition at line 863 of file rna_access.c.
Referenced by pyrna_unregister_class().
const char* RNA_translate_ui_text | ( | const char * | text, |
const char * | text_ctxt, | ||
struct StructRNA * | type, | ||
struct PropertyRNA * | prop, | ||
int | translate | ||
) |
Definition at line 6643 of file rna_access.c.
References rna_translate_ui_text(), and type.
short RNA_type_to_ID_code | ( | const StructRNA * | type | ) |
|
extern |
|
extern |
Definition at line 61 of file rna_access.c.
Referenced by add_nodes(), CTX_data_pointer_get(), CTX_data_pointer_get_type(), CTX_data_pointer_get_type_silent(), do_outliner_drivers_editop(), driver_get_variable_property(), ED_animedit_unlink_action(), eyedropper_colorband_init(), lib_id_fake_user_toggle_exec(), object_fluid_gas_domain_find(), object_mesh_cache_find(), object_to_mesh(), override_idtemplate_ids_get(), pyrna_prop_collection_ass_subscript_int(), pyrna_py_to_prop(), pyrna_struct_as_ptr_or_null(), BlenderSession::reset_session(), rna_array_lookup_int(), RNA_parameter_list_create(), RNA_pointer_get(), rna_pointer_inherit_refine(), RNA_property_pointer_get(), RNA_property_pointer_get_default(), blender::deg::RNAPathKey::RNAPathKey(), ui_but_add_search(), ui_but_string_set(), ui_do_but_COLOR(), uiItemFullO(), and WM_gizmo_target_property_clear_rna_ptr().