Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_api/spacetypes.c
| Show First 20 Lines • Show All 136 Lines • ▼ Show 20 Lines | void ED_spacetypes_init(void) | ||||
| ED_gizmotypes_move_3d(); | ED_gizmotypes_move_3d(); | ||||
| ED_gizmotypes_arrow_3d(); | ED_gizmotypes_arrow_3d(); | ||||
| ED_gizmotypes_preselect_3d(); | ED_gizmotypes_preselect_3d(); | ||||
| ED_gizmotypes_primitive_3d(); | ED_gizmotypes_primitive_3d(); | ||||
| ED_gizmotypes_blank_3d(); | ED_gizmotypes_blank_3d(); | ||||
| ED_gizmotypes_cage_2d(); | ED_gizmotypes_cage_2d(); | ||||
| ED_gizmotypes_cage_3d(); | ED_gizmotypes_cage_3d(); | ||||
| ED_gizmotypes_snap_3d(); | ED_gizmotypes_snap_3d(); | ||||
| ED_gizmotypes_placement_3d(); | |||||
| /* Register types for operators and gizmos. */ | /* Register types for operators and gizmos. */ | ||||
| const ListBase *spacetypes = BKE_spacetypes_list(); | const ListBase *spacetypes = BKE_spacetypes_list(); | ||||
| LISTBASE_FOREACH (const SpaceType *, type, spacetypes) { | LISTBASE_FOREACH (const SpaceType *, type, spacetypes) { | ||||
| /* Initialize gizmo types first, operator types need them. */ | /* Initialize gizmo types first, operator types need them. */ | ||||
| if (type->gizmos) { | if (type->gizmos) { | ||||
| type->gizmos(); | type->gizmos(); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 199 Lines • Show Last 20 Lines | |||||