02da5ecfed
These are not animated and are best not change names like this too late in the release. ActionGroup.selected -> select: boolean Action Group is selected BezierSplinePoint.hidden -> hide: boolean Visibility status BezierSplinePoint.selected_control_point -> select_control_point: boolean Control point selection status BezierSplinePoint.selected_handle1 -> select_left_handle: boolean Handle 1 selection status BezierSplinePoint.selected_handle2 -> select_right_handle: boolean Handle 2 selection status Bone.restrict_select -> hide_select: boolean Bone is able to be selected Bone.selected -> select: boolean CurveMapPoint.selected -> select: boolean Selection state of the curve point EditBone.restrict_select -> hide_select: boolean Bone is able to be selected EditBone.selected -> select: boolean EditBone.selected_head -> select_head: boolean EditBone.selected_tail -> select_tail: boolean EditBone.locked -> lock: boolean Bone is not able to be transformed when in Edit Mode EditBone.hidden -> hide: boolean Bone is not visible when in Edit Mode NEGATE * FCurve.disabled -> enabled: boolean F-Curve could not be evaluated in past, so should be skipped when evaluating FCurve.locked -> lock: boolean F-Curve's settings cannot be edited FCurve.muted -> mute: boolean F-Curve is not evaluated FCurve.selected -> select: boolean F-Curve is selected for editing NEGATE * FCurve.visible -> hide: boolean F-Curve and its keyframes are shown in the Graph Editor graphs FCurveSample.selected -> select: boolean Selection status GPencilFrame.selected -> select: boolean Frame is selected for editing in the DopeSheet GPencilLayer.locked -> lock: boolean Protect layer from further editing and/or frame changes GPencilLayer.selected -> select: boolean Layer is selected for editing in the DopeSheet Keyframe.selected -> select: boolean Control point selection status Keyframe.selected_handle1 -> select_left_handle: boolean Handle 1 selection status Keyframe.selected_handle2 -> select_right_handle: boolean Handle 2 selection status MeshEdge.selected -> select: boolean MeshEdge.hidden -> hide: boolean MeshFace.hidden -> hide: boolean MeshFace.selected -> select: boolean MeshVertex.hidden -> hide: boolean MeshVertex.selected -> select: boolean MotionPathVert.selected -> select: boolean Path point is selected for editing NlaStrip.selected -> select: boolean NLA Strip is selected NlaTrack.locked -> lock: boolean NLA Track is locked NlaTrack.muted -> mute: boolean NLA Track is not evaluated NlaTrack.selected -> select: boolean NLA Track is selected Object.restrict_render -> hide_render: boolean Restrict renderability Object.restrict_select -> hide_select: boolean Restrict selection in the viewport Object.restrict_view -> hide: boolean Restrict visibility in the viewport Object.selected -> select: boolean Object selection state ObjectBase.selected -> select: boolean Object base selection state PoseBone.selected -> select: boolean Sequence.right_handle_selected -> select_right_handle: boolean Sequence.selected -> select: boolean SplinePoint.selected -> select_control_point: boolean Selection status TimelineMarker.selected -> select: boolean Marker selection state Sequence.left_handle_selected -> select_left_handle: boolean ActionGroup.locked -> lock: boolean Action Group is locked Bone.hidden -> hide: boolean Bone is not visible when it is not in Edit Mode (i.e. in Object or Pose Modes) SplinePoint.hidden -> hide: boolean Visibility status FModifier.muted -> mute: boolean F-Curve Modifier will not be evaluated note: rebaned uv_select to select_uv
227 lines
9.6 KiB
C++
227 lines
9.6 KiB
C++
/**
|
|
* $Id$
|
|
*
|
|
* ***** BEGIN GPL LICENSE BLOCK *****
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 2
|
|
* of the License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software Foundation,
|
|
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
*
|
|
* The Original Code is Copyright (C) 2008 Blender Foundation.
|
|
* All rights reserved.
|
|
*
|
|
*
|
|
* Contributor(s): Blender Foundation
|
|
*
|
|
* ***** END GPL LICENSE BLOCK *****
|
|
*/
|
|
#ifndef ED_OBJECT_INTERN_H
|
|
#define ED_OBJECT_INTERN_H
|
|
|
|
struct wmOperatorType;
|
|
struct KeyBlock;
|
|
struct Lattice;
|
|
struct Curve;
|
|
struct Object;
|
|
struct Mesh;
|
|
struct HookModifierData;
|
|
|
|
/* add hook menu */
|
|
enum {
|
|
OBJECT_ADDHOOK_NEWOB = 1,
|
|
OBJECT_ADDHOOK_SELOB,
|
|
} eObject_Hook_Add_Mode;
|
|
|
|
/* internal exports only */
|
|
|
|
/* object_transform.c */
|
|
void OBJECT_OT_location_clear(struct wmOperatorType *ot);
|
|
void OBJECT_OT_rotation_clear(struct wmOperatorType *ot);
|
|
void OBJECT_OT_scale_clear(struct wmOperatorType *ot);
|
|
void OBJECT_OT_origin_clear(struct wmOperatorType *ot);
|
|
void OBJECT_OT_visual_transform_apply(struct wmOperatorType *ot);
|
|
void OBJECT_OT_location_apply(struct wmOperatorType *ot);
|
|
void OBJECT_OT_scale_apply(struct wmOperatorType *ot);
|
|
void OBJECT_OT_rotation_apply(struct wmOperatorType *ot);
|
|
void OBJECT_OT_origin_set(struct wmOperatorType *ot);
|
|
|
|
/* object_relations.c */
|
|
void OBJECT_OT_parent_set(struct wmOperatorType *ot);
|
|
void OBJECT_OT_parent_no_inverse_set(struct wmOperatorType *ot);
|
|
void OBJECT_OT_parent_clear(struct wmOperatorType *ot);
|
|
void OBJECT_OT_vertex_parent_set(struct wmOperatorType *ot);
|
|
void OBJECT_OT_track_set(struct wmOperatorType *ot);
|
|
void OBJECT_OT_track_clear(struct wmOperatorType *ot);
|
|
void OBJECT_OT_slow_parent_set(struct wmOperatorType *ot);
|
|
void OBJECT_OT_slow_parent_clear(struct wmOperatorType *ot);
|
|
void OBJECT_OT_make_local(struct wmOperatorType *ot);
|
|
void OBJECT_OT_make_single_user(struct wmOperatorType *ot);
|
|
void OBJECT_OT_make_links_scene(struct wmOperatorType *ot);
|
|
void OBJECT_OT_make_links_data(struct wmOperatorType *ot);
|
|
void OBJECT_OT_move_to_layer(struct wmOperatorType *ot);
|
|
void OBJECT_OT_drop_named_material(struct wmOperatorType *ot);
|
|
|
|
/* object_edit.c */
|
|
void OBJECT_OT_mode_set(struct wmOperatorType *ot);
|
|
void OBJECT_OT_editmode_toggle(struct wmOperatorType *ot);
|
|
void OBJECT_OT_posemode_toggle(struct wmOperatorType *ot);
|
|
void OBJECT_OT_hide_view_set(struct wmOperatorType *ot);
|
|
void OBJECT_OT_hide_view_clear(struct wmOperatorType *ot);
|
|
void OBJECT_OT_hide_render_set(struct wmOperatorType *ot);
|
|
void OBJECT_OT_hide_render_clear(struct wmOperatorType *ot);
|
|
void OBJECT_OT_proxy_make(struct wmOperatorType *ot);
|
|
void OBJECT_OT_shade_smooth(struct wmOperatorType *ot);
|
|
void OBJECT_OT_shade_flat(struct wmOperatorType *ot);
|
|
void OBJECT_OT_paths_calculate(struct wmOperatorType *ot);
|
|
void OBJECT_OT_paths_clear(struct wmOperatorType *ot);
|
|
|
|
void OBJECT_OT_game_property_new(struct wmOperatorType *ot);
|
|
void OBJECT_OT_game_property_remove(struct wmOperatorType *ot);
|
|
void OBJECT_OT_game_property_copy(struct wmOperatorType *ot);
|
|
void OBJECT_OT_game_property_clear(struct wmOperatorType *ot);
|
|
void OBJECT_OT_logic_bricks_copy(struct wmOperatorType *ot);
|
|
|
|
/* object_select.c */
|
|
void OBJECT_OT_select_all(struct wmOperatorType *ot);
|
|
void OBJECT_OT_select_inverse(struct wmOperatorType *ot);
|
|
void OBJECT_OT_select_random(struct wmOperatorType *ot);
|
|
void OBJECT_OT_select_by_type(struct wmOperatorType *ot);
|
|
void OBJECT_OT_select_by_layer(struct wmOperatorType *ot);
|
|
void OBJECT_OT_select_linked(struct wmOperatorType *ot);
|
|
void OBJECT_OT_select_grouped(struct wmOperatorType *ot);
|
|
void OBJECT_OT_select_mirror(struct wmOperatorType *ot);
|
|
void OBJECT_OT_select_name(struct wmOperatorType *ot);
|
|
void OBJECT_OT_select_same_group(struct wmOperatorType *ot);
|
|
|
|
/* object_add.c */
|
|
void OBJECT_OT_add(struct wmOperatorType *ot);
|
|
void OBJECT_OT_add_named(struct wmOperatorType *ot);
|
|
void OBJECT_OT_metaball_add(struct wmOperatorType *ot);
|
|
void OBJECT_OT_text_add(struct wmOperatorType *ot);
|
|
void OBJECT_OT_armature_add(struct wmOperatorType *ot);
|
|
void OBJECT_OT_lamp_add(struct wmOperatorType *ot);
|
|
void OBJECT_OT_effector_add(struct wmOperatorType *ot);
|
|
void OBJECT_OT_camera_add(struct wmOperatorType *ot);
|
|
void OBJECT_OT_group_instance_add(struct wmOperatorType *ot);
|
|
|
|
void OBJECT_OT_duplicates_make_real(struct wmOperatorType *ot);
|
|
void OBJECT_OT_duplicate(struct wmOperatorType *ot);
|
|
void OBJECT_OT_delete(struct wmOperatorType *ot);
|
|
void OBJECT_OT_join(struct wmOperatorType *ot);
|
|
void OBJECT_OT_join_shapes(struct wmOperatorType *ot);
|
|
void OBJECT_OT_convert(struct wmOperatorType *ot);
|
|
|
|
/* object_hook.c */
|
|
void OBJECT_OT_hook_add_selobj(struct wmOperatorType *ot);
|
|
void OBJECT_OT_hook_add_newobj(struct wmOperatorType *ot);
|
|
void OBJECT_OT_hook_remove(struct wmOperatorType *ot);
|
|
void OBJECT_OT_hook_select(struct wmOperatorType *ot);
|
|
void OBJECT_OT_hook_assign(struct wmOperatorType *ot);
|
|
void OBJECT_OT_hook_reset(struct wmOperatorType *ot);
|
|
void OBJECT_OT_hook_recenter(struct wmOperatorType *ot);
|
|
|
|
/* object_lattice.c */
|
|
void free_editLatt(Object *ob);
|
|
void make_editLatt(Object *obedit);
|
|
void load_editLatt(Object *obedit);
|
|
void remake_editLatt(Object *obedit);
|
|
|
|
void LATTICE_OT_select_all(struct wmOperatorType *ot);
|
|
void LATTICE_OT_make_regular(struct wmOperatorType *ot);
|
|
|
|
/* object_group.c */
|
|
void GROUP_OT_create(struct wmOperatorType *ot);
|
|
void GROUP_OT_objects_remove(struct wmOperatorType *ot);
|
|
void GROUP_OT_objects_add_active(struct wmOperatorType *ot);
|
|
void GROUP_OT_objects_remove_active(struct wmOperatorType *ot);
|
|
|
|
/* object_modifier.c */
|
|
void OBJECT_OT_modifier_add(struct wmOperatorType *ot);
|
|
void OBJECT_OT_modifier_remove(struct wmOperatorType *ot);
|
|
void OBJECT_OT_modifier_move_up(struct wmOperatorType *ot);
|
|
void OBJECT_OT_modifier_move_down(struct wmOperatorType *ot);
|
|
void OBJECT_OT_modifier_apply(struct wmOperatorType *ot);
|
|
void OBJECT_OT_modifier_convert(struct wmOperatorType *ot);
|
|
void OBJECT_OT_modifier_copy(struct wmOperatorType *ot);
|
|
void OBJECT_OT_multires_subdivide(struct wmOperatorType *ot);
|
|
void OBJECT_OT_multires_reshape(struct wmOperatorType *ot);
|
|
void OBJECT_OT_multires_higher_levels_delete(struct wmOperatorType *ot);
|
|
void OBJECT_OT_multires_external_save(struct wmOperatorType *ot);
|
|
void OBJECT_OT_multires_external_pack(struct wmOperatorType *ot);
|
|
void OBJECT_OT_meshdeform_bind(struct wmOperatorType *ot);
|
|
void OBJECT_OT_explode_refresh(struct wmOperatorType *ot);
|
|
|
|
/* object_constraint.c */
|
|
void OBJECT_OT_constraint_add(struct wmOperatorType *ot);
|
|
void OBJECT_OT_constraint_add_with_targets(struct wmOperatorType *ot);
|
|
void POSE_OT_constraint_add(struct wmOperatorType *ot);
|
|
void POSE_OT_constraint_add_with_targets(struct wmOperatorType *ot);
|
|
|
|
void OBJECT_OT_constraints_copy(struct wmOperatorType *ot);
|
|
void POSE_OT_constraints_copy(struct wmOperatorType *ot);
|
|
|
|
void OBJECT_OT_constraints_clear(struct wmOperatorType *ot);
|
|
void POSE_OT_constraints_clear(struct wmOperatorType *ot);
|
|
|
|
void POSE_OT_ik_add(struct wmOperatorType *ot);
|
|
void POSE_OT_ik_clear(struct wmOperatorType *ot);
|
|
|
|
void CONSTRAINT_OT_delete(struct wmOperatorType *ot);
|
|
|
|
void CONSTRAINT_OT_move_up(struct wmOperatorType *ot);
|
|
void CONSTRAINT_OT_move_down(struct wmOperatorType *ot);
|
|
|
|
void CONSTRAINT_OT_stretchto_reset(struct wmOperatorType *ot);
|
|
void CONSTRAINT_OT_limitdistance_reset(struct wmOperatorType *ot);
|
|
void CONSTRAINT_OT_childof_set_inverse(struct wmOperatorType *ot);
|
|
void CONSTRAINT_OT_childof_clear_inverse(struct wmOperatorType *ot);
|
|
|
|
/* object_vgroup.c */
|
|
void OBJECT_OT_vertex_group_add(struct wmOperatorType *ot);
|
|
void OBJECT_OT_vertex_group_remove(struct wmOperatorType *ot);
|
|
void OBJECT_OT_vertex_group_assign(struct wmOperatorType *ot);
|
|
void OBJECT_OT_vertex_group_remove_from(struct wmOperatorType *ot);
|
|
void OBJECT_OT_vertex_group_select(struct wmOperatorType *ot);
|
|
void OBJECT_OT_vertex_group_deselect(struct wmOperatorType *ot);
|
|
void OBJECT_OT_vertex_group_copy_to_linked(struct wmOperatorType *ot);
|
|
void OBJECT_OT_vertex_group_copy_to_selected(struct wmOperatorType *ot);
|
|
void OBJECT_OT_vertex_group_copy(struct wmOperatorType *ot);
|
|
void OBJECT_OT_vertex_group_normalize(struct wmOperatorType *ot);
|
|
void OBJECT_OT_vertex_group_normalize_all(struct wmOperatorType *ot);
|
|
void OBJECT_OT_vertex_group_levels(struct wmOperatorType *ot);
|
|
void OBJECT_OT_vertex_group_invert(struct wmOperatorType *ot);
|
|
void OBJECT_OT_vertex_group_blend(struct wmOperatorType *ot);
|
|
void OBJECT_OT_vertex_group_clean(struct wmOperatorType *ot);
|
|
void OBJECT_OT_vertex_group_mirror(struct wmOperatorType *ot);
|
|
void OBJECT_OT_vertex_group_set_active(struct wmOperatorType *ot);
|
|
void OBJECT_OT_vertex_group_sort(struct wmOperatorType *ot);
|
|
void OBJECT_OT_vertex_group_move(struct wmOperatorType *ot);
|
|
|
|
/* object_shapekey.c */
|
|
void OBJECT_OT_shape_key_add(struct wmOperatorType *ot);
|
|
void OBJECT_OT_shape_key_remove(struct wmOperatorType *ot);
|
|
void OBJECT_OT_shape_key_clear(struct wmOperatorType *ot);
|
|
void OBJECT_OT_shape_key_mirror(struct wmOperatorType *ot);
|
|
void OBJECT_OT_shape_key_move(struct wmOperatorType *ot);
|
|
|
|
/* object_group.c */
|
|
void OBJECT_OT_group_add(struct wmOperatorType *ot);
|
|
void OBJECT_OT_group_link(struct wmOperatorType *ot);
|
|
void OBJECT_OT_group_remove(struct wmOperatorType *ot);
|
|
|
|
/* object_bake.c */
|
|
void OBJECT_OT_bake_image(wmOperatorType *ot);
|
|
|
|
#endif /* ED_OBJECT_INTERN_H */
|
|
|