Blender V2.61 - r43446
|
ID and Library types, which are fundamental for sdna. More...
#include "DNA_listBase.h"
Go to the source code of this file.
Classes | |
struct | IDPropertyData |
struct | IDProperty |
struct | ID |
struct | Library |
struct | PreviewImage |
Defines | |
#define | MAX_IDPROP_NAME 64 |
#define | DEFAULT_ALLOC_FOR_NULL_STRINGS 64 |
#define | IDP_STRING 0 |
#define | IDP_INT 1 |
#define | IDP_FLOAT 2 |
#define | IDP_ARRAY 5 |
#define | IDP_GROUP 6 |
#define | IDP_ID 7 |
#define | IDP_DOUBLE 8 |
#define | IDP_IDPARRAY 9 |
#define | IDP_NUMTYPES 10 |
#define | IDP_STRING_SUB_UTF8 0 |
#define | IDP_STRING_SUB_BYTE 1 |
#define | IDP_FLAG_GHOST (1<<7) |
#define | MAX_ID_NAME 66 |
#define | NUM_ICON_SIZES (ICON_SIZE_PREVIEW + 1) |
#define | MAKE_ID2(c, d) ( (d)<<8 | (c) ) |
#define | MOST_SIG_BYTE 1 |
#define | BLITTLE_ENDIAN |
#define | ID_SCE MAKE_ID2('S', 'C') |
#define | ID_LI MAKE_ID2('L', 'I') |
#define | ID_OB MAKE_ID2('O', 'B') |
#define | ID_ME MAKE_ID2('M', 'E') |
#define | ID_CU MAKE_ID2('C', 'U') |
#define | ID_MB MAKE_ID2('M', 'B') |
#define | ID_MA MAKE_ID2('M', 'A') |
#define | ID_TE MAKE_ID2('T', 'E') |
#define | ID_IM MAKE_ID2('I', 'M') |
#define | ID_LT MAKE_ID2('L', 'T') |
#define | ID_LA MAKE_ID2('L', 'A') |
#define | ID_CA MAKE_ID2('C', 'A') |
#define | ID_IP MAKE_ID2('I', 'P') |
#define | ID_KE MAKE_ID2('K', 'E') |
#define | ID_WO MAKE_ID2('W', 'O') |
#define | ID_SCR MAKE_ID2('S', 'R') |
#define | ID_SCRN MAKE_ID2('S', 'N') |
#define | ID_VF MAKE_ID2('V', 'F') |
#define | ID_TXT MAKE_ID2('T', 'X') |
#define | ID_SPK MAKE_ID2('S', 'K') |
#define | ID_SO MAKE_ID2('S', 'O') |
#define | ID_GR MAKE_ID2('G', 'R') |
#define | ID_ID MAKE_ID2('I', 'D') |
#define | ID_AR MAKE_ID2('A', 'R') |
#define | ID_AC MAKE_ID2('A', 'C') |
#define | ID_SCRIPT MAKE_ID2('P', 'Y') |
#define | ID_NT MAKE_ID2('N', 'T') |
#define | ID_BR MAKE_ID2('B', 'R') |
#define | ID_PA MAKE_ID2('P', 'A') |
#define | ID_GD MAKE_ID2('G', 'D') |
#define | ID_WM MAKE_ID2('W', 'M') |
#define | ID_MC MAKE_ID2('M', 'C') |
#define | ID_SEQ MAKE_ID2('S', 'Q') |
#define | ID_CO MAKE_ID2('C', 'O') |
#define | ID_PO MAKE_ID2('A', 'C') |
#define | ID_NLA MAKE_ID2('N', 'L') |
#define | ID_FLUIDSIM MAKE_ID2('F', 'S') |
#define | ID_REAL_USERS(id) (((ID *)id)->us - ((((ID *)id)->flag & LIB_FAKEUSER) ? 1:0)) |
#define | ID_CHECK_UNDO(id) ((GS((id)->name) != ID_SCR) && (GS((id)->name) != ID_WM)) |
#define | ID_BLEND_PATH(_bmain, _id) ((_id)->lib ? (_id)->lib->filepath : (_bmain)->name) |
#define | GS(a) (*((short *)(a))) |
#define | LIB_LOCAL 0 |
#define | LIB_EXTERN 1 |
#define | LIB_INDIRECT 2 |
#define | LIB_TEST 8 |
#define | LIB_TESTEXT (LIB_TEST | LIB_EXTERN) |
#define | LIB_TESTIND (LIB_TEST | LIB_INDIRECT) |
#define | LIB_READ 16 |
#define | LIB_NEEDLINK 32 |
#define | LIB_NEW 256 |
#define | LIB_FAKEUSER 512 |
#define | LIB_DOIT 1024 |
#define | LIB_PRE_EXISTING 2048 |
#define | LIB_ID_RECALC 4096 |
#define | LIB_ID_RECALC_DATA 8192 |
Typedefs | |
typedef struct IDPropertyData | IDPropertyData |
typedef struct IDProperty | IDProperty |
typedef struct ID | ID |
typedef struct Library | Library |
typedef struct PreviewImage | PreviewImage |
Enumerations | |
enum | eIconSizes { ICON_SIZE_ICON, ICON_SIZE_PREVIEW } |
#define DEFAULT_ALLOC_FOR_NULL_STRINGS 64 |
Definition at line 69 of file DNA_ID.h.
Referenced by IDP_New(), and IDP_NewString().
#define ID_AC MAKE_ID2('A', 'C') |
Definition at line 203 of file DNA_ID.h.
Referenced by act_new_exec(), add_empty_action(), alloc_libblock_notest(), dataname(), draw_actuatorbuttons(), expand_main(), free_libblock(), id_copy(), id_make_local(), KX_BlenderSceneConverter::LinkBlendFile(), outliner_action_set_exec(), outliner_add_id_contents(), outliner_id_operation_exec(), read_libblock(), set_operation_types(), template_id_browse_tip(), tselem_draw_icon(), which_libbase(), and write_actions().
#define ID_AR MAKE_ID2('A', 'R') |
Definition at line 202 of file DNA_ID.h.
Referenced by add_armature(), alloc_libblock_notest(), dag_id_flush_update(), dataname(), do_outliner_item_activate(), expand_main(), free_libblock(), id_copy(), id_make_local(), id_type_can_have_animdata(), idriver_to_cdriver(), outliner_add_id_contents(), read_libblock(), set_operation_types(), template_id_browse_tip(), tselem_draw_icon(), which_libbase(), and write_armatures().
#define ID_BLEND_PATH | ( | _bmain, | |
_id | |||
) | ((_id)->lib ? (_id)->lib->filepath : (_bmain)->name) |
Definition at line 227 of file DNA_ID.h.
Referenced by BKE_image_signal(), bpath_traverse_id(), bpy_text_filename_get(), customdata_external_filename(), file_browse_exec(), get_sequence_fname(), image_load_image_file(), image_load_movie_file(), image_load_sequence_file(), image_pack_exec(), modifier_path_relbase(), movieclip_load_movie_file(), packAll(), save_image_doit(), sound_pack_exec(), and vfont_get_data().
#define ID_BR MAKE_ID2('B', 'R') |
Definition at line 206 of file DNA_ID.h.
Referenced by add_brush(), alloc_libblock_notest(), BKE_previewimg_free_id(), BKE_previewimg_get(), bpath_traverse_id(), buttons_context_path_texture(), buttons_texture_users_from_context(), common_preview_endjob(), dataname(), expand_main(), free_libblock(), icon_preview_startjob(), id_copy(), id_make_local(), radial_control_set_tex(), read_libblock(), template_id_browse_tip(), ui_id_icon_get(), which_libbase(), and write_brushes().
#define ID_CA MAKE_ID2('C', 'A') |
Definition at line 190 of file DNA_ID.h.
Referenced by add_camera(), alloc_libblock_notest(), dag_id_flush_update(), dataname(), expand_main(), free_libblock(), get_rna_access(), id_copy(), id_make_local(), id_type_can_have_animdata(), outliner_add_id_contents(), read_libblock(), set_operation_types(), template_id_browse_tip(), tree_element_active(), tselem_draw_icon(), which_libbase(), and write_cameras().
#define ID_CHECK_UNDO | ( | id | ) | ((GS((id)->name) != ID_SCR) && (GS((id)->name) != ID_WM)) |
Definition at line 225 of file DNA_ID.h.
Referenced by reset_default_button_exec(), and ui_but_is_rna_undo().
#define ID_CO MAKE_ID2('C', 'O') |
Definition at line 215 of file DNA_ID.h.
Referenced by get_rna_access().
#define ID_CU MAKE_ID2('C', 'U') |
Definition at line 183 of file DNA_ID.h.
Referenced by add_curve(), add_key(), alloc_libblock_notest(), createTransTexspace(), dag_id_flush_update(), data_delete_material_index_id(), dataname(), do_outliner_item_activate(), ED_object_shape_key_remove(), expand_main(), free_libblock(), get_rna_access(), give_matarar_id(), give_obdata_texspace(), give_totcolp_id(), id_copy(), id_make_local(), id_type_can_have_animdata(), key_pointer_size(), outliner_add_id_contents(), read_libblock(), set_operation_types(), template_id_browse_tip(), tselem_draw_icon(), unlink_material_cb(), which_libbase(), and write_curves().
#define ID_GD MAKE_ID2('G', 'D') |
Definition at line 208 of file DNA_ID.h.
Referenced by alloc_libblock_notest(), dataname(), free_libblock(), gpencil_data_addnew(), id_copy(), id_make_local(), read_libblock(), template_id_browse_tip(), versions_gpencil_add_main(), which_libbase(), and write_gpencils().
Definition at line 200 of file DNA_ID.h.
Referenced by add_group(), alloc_libblock_notest(), dataname(), do_outliner_item_activate(), do_outliner_operation_event(), expand_main(), free_libblock(), give_base_to_objects(), id_copy(), id_make_local(), id_unlink(), new_particle_duplilist(), outliner_draw_restrictbuts(), outliner_draw_tree_element(), outliner_find_id(), read_libblock(), set_operation_types(), template_ID(), tselem_draw_icon(), which_libbase(), and write_groups().
#define ID_ID MAKE_ID2('I', 'D') |
Definition at line 201 of file DNA_ID.h.
Referenced by blo_read_file_internal(), change_idid_adr_fd(), expand_doit(), read_libblock(), and write_libraries().
#define ID_IM MAKE_ID2('I', 'M') |
Definition at line 187 of file DNA_ID.h.
Referenced by alloc_libblock_notest(), BKE_previewimg_free_id(), BKE_previewimg_get(), BLO_blendhandle_get_previews(), bpath_traverse_id(), dataname(), ED_render_id_flush_update(), filelist_from_main(), free_libblock(), icon_preview_startjob(), id_copy(), id_make_local(), IDnames_to_dyn_pupstring(), image_alloc(), namebutton_cb(), node_drop_poll(), ntree_version_245(), read_libblock(), set_operation_types(), template_id_browse_tip(), tselem_draw_icon(), ui_id_icon_get(), view3d_ima_drop_poll(), which_libbase(), and write_images().
#define ID_IP MAKE_ID2('I', 'P') |
Definition at line 191 of file DNA_ID.h.
Referenced by alloc_libblock_notest(), dataname(), expand_main(), free_libblock(), id_copy(), id_make_local(), read_libblock(), set_operation_types(), and which_libbase().
#define ID_KE MAKE_ID2('K', 'E') |
Definition at line 192 of file DNA_ID.h.
Referenced by add_key(), alloc_libblock_notest(), dag_id_flush_update(), dataname(), expand_main(), free_libblock(), get_rna_access(), id_copy(), id_make_local(), id_type_can_have_animdata(), outliner_add_id_contents(), read_libblock(), set_operation_types(), tselem_draw_icon(), which_libbase(), and write_keys().
#define ID_LA MAKE_ID2('L', 'A') |
Definition at line 189 of file DNA_ID.h.
Referenced by add_lamp(), alloc_libblock_notest(), animdata_filter_ds_textures(), BKE_previewimg_free_id(), BKE_previewimg_get(), BLO_blendhandle_get_previews(), buttons_context_path_texture(), buttons_texture_users_from_context(), copy_mtex_copybuf(), dag_id_flush_update(), dataname(), do_version_mtex_factor_2_50(), do_versions(), ED_node_changed_update(), ED_node_set_active(), ED_node_shader_default(), ED_render_id_flush_update(), expand_main(), filelist_from_main(), free_libblock(), get_rna_access(), give_active_mtex(), id_copy(), id_make_local(), id_type_can_have_animdata(), IDnames_to_dyn_pupstring(), lib_link_screen(), node_area_refresh(), node_tree_from_ID(), outliner_add_id_contents(), paste_mtex_copybuf(), preview_prepare_scene(), read_libblock(), set_active_mtex(), set_operation_types(), shader_preview_updatejob(), template_id_browse_tip(), tree_element_active(), tree_element_active_texture(), tselem_draw_icon(), ui_id_icon_get(), uiTemplatePreview(), unlink_texture_cb(), which_libbase(), and write_lamps().
#define ID_LI MAKE_ID2('L', 'I') |
Definition at line 180 of file DNA_ID.h.
Referenced by alloc_libblock_notest(), blo_find_main(), blo_read_file_internal(), bpath_traverse_id(), dataname(), do_item_rename(), find_previous_lib(), free_libblock(), id_copy(), id_make_local(), namebutton_cb(), outliner_add_id_contents(), outliner_buttons(), read_libblock(), tselem_draw_icon(), which_libbase(), and write_libraries().
#define ID_LT MAKE_ID2('L', 'T') |
Definition at line 188 of file DNA_ID.h.
Referenced by add_key(), add_lattice(), alloc_libblock_notest(), dag_id_flush_update(), dataname(), do_outliner_item_activate(), ED_object_shape_key_remove(), ED_vgroup_data_create(), ED_vgroup_give_array(), ED_vgroup_give_parray(), expand_main(), free_libblock(), id_copy(), id_make_local(), id_type_can_have_animdata(), key_pointer_size(), read_libblock(), set_operation_types(), template_id_browse_tip(), tselem_draw_icon(), which_libbase(), and write_lattices().
#define ID_MA MAKE_ID2('M', 'A') |
Definition at line 185 of file DNA_ID.h.
Referenced by acf_generic_group_offset(), add_material(), adrcode_bitmaps_to_paths(), alloc_libblock_notest(), animdata_filter_ds_textures(), BKE_previewimg_free_id(), BKE_previewimg_get(), BLO_blendhandle_get_previews(), buttons_context_path_texture(), buttons_texture_users_from_context(), copy_mtex_copybuf(), dataname(), do_version_mtex_factor_2_50(), do_versions(), draw_sensorbuttons(), ED_node_changed_update(), ED_node_set_active(), ED_node_shader_default(), ED_render_id_flush_update(), expand_main(), filelist_from_main(), flag_render_node_material(), free_libblock(), get_driver_path_hack(), get_flags_for_id(), get_rna_access(), give_active_mtex(), give_node_material(), gpu_active_node_material(), icon_preview_startjob(), id_copy(), id_make_local(), id_type_can_have_animdata(), IDnames_to_dyn_pupstring(), init_render_nodetree(), lib_link_screen(), lib_link_screen_restore(), material_in_nodetree(), mouse_nla_channels(), namebutton_cb(), node_area_listener(), node_area_refresh(), node_tree_from_ID(), nodes_use_tex(), outliner_add_id_contents(), outliner_id_operation_exec(), paste_mtex_copybuf(), preview_prepare_scene(), read_libblock(), set_active_mtex(), set_operation_types(), shader_preview_render(), shader_preview_updatejob(), template_id_browse_tip(), text_idbutton(), texture_slot_move(), tree_element_active(), tree_element_active_texture(), tselem_draw_icon(), ui_but_anim_expression_create(), ui_id_icon_get(), uiTemplatePreview(), unlink_texture_cb(), view3d_mat_drop_poll(), which_libbase(), and write_materials().
#define ID_MB MAKE_ID2('M', 'B') |
Definition at line 184 of file DNA_ID.h.
Referenced by add_mball(), alloc_libblock_notest(), createTransTexspace(), dag_id_flush_update(), data_delete_material_index_id(), dataname(), do_outliner_item_activate(), expand_main(), free_libblock(), give_matarar_id(), give_obdata_texspace(), give_totcolp_id(), id_copy(), id_make_local(), id_type_can_have_animdata(), outliner_add_id_contents(), read_libblock(), set_operation_types(), template_id_browse_tip(), tselem_draw_icon(), unlink_material_cb(), which_libbase(), and write_mballs().
#define ID_MC MAKE_ID2('M', 'C') |
Definition at line 210 of file DNA_ID.h.
Referenced by alloc_libblock_notest(), bpath_traverse_id(), dag_id_flush_update(), dataname(), free_libblock(), movieclip_alloc(), read_libblock(), which_libbase(), and write_movieclips().
#define ID_ME MAKE_ID2('M', 'E') |
Definition at line 182 of file DNA_ID.h.
Referenced by add_key(), add_mesh(), alloc_libblock_notest(), bpath_traverse_id(), createTransTexspace(), dag_id_flush_update(), data_delete_material_index_id(), dataname(), do_outliner_item_activate(), draw_actuatorbuttons(), ED_object_shape_key_remove(), ED_vgroup_data_create(), ED_vgroup_give_array(), ED_vgroup_give_parray(), expand_main(), free_libblock(), give_matarar_id(), give_obdata_texspace(), give_totcolp_id(), id_copy(), id_make_local(), id_type_can_have_animdata(), key_block_get_data(), key_pointer_size(), KX_BlenderSceneConverter::LinkBlendFile(), outliner_add_id_contents(), read_libblock(), set_operation_types(), template_id_browse_tip(), tselem_draw_icon(), unlink_material_cb(), which_libbase(), and write_meshs().
#define ID_NLA MAKE_ID2('N', 'L') |
Definition at line 219 of file DNA_ID.h.
Referenced by set_operation_types(), and tselem_draw_icon().
#define ID_NT MAKE_ID2('N', 'T') |
Definition at line 205 of file DNA_ID.h.
Referenced by acf_generic_group_offset(), alloc_libblock_notest(), animchan_sync_fcurve(), dataname(), draw_nla_channel_list_gl(), expand_main(), free_libblock(), id_copy(), id_make_local(), id_type_can_have_animdata(), node_group_edit_invoke(), node_tree_from_ID(), ntreeAddTree(), read_libblock(), skip_fcurve_selected_data(), template_id_browse_tip(), which_libbase(), and write_nodetrees().
#define ID_OB MAKE_ID2('O', 'B') |
Definition at line 181 of file DNA_ID.h.
Referenced by add_empty_ks_path_exec(), add_only_object(), adrcode_bitmaps_to_paths(), alloc_libblock_notest(), ANIM_apply_keyingset(), animchan_sync_fcurve(), animchan_sync_group(), append_named_part_ex(), bpath_traverse_id(), build_dag(), buttons_context_path_texture(), buttons_texture_users_from_context(), dag_add_driver_relation(), dag_id_flush_update(), DAG_id_tag_update(), DAG_on_visible_update(), dag_scene_flush_layers(), DAG_scene_flush_update(), dataname(), do_versions(), do_versions_ipos_to_animato(), draw_actuatorbuttons(), driver_change_variable_type(), drivers_path_rename_fix(), dtar_id_ensure_proxy_from(), dvar_eval_locDiff(), dvar_eval_transChan(), ED_base_object_free_and_unlink(), ED_object_add_type(), expand_main(), filelist_from_main(), flush_layer_node(), flush_pointcache_reset(), flush_update_node(), free_libblock(), free_libblock_us(), get_rna_access(), icu_to_fcurves(), id_copy(), id_frame_has_keyframe(), id_make_local(), id_type_can_have_animdata(), id_unlink(), idriver_to_cdriver(), ipo_to_animato(), lib_indirect_test_id(), lib_link_modifiers__linkModifiers(), nlaedit_add_sound_exec(), object_hide_view_clear_exec(), object_hide_view_set_exec(), outliner_add_id_contents(), outliner_do_object_operation(), outliner_draw_hierarchy(), outliner_draw_iconrow(), outliner_draw_restrictbuts(), outliner_draw_tree_element(), outliner_find_id(), outliner_make_hierarchy(), outliner_sort(), read_libblock(), rna_def_drivertarget(), rna_def_keyingset_path(), set_operation_types(), skip_fcurve_selected_data(), subtree_has_objects(), template_ID(), template_id_browse_tip(), template_id_cb(), time_draw_idblock_keyframes(), tree_element_active_camera(), tree_element_active_lamp(), tree_element_active_material(), tree_element_set_active_object(), tree_element_show_hierarchy(), treesort_alpha(), tselem_draw_icon(), uiIconFromID(), uiTemplateConstraint(), uiTemplateModifier(), unlink_group_cb(), unlink_material_cb(), view3d_ob_drop_poll(), which_libbase(), and write_objects().
#define ID_PA MAKE_ID2('P', 'A') |
Definition at line 207 of file DNA_ID.h.
Referenced by acf_generic_group_offset(), alloc_libblock_notest(), buttons_context_path_texture(), copy_mtex_copybuf(), dag_id_flush_update(), DAG_id_tag_update(), dataname(), expand_main(), free_libblock(), get_rna_access(), give_active_mtex(), id_copy(), id_make_local(), id_type_can_have_animdata(), mouse_nla_channels(), paste_mtex_copybuf(), psys_new_settings(), read_libblock(), set_active_mtex(), template_id_browse_tip(), which_libbase(), and write_particlesettings().
#define ID_PO MAKE_ID2('A', 'C') |
Definition at line 217 of file DNA_ID.h.
Referenced by get_rna_access(), and icu_to_fcurves().
Definition at line 223 of file DNA_ID.h.
Referenced by animdata_filter_gpencil(), apply_objects_internal(), ipo_to_animato(), object_origin_set_exec(), and special_aftertrans_update().
#define ID_SCE MAKE_ID2('S', 'C') |
Definition at line 179 of file DNA_ID.h.
Referenced by add_scene(), alloc_libblock_notest(), animchan_sync_fcurve(), animdata_filter_dopesheet(), bpath_traverse_id(), buttons_texture_users_from_context(), dataname(), do_outliner_item_activate(), do_versions_ipos_to_animato(), draw_actuatorbuttons(), ED_render_id_flush_update(), expand_main(), face_duplilist(), filelist_from_main(), free_libblock(), id_copy(), id_frame_has_keyframe(), id_make_local(), id_type_can_have_animdata(), lib_link_screen(), lib_link_screen_restore(), library_append_end(), KX_BlenderSceneConverter::LinkBlendFile(), namebutton_cb(), node_tree_from_ID(), object_duplilist_recursive(), outliner_add_id_contents(), outliner_do_object_operation(), outliner_draw_hierarchy(), outliner_draw_tree_element(), outliner_find_id(), read_libblock(), set_operation_types(), skip_fcurve_selected_data(), template_ID(), template_id_browse_tip(), text_idbutton(), time_draw_idblock_keyframes(), tree_element_active_renderlayer(), tree_element_show_hierarchy(), tselem_draw_icon(), uiTemplateImageSettings(), vertex_duplilist(), which_libbase(), and write_scenes().
#define ID_SCR MAKE_ID2('S', 'R') |
Definition at line 194 of file DNA_ID.h.
Referenced by alloc_libblock_notest(), blo_read_file_internal(), dataname(), ED_screen_add(), free_libblock(), id_copy(), id_make_local(), read_libblock(), rna_id_write_error(), template_ID(), template_id_browse_tip(), text_idbutton(), and which_libbase().
#define ID_SCRIPT MAKE_ID2('P', 'Y') |
Definition at line 204 of file DNA_ID.h.
Referenced by alloc_libblock_notest(), draw_actuatorbuttons(), free_libblock(), id_copy(), id_make_local(), read_libblock(), which_libbase(), and write_scripts().
#define ID_SCRN MAKE_ID2('S', 'N') |
Definition at line 195 of file DNA_ID.h.
Referenced by blo_read_file_internal(), and write_screens().
#define ID_SEQ MAKE_ID2('S', 'Q') |
Definition at line 213 of file DNA_ID.h.
Referenced by alloc_sequence(), and get_rna_access().
#define ID_SO MAKE_ID2('S', 'O') |
Definition at line 199 of file DNA_ID.h.
Referenced by alloc_libblock_notest(), bpath_traverse_id(), dataname(), expand_main(), free_libblock(), get_rna_access(), id_copy(), id_make_local(), read_libblock(), set_operation_types(), sound_new_file(), template_id_browse_tip(), tselem_draw_icon(), which_libbase(), and write_sounds().
#define ID_SPK MAKE_ID2('S', 'K') |
Definition at line 198 of file DNA_ID.h.
Referenced by add_speaker(), alloc_libblock_notest(), dag_id_flush_update(), dataname(), expand_main(), free_libblock(), id_copy(), id_make_local(), id_type_can_have_animdata(), outliner_add_id_contents(), read_libblock(), set_operation_types(), template_id_browse_tip(), tselem_draw_icon(), which_libbase(), and write_speakers().
#define ID_TE MAKE_ID2('T', 'E') |
Definition at line 186 of file DNA_ID.h.
Referenced by acf_generic_group_offset(), add_texture(), alloc_libblock_notest(), BKE_previewimg_free_id(), BKE_previewimg_get(), BLO_blendhandle_get_previews(), bpath_traverse_id(), dag_id_flush_update(), dag_id_flush_update__isDependentTexture(), dataname(), draw_nla_channel_list_gl(), ED_node_set_active(), ed_preview_draw_rect(), ED_render_id_flush_update(), expand_main(), filelist_from_main(), free_libblock(), get_driver_path_hack(), get_flags_for_id(), get_rna_access(), give_current_material_texture(), give_current_material_texture_node(), has_current_material_texture(), id_copy(), id_make_local(), id_type_can_have_animdata(), IDnames_to_dyn_pupstring(), lib_link_screen(), lib_link_screen_restore(), namebutton_cb(), node_tree_from_ID(), outliner_add_id_contents(), outliner_id_operation_exec(), preview_prepare_scene(), read_libblock(), set_current_material_texture(), set_operation_types(), shader_preview_render(), shader_preview_updatejob(), template_ID(), template_id_browse_tip(), tree_element_active(), tselem_draw_icon(), ui_but_anim_expression_create(), ui_id_icon_get(), uiTemplatePreview(), which_libbase(), and write_textures().
#define ID_TXT MAKE_ID2('T', 'X') |
Definition at line 197 of file DNA_ID.h.
Referenced by add_empty_text(), add_text(), alloc_libblock_notest(), bpath_traverse_id(), dataname(), draw_controllerbuttons(), free_libblock(), id_copy(), id_make_local(), id_unlink(), read_libblock(), set_operation_types(), template_ID(), template_id_browse_tip(), tree_element_active(), tselem_draw_icon(), which_libbase(), and write_texts().
#define ID_VF MAKE_ID2('V', 'F') |
Definition at line 196 of file DNA_ID.h.
Referenced by alloc_libblock_notest(), bpath_traverse_id(), dataname(), free_libblock(), id_copy(), id_make_local(), load_vfont(), read_libblock(), which_libbase(), and write_vfonts().
#define ID_WM MAKE_ID2('W', 'M') |
Definition at line 209 of file DNA_ID.h.
Referenced by alloc_libblock_notest(), free_libblock(), id_copy(), id_make_local(), read_libblock(), rna_id_write_error(), which_libbase(), wm_add_default(), and write_windowmanagers().
#define ID_WO MAKE_ID2('W', 'O') |
Definition at line 193 of file DNA_ID.h.
Referenced by add_world(), alloc_libblock_notest(), animdata_filter_ds_textures(), BKE_previewimg_free_id(), BKE_previewimg_get(), BLO_blendhandle_get_previews(), buttons_context_path_texture(), buttons_texture_users_from_context(), copy_mtex_copybuf(), dataname(), do_version_mtex_factor_2_50(), do_versions(), ED_node_changed_update(), ED_node_set_active(), ED_node_shader_default(), ED_render_id_flush_update(), expand_main(), filelist_from_main(), free_libblock(), get_rna_access(), give_active_mtex(), icon_preview_startjob(), id_copy(), id_make_local(), id_type_can_have_animdata(), IDnames_to_dyn_pupstring(), lib_link_screen(), node_area_refresh(), node_tree_from_ID(), outliner_add_id_contents(), outliner_id_operation_exec(), paste_mtex_copybuf(), preview_prepare_scene(), read_libblock(), set_active_mtex(), set_operation_types(), shader_preview_updatejob(), template_id_browse_tip(), tree_element_active(), tree_element_active_texture(), tselem_draw_icon(), ui_id_icon_get(), uiTemplatePreview(), unlink_texture_cb(), which_libbase(), and write_worlds().
#define IDP_ARRAY 5 |
Definition at line 75 of file DNA_ID.h.
Referenced by BPy_IDGroup_MapDataToPy(), BPy_IDGroup_WrapData(), BPy_IDProperty_Map_ValidateAndCreate(), IDP_CopyProperty(), IDP_DirectLinkProperty(), IDP_EqualsProperties(), IDP_FreeProperty(), IDP_New(), IDP_WriteProperty_OnlyData(), rna_ensure_property(), rna_ensure_property_array_check(), rna_ensure_property_array_length(), rna_ensure_property_multi_array_length(), rna_idproperty_check(), rna_idproperty_verify_valid(), RNA_property_boolean_set_array(), RNA_property_float_set_array(), RNA_property_int_set_array(), texture_paint_camera_project_exec(), and texture_paint_image_from_view_exec().
#define IDP_DOUBLE 8 |
Definition at line 80 of file DNA_ID.h.
Referenced by BPy_IDArray_GetItem(), BPy_IDArray_GetType(), BPy_IDArray_SetItem(), BPy_IDArray_slice(), BPy_IDGroup_MapDataToPy(), BPy_IDGroup_WrapData(), BPy_IDProperty_Map_ValidateAndCreate(), idp_array_py_type(), IDP_DirectLinkArray(), IDP_DirectLinkProperty(), IDP_EqualsProperties(), IDP_New(), idp_sequence_type(), IDP_SyncGroupValues(), rna_idproperty_verify_valid(), RNA_property_float_range(), and RNA_property_float_ui_range().
#define IDP_FLAG_GHOST (1<<7) |
Definition at line 90 of file DNA_ID.h.
Referenced by rna_idproperty_touch(), RNA_property_is_set(), and wm_operator_init_from_last().
#define IDP_FLOAT 2 |
Definition at line 74 of file DNA_ID.h.
Referenced by BPy_IDArray_GetItem(), BPy_IDArray_GetType(), BPy_IDArray_SetItem(), BPy_IDArray_slice(), BPy_IDGroup_MapDataToPy(), BPy_IDGroup_WrapData(), idp_array_py_type(), IDP_EqualsProperties(), IDP_New(), IDP_SyncGroupValues(), rna_idproperty_verify_valid(), RNA_property_float_get(), RNA_property_float_get_array(), RNA_property_float_set(), RNA_property_float_set_array(), texture_paint_camera_project_exec(), and texture_paint_image_from_view_exec().
#define IDP_GROUP 6 |
Definition at line 76 of file DNA_ID.h.
Referenced by BPy_IDGroup_Map_GetItem(), BPy_IDGroup_Map_Len(), BPy_IDGroup_MapDataToPy(), BPy_IDGroup_WrapData(), BPy_IDProperty_Map_ValidateAndCreate(), BPy_Wrap_SetMapItem(), fcm_python_new_data(), IDP_CopyArray(), IDP_CopyProperty(), IDP_DirectLinkArray(), IDP_DirectLinkProperty(), IDP_EqualsProperties(), IDP_FreeProperty(), IDP_GetProperties(), IDP_New(), idp_resize_group_array(), IDP_SyncGroupValues(), IDP_WriteArray(), IDP_WriteProperty_OnlyData(), idproperties_fix_groups_lengths_recurse(), pycon_new_data(), rna_idp_path(), rna_idproperty_ui(), rna_idproperty_verify_valid(), RNA_property_collection_add(), RNA_property_pointer_add(), ui_menu_block_set_keymaps(), uiItemFullO(), uiLayoutOperatorButs(), wm_operator_create(), and WM_operator_properties_alloc().
#define IDP_ID 7 |
Definition at line 79 of file DNA_ID.h.
Referenced by IDP_UnlinkProperty().
#define IDP_IDPARRAY 9 |
Definition at line 81 of file DNA_ID.h.
Referenced by BPy_IDGroup_MapDataToPy(), BPy_IDGroup_WrapData(), BPy_IDProperty_Map_ValidateAndCreate(), IDP_CopyProperty(), IDP_DirectLinkProperty(), IDP_EqualsProperties(), IDP_FreeProperty(), IDP_NewIDPArray(), idp_sequence_type(), IDP_WriteProperty_OnlyData(), rna_idp_path(), and rna_idproperty_verify_valid().
#define IDP_INT 1 |
Definition at line 73 of file DNA_ID.h.
Referenced by BPy_IDArray_GetItem(), BPy_IDArray_GetType(), BPy_IDArray_SetItem(), BPy_IDArray_slice(), BPy_IDGroup_MapDataToPy(), BPy_IDGroup_WrapData(), BPy_IDProperty_Map_ValidateAndCreate(), idp_array_py_type(), IDP_EqualsProperties(), IDP_New(), idp_sequence_type(), IDP_SyncGroupValues(), rna_idproperty_verify_valid(), RNA_property_boolean_set(), RNA_property_boolean_set_array(), RNA_property_enum_set(), RNA_property_int_range(), RNA_property_int_set(), RNA_property_int_set_array(), and RNA_property_int_ui_range().
#define IDP_STRING 0 |
Definition at line 72 of file DNA_ID.h.
Referenced by BPy_IDGroup_MapDataToPy(), BPy_IDGroup_WrapData(), BPy_IDProperty_Map_ValidateAndCreate(), IDP_CopyProperty(), IDP_DirectLinkProperty(), IDP_EqualsProperties(), IDP_FreeProperty(), IDP_New(), IDP_NewString(), IDP_WriteProperty_OnlyData(), rna_ensure_property_description(), and rna_idproperty_verify_valid().
#define IDP_STRING_SUB_BYTE 1 |
Definition at line 88 of file DNA_ID.h.
Referenced by BPy_IDProperty_Map_ValidateAndCreate(), IDP_AssignString(), IDP_New(), idprop_py_from_idp_string(), RNA_property_string_get(), and RNA_property_string_length().
#define IDP_STRING_SUB_UTF8 0 |
Definition at line 87 of file DNA_ID.h.
Referenced by BPy_IDProperty_Map_ValidateAndCreate(), and IDP_New().
#define LIB_DOIT 1024 |
Definition at line 247 of file DNA_ID.h.
Referenced by add_lightgroup(), bake_images(), BKE_image_free_all_textures(), build_dag(), clear_images(), convert_exec(), KX_BlenderSceneConverter::ConvertMeshSpecial(), count_images(), DAG_on_visible_update(), DAG_scene_update_flags(), do_merge_fullsample(), get_next_bake_face(), node_read_renderlayers_exec(), ntree_render_scenes(), object_origin_set_exec(), RE_bake_shade_all_selected(), RE_MergeFullSample(), rna_def_ID(), scene_sort_groups(), set_material_lightgroups(), tag_main_lb(), and tag_scenes_for_render().
#define LIB_EXTERN 1 |
Definition at line 236 of file DNA_ID.h.
Referenced by append_named_part(), BKE_library_make_local(), blo_read_file_internal(), give_base_to_objects(), id_lib_extern(), id_local_cb(), id_us_plus(), and write_libraries().
#define LIB_FAKEUSER 512 |
Definition at line 245 of file DNA_ID.h.
Referenced by add_brush(), copy_brush(), do_versions_ipos_to_animato(), filelist_from_main(), get_flags_for_id(), id_fake_user_clear_cb(), id_fake_user_set_cb(), id_us_min(), make_local_action(), make_local_brush(), name_uiprefix_id(), read_libblock(), rna_def_ID(), template_id_cb(), and versions_gpencil_add_main().
#define LIB_ID_RECALC 4096 |
Definition at line 251 of file DNA_ID.h.
Referenced by animsys_write_rna_setting(), DAG_ids_clear_recalc(), DAG_ids_flush_tagged(), lib_id_recalc_tag(), read_libblock(), and rna_def_ID().
#define LIB_ID_RECALC_DATA 8192 |
Definition at line 252 of file DNA_ID.h.
Referenced by DAG_ids_clear_recalc(), DAG_ids_flush_tagged(), lib_id_recalc_data_tag(), read_libblock(), and rna_def_ID().
#define LIB_INDIRECT 2 |
Definition at line 237 of file DNA_ID.h.
Referenced by append_named_part(), BKE_library_make_local(), expand_doit(), give_base_to_groups(), give_base_to_objects(), id_lib_extern(), id_make_local(), id_us_plus(), outliner_draw_tree_element(), and template_ID().
#define LIB_LOCAL 0 |
Definition at line 235 of file DNA_ID.h.
Referenced by blo_read_file_internal(), and id_clear_lib_data().
#define LIB_NEEDLINK 32 |
Definition at line 242 of file DNA_ID.h.
Referenced by do_versions(), lib_link_action(), lib_link_armature(), lib_link_brush(), lib_link_camera(), lib_link_curve(), lib_link_group(), lib_link_image(), lib_link_ipo(), lib_link_key(), lib_link_lamp(), lib_link_latt(), lib_link_material(), lib_link_mball(), lib_link_mesh(), lib_link_movieclip(), lib_link_nodetree(), lib_link_object(), lib_link_particlesettings(), lib_link_scene(), lib_link_screen(), lib_link_sound(), lib_link_speaker(), lib_link_text(), lib_link_texture(), lib_link_vfont(), lib_link_windowmanager(), lib_link_world(), and read_libblock().
#define LIB_NEW 256 |
Definition at line 244 of file DNA_ID.h.
Referenced by BKE_library_make_local(), clear_id_newpoins(), copy_libblock(), single_mat_users_expand(), and single_tex_users_expand().
#define LIB_PRE_EXISTING 2048 |
Definition at line 249 of file DNA_ID.h.
Referenced by BKE_library_make_local(), bpy_lib_exit(), expand_doit(), give_base_to_groups(), give_base_to_objects(), and wm_link_append_exec().
#define LIB_READ 16 |
Definition at line 241 of file DNA_ID.h.
Referenced by append_id_part(), blo_read_file_internal(), expand_doit(), mainvar_count_libread_blocks(), and read_libraries().
#define LIB_TEST 8 |
Definition at line 238 of file DNA_ID.h.
Referenced by append_id_part(), and expand_main().
#define LIB_TESTEXT (LIB_TEST | LIB_EXTERN) |
Definition at line 239 of file DNA_ID.h.
Referenced by append_named_part().
#define LIB_TESTIND (LIB_TEST | LIB_INDIRECT) |
Definition at line 240 of file DNA_ID.h.
Referenced by expand_doit().
#define MAKE_ID2 | ( | c, | |
d | |||
) | ( (d)<<8 | (c) ) |
#define MAX_ID_NAME 66 |
ID is the first thing included in all serializable types. It provides a common handle to place all data in double-linked lists.
Definition at line 104 of file DNA_ID.h.
Referenced by add_named_exec(), add_object(), autocomplete_id(), background_image_add_invoke(), bpy_text_import(), bpy_text_import_name(), calculate_tface_materialname(), check_for_dupid(), convert_tfacematerial(), convert_tfacenomaterial(), copy_mball_properties(), createObjectSpace(), draw_actuatorbuttons(), drop_named_image_invoke(), drop_named_material_invoke(), ED_operatormacros_object(), ED_screen_full_toggle(), find_basis_mball(), group_create_exec(), GROUP_OT_create(), id_search_cb(), image_new_exec(), IMAGE_OT_new(), IMAGE_OT_unpack(), image_unpack_exec(), init_meta(), ipo_to_animdata(), is_mball_basis_for(), list_item_row(), make_proxy_exec(), MESH_OT_drop_named_image(), new_id(), new_node_tree_exec(), node_add_file_exec(), node_composit_buts_renderlayers(), NODE_OT_add_file(), NODE_OT_new_node_tree(), object_mouse_select_menu(), OBJECT_OT_add_named(), OBJECT_OT_drop_named_material(), OBJECT_OT_proxy_make(), OBJECT_OT_select_same_group(), object_select_same_group_exec(), outliner_buttons(), RENDER_OT_render(), render_result_exr_file_path(), rna_def_font(), rna_def_ID(), rna_def_trackingObject(), rna_def_trackingTrack(), rna_search_cb(), screen_render_scene_layer_set(), SOUND_OT_unpack(), sound_unpack_exec(), text_update_drawcache(), ui_get_but_string_max_length(), VIEW3D_OT_background_image_add(), and wm_window_match_init().
#define MAX_IDPROP_NAME 64 |
Definition at line 68 of file DNA_ID.h.
Referenced by BPy_IDGroup_SetName(), BPy_IDProperty_Map_ValidateAndCreate(), idp_generic_copy(), IDP_NewIDPArray(), and IDP_NewString().
#define MOST_SIG_BYTE 1 |
Definition at line 174 of file DNA_ID.h.
Referenced by do_gammacross_effect_byte().
#define NUM_ICON_SIZES (ICON_SIZE_PREVIEW + 1) |
Definition at line 147 of file DNA_ID.h.
Referenced by BKE_icon_changed(), BKE_previewimg_copy(), BKE_previewimg_create(), BKE_previewimg_freefunc(), direct_link_preview_image(), and ui_id_brush_render().
typedef struct IDProperty IDProperty |
typedef struct IDPropertyData IDPropertyData |
For each library file used, a Library struct is added to Main WARNING: readfile.c, expand_doit() reads this struct without DNA check!
typedef struct PreviewImage PreviewImage |
enum eIconSizes |