Home
last modified time | relevance | path

Searched refs:orientation_slots (Results 1 – 9 of 9) sorted by relevance

/dports/graphics/blender/blender-2.91.0/source/blender/editors/transform/
H A Dtransform_orientations.c67 for (int i = 0; i < ARRAY_SIZE(scene->orientation_slots); i++) { in BIF_clearTransformOrientation()
68 TransformOrientationSlot *orient_slot = &scene->orientation_slots[i]; in BIF_clearTransformOrientation()
437 scene->orientation_slots[SCE_ORIENT_DEFAULT].type = V3D_ORIENT_CUSTOM; in BIF_selectTransformOrientation()
438 scene->orientation_slots[SCE_ORIENT_DEFAULT].index_custom = index; in BIF_selectTransformOrientation()
495 const short orientation_type = scene->orientation_slots[SCE_ORIENT_DEFAULT].type; in ED_transform_calc_orientation_from_type()
496 const short orientation_index_custom = scene->orientation_slots[SCE_ORIENT_DEFAULT].index_custom; in ED_transform_calc_orientation_from_type()
H A Dtransform_ops.c170 BKE_scene_orientation_slot_set_index(&scene->orientation_slots[SCE_ORIENT_DEFAULT], orientation); in select_orientation_exec()
220 scene->orientation_slots[SCE_ORIENT_DEFAULT].index_custom); in delete_orientation_exec()
242 return ((scene->orientation_slots[SCE_ORIENT_DEFAULT].type >= V3D_ORIENT_CUSTOM) && in delete_orientation_poll()
243 (scene->orientation_slots[SCE_ORIENT_DEFAULT].index_custom != -1)); in delete_orientation_poll()
H A Dtransform_gizmo_extrude_3d.c257 ggd->data.orientation_type = scene->orientation_slots[SCE_ORIENT_DEFAULT].type; in gizmo_mesh_extrude_refresh()
H A Dtransform_gizmo_3d.c658 scene->orientation_slots[SCE_ORIENT_DEFAULT].type; in ED_transform_calc_gizmo_stats()
661 scene->orientation_slots[SCE_ORIENT_DEFAULT].index_custom; in ED_transform_calc_gizmo_stats()
1836 if (orient_slot == &scene->orientation_slots[SCE_ORIENT_DEFAULT]) { in WIDGETGROUP_gizmo_invoke_prepare()
H A Dtransform_generics.c515 TransformOrientationSlot *orient_slot = &t->scene->orientation_slots[SCE_ORIENT_DEFAULT]; in initTransInfo()
/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/intern/
H A Dscene.c216 for (size_t i = 0; i < ARRAY_SIZE(scene->orientation_slots); i++) { in scene_init_data()
217 scene->orientation_slots[i].index_custom = -1; in scene_init_data()
1369 if ((scene->orientation_slots[slot_index].flag & SELECT) == 0) { in BKE_scene_orientation_slot_get()
1372 return &scene->orientation_slots[slot_index]; in BKE_scene_orientation_slot_get()
2449 for (int i = 0; i < ARRAY_SIZE(scene->orientation_slots); i++) { in BKE_scene_transform_orientation_remove()
2450 TransformOrientationSlot *orient_slot = &scene->orientation_slots[i]; in BKE_scene_transform_orientation_remove()
/dports/graphics/blender/blender-2.91.0/source/blender/makesrna/intern/
H A Drna_scene.c1942 TransformOrientationSlot *orient_slot = &scene->orientation_slots[0]; in rna_Scene_transform_orientation_slots_begin()
1944 iter, orient_slot, sizeof(*orient_slot), ARRAY_SIZE(scene->orientation_slots), 0, NULL); in rna_Scene_transform_orientation_slots_begin()
1950 return ARRAY_SIZE(scene->orientation_slots); in rna_Scene_transform_orientation_slots_length()
2052 for (int i = 0; i < ARRAY_SIZE(scene->orientation_slots); i++) { in rna_TransformOrientationSlot_path()
2053 if (&scene->orientation_slots[i] == orientation_slot) { in rna_TransformOrientationSlot_path()
2406 if (orient_slot != &scene->orientation_slots[SCE_ORIENT_DEFAULT]) { in rna_TransformOrientationSlot_type_get()
2419 if (orient_slot != &scene->orientation_slots[SCE_ORIENT_DEFAULT]) { in rna_TransformOrientationSlot_type_set()
2508 bool include_default = (orient_slot != &scene->orientation_slots[SCE_ORIENT_DEFAULT]); in rna_TransformOrientation_with_scene_itemf()
/dports/graphics/blender/blender-2.91.0/source/blender/makesdna/
H A DDNA_scene_types.h1727 TransformOrientationSlot orientation_slots[4]; member
/dports/graphics/blender/blender-2.91.0/source/blender/blenloader/intern/
H A Dversioning_280.c3537 for (int i = 0; i < ARRAY_SIZE(scene->orientation_slots); i++) { in blo_do_versions_280()
3538 scene->orientation_slots[i].index_custom = -1; in blo_do_versions_280()