batch remove .'s used with RNA_def_struct_ui_text
This commit is contained in:
@@ -1039,7 +1039,7 @@ void ANIM_OT_channels_delete (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Delete Channels";
|
||||
ot->idname= "ANIM_OT_channels_delete";
|
||||
ot->description= "Delete all selected animation channels.";
|
||||
ot->description= "Delete all selected animation channels";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= animchannels_delete_exec;
|
||||
@@ -1116,7 +1116,7 @@ void ANIM_OT_channels_visibility_set (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Set Visibility";
|
||||
ot->idname= "ANIM_OT_channels_visibility_set";
|
||||
ot->description= "Make only the selected animation channels visible in the Graph Editor.";
|
||||
ot->description= "Make only the selected animation channels visible in the Graph Editor";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= animchannels_visibility_set_exec;
|
||||
@@ -1189,7 +1189,7 @@ void ANIM_OT_channels_visibility_toggle (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Toggle Visibility";
|
||||
ot->idname= "ANIM_OT_channels_visibility_toggle";
|
||||
ot->description= "Toggle visibility in Graph Editor of all selected animation channels.";
|
||||
ot->description= "Toggle visibility in Graph Editor of all selected animation channels";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= animchannels_visibility_toggle_exec;
|
||||
@@ -1320,7 +1320,7 @@ void ANIM_OT_channels_setting_enable (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Enable Channel Setting";
|
||||
ot->idname= "ANIM_OT_channels_setting_enable";
|
||||
ot->description= "Enable specified setting on all selected animation channels.";
|
||||
ot->description= "Enable specified setting on all selected animation channels";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= WM_menu_invoke;
|
||||
@@ -1342,7 +1342,7 @@ void ANIM_OT_channels_setting_disable (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Disable Channel Setting";
|
||||
ot->idname= "ANIM_OT_channels_setting_disable";
|
||||
ot->description= "Disable specified setting on all selected animation channels.";
|
||||
ot->description= "Disable specified setting on all selected animation channels";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= WM_menu_invoke;
|
||||
@@ -1364,7 +1364,7 @@ void ANIM_OT_channels_setting_invert (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Invert Channel Setting";
|
||||
ot->idname= "ANIM_OT_channels_setting_toggle";
|
||||
ot->description= "Invert specified setting on all selected animation channels.";
|
||||
ot->description= "Invert specified setting on all selected animation channels";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= WM_menu_invoke;
|
||||
@@ -1386,7 +1386,7 @@ void ANIM_OT_channels_setting_toggle (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Toggle Channel Setting";
|
||||
ot->idname= "ANIM_OT_channels_setting_toggle";
|
||||
ot->description= "Toggle specified setting on all selected animation channels.";
|
||||
ot->description= "Toggle specified setting on all selected animation channels";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= WM_menu_invoke;
|
||||
@@ -1408,7 +1408,7 @@ void ANIM_OT_channels_editable_toggle (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Toggle Channel Editability";
|
||||
ot->idname= "ANIM_OT_channels_editable_toggle";
|
||||
ot->description= "Toggle editability of selected channels.";
|
||||
ot->description= "Toggle editability of selected channels";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= animchannels_setflag_exec;
|
||||
@@ -1453,7 +1453,7 @@ void ANIM_OT_channels_expand (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Expand Channels";
|
||||
ot->idname= "ANIM_OT_channels_expand";
|
||||
ot->description= "Expand (i.e. open) all selected expandable animation channels.";
|
||||
ot->description= "Expand (i.e. open) all selected expandable animation channels";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= animchannels_expand_exec;
|
||||
@@ -1495,7 +1495,7 @@ void ANIM_OT_channels_collapse (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Collapse Channels";
|
||||
ot->idname= "ANIM_OT_channels_collapse";
|
||||
ot->description= "Collapse (i.e. close) all selected expandable animation channels.";
|
||||
ot->description= "Collapse (i.e. close) all selected expandable animation channels";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= animchannels_collapse_exec;
|
||||
@@ -1535,7 +1535,7 @@ void ANIM_OT_channels_select_all_toggle (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Select All";
|
||||
ot->idname= "ANIM_OT_channels_select_all_toggle";
|
||||
ot->description= "Toggle selection of all animation channels.";
|
||||
ot->description= "Toggle selection of all animation channels";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= animchannels_deselectall_exec;
|
||||
@@ -1637,7 +1637,7 @@ void ANIM_OT_channels_select_border(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Border Select";
|
||||
ot->idname= "ANIM_OT_channels_select_border";
|
||||
ot->description= "Select all animation channels within the specified region.";
|
||||
ot->description= "Select all animation channels within the specified region";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= WM_border_select_invoke;
|
||||
@@ -1966,7 +1966,7 @@ void ANIM_OT_channels_click (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Mouse Click on Channels";
|
||||
ot->idname= "ANIM_OT_channels_click";
|
||||
ot->description= "Handle mouse-clicks over animation channels.";
|
||||
ot->description= "Handle mouse-clicks over animation channels";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= animchannels_mouseclick_invoke;
|
||||
|
||||
@@ -365,7 +365,7 @@ static void MARKER_OT_add(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Add Time Marker";
|
||||
ot->description= "Add a new time marker.";
|
||||
ot->description= "Add a new time marker";
|
||||
ot->idname= "MARKER_OT_add";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -619,7 +619,7 @@ static void MARKER_OT_move(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Move Time Marker";
|
||||
ot->description= "Move selected time marker(s).";
|
||||
ot->description= "Move selected time marker(s)";
|
||||
ot->idname= "MARKER_OT_move";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -707,7 +707,7 @@ static void MARKER_OT_duplicate(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Duplicate Time Marker";
|
||||
ot->description= "Duplicate selected time marker(s).";
|
||||
ot->description= "Duplicate selected time marker(s)";
|
||||
ot->idname= "MARKER_OT_duplicate";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -784,7 +784,7 @@ static void MARKER_OT_select(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Select Time Marker";
|
||||
ot->description= "Select time marker(s).";
|
||||
ot->description= "Select time marker(s)";
|
||||
ot->idname= "MARKER_OT_select";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -865,7 +865,7 @@ static void MARKER_OT_select_border(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Marker Border select";
|
||||
ot->description= "Select all time markers using border selection.";
|
||||
ot->description= "Select all time markers using border selection";
|
||||
ot->idname= "MARKER_OT_select_border";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -930,7 +930,7 @@ static void MARKER_OT_select_all(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "(De)select all markers";
|
||||
ot->description= "Change selection of all time markers.";
|
||||
ot->description= "Change selection of all time markers";
|
||||
ot->idname= "MARKER_OT_select_all";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -975,7 +975,7 @@ static void MARKER_OT_delete(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Delete Markers";
|
||||
ot->description= "Delete selected time marker(s).";
|
||||
ot->description= "Delete selected time marker(s)";
|
||||
ot->idname= "MARKER_OT_delete";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1021,7 +1021,7 @@ static void MARKER_OT_make_links_scene(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Make Links to Scene";
|
||||
ot->description= "Link markers to another scene.";
|
||||
ot->description= "Link markers to another scene";
|
||||
ot->idname= "MARKER_OT_make_links_scene";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1067,7 +1067,7 @@ static void MARKER_OT_camera_bind(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Bind Camera to Markers";
|
||||
ot->description= "Bind the active camera to selected markers(s).";
|
||||
ot->description= "Bind the active camera to selected markers(s)";
|
||||
ot->idname= "MARKER_OT_camera_bind";
|
||||
|
||||
/* api callbacks */
|
||||
|
||||
@@ -165,7 +165,7 @@ void ANIM_OT_change_frame(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Change frame";
|
||||
ot->idname= "ANIM_OT_change_frame";
|
||||
ot->description= "Interactively change the current frame number.";
|
||||
ot->description= "Interactively change the current frame number";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= change_frame_exec;
|
||||
|
||||
@@ -415,7 +415,7 @@ void ANIM_OT_driver_button_add (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Add Driver";
|
||||
ot->idname= "ANIM_OT_driver_button_add";
|
||||
ot->description= "Add driver(s) for the property(s) connected represented by the highlighted button.";
|
||||
ot->description= "Add driver(s) for the property(s) connected represented by the highlighted button";
|
||||
|
||||
/* callbacks */
|
||||
ot->exec= add_driver_button_exec;
|
||||
@@ -478,7 +478,7 @@ void ANIM_OT_driver_button_remove (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Remove Driver";
|
||||
ot->idname= "ANIM_OT_driver_button_remove";
|
||||
ot->description= "Remove the driver(s) for the property(s) connected represented by the highlighted button.";
|
||||
ot->description= "Remove the driver(s) for the property(s) connected represented by the highlighted button";
|
||||
|
||||
/* callbacks */
|
||||
ot->exec= remove_driver_button_exec;
|
||||
@@ -525,7 +525,7 @@ void ANIM_OT_copy_driver_button (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Copy Driver";
|
||||
ot->idname= "ANIM_OT_copy_driver_button";
|
||||
ot->description= "Copy the driver for the highlighted button.";
|
||||
ot->description= "Copy the driver for the highlighted button";
|
||||
|
||||
/* callbacks */
|
||||
ot->exec= copy_driver_button_exec;
|
||||
@@ -569,7 +569,7 @@ void ANIM_OT_paste_driver_button (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Paste Driver";
|
||||
ot->idname= "ANIM_OT_paste_driver_button";
|
||||
ot->description= "Paste the driver in the copy/paste buffer for the highlighted button.";
|
||||
ot->description= "Paste the driver in the copy/paste buffer for the highlighted button";
|
||||
|
||||
/* callbacks */
|
||||
ot->exec= paste_driver_button_exec;
|
||||
|
||||
@@ -1096,7 +1096,7 @@ void ANIM_OT_keyframe_insert (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Insert Keyframe";
|
||||
ot->idname= "ANIM_OT_keyframe_insert";
|
||||
ot->description= "Insert keyframes on the current frame for all properties in the specified Keying Set.";
|
||||
ot->description= "Insert keyframes on the current frame for all properties in the specified Keying Set";
|
||||
|
||||
/* callbacks */
|
||||
ot->exec= insert_key_exec;
|
||||
@@ -1283,7 +1283,7 @@ void ANIM_OT_keyframe_delete (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Delete Keyframe";
|
||||
ot->idname= "ANIM_OT_keyframe_delete";
|
||||
ot->description= "Delete keyframes on the current frame for all properties in the specified Keying Set.";
|
||||
ot->description= "Delete keyframes on the current frame for all properties in the specified Keying Set";
|
||||
|
||||
/* callbacks */
|
||||
ot->exec= delete_key_exec;
|
||||
|
||||
@@ -152,7 +152,7 @@ void ANIM_OT_keying_set_add (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Add Empty Keying Set";
|
||||
ot->idname= "ANIM_OT_keying_set_add";
|
||||
ot->description= "Add a new (empty) Keying Set to the active Scene.";
|
||||
ot->description= "Add a new (empty) Keying Set to the active Scene";
|
||||
|
||||
/* callbacks */
|
||||
ot->exec= add_default_keyingset_exec;
|
||||
@@ -195,7 +195,7 @@ void ANIM_OT_keying_set_remove (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Removed Active Keying Set";
|
||||
ot->idname= "ANIM_OT_keying_set_remove";
|
||||
ot->description= "Remove the active Keying Set.";
|
||||
ot->description= "Remove the active Keying Set";
|
||||
|
||||
/* callbacks */
|
||||
ot->exec= remove_active_keyingset_exec;
|
||||
@@ -286,7 +286,7 @@ void ANIM_OT_keying_set_path_remove (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Remove Active Keying Set Path";
|
||||
ot->idname= "ANIM_OT_keying_set_path_remove";
|
||||
ot->description= "Remove active Path from active Keying Set.";
|
||||
ot->description= "Remove active Path from active Keying Set";
|
||||
|
||||
/* callbacks */
|
||||
ot->exec= remove_active_ks_path_exec;
|
||||
|
||||
@@ -642,7 +642,7 @@ void POSE_OT_apply (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Apply Pose as Rest Pose";
|
||||
ot->idname= "POSE_OT_apply";
|
||||
ot->description= "Apply the current pose as the new rest pose.";
|
||||
ot->description= "Apply the current pose as the new rest pose";
|
||||
|
||||
/* callbacks */
|
||||
ot->exec= apply_armature_pose2bones_exec;
|
||||
@@ -1142,7 +1142,7 @@ void ARMATURE_OT_separate (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Separate Bones";
|
||||
ot->idname= "ARMATURE_OT_separate";
|
||||
ot->description= "Isolate selected bones into a separate armature.";
|
||||
ot->description= "Isolate selected bones into a separate armature";
|
||||
|
||||
/* callbacks */
|
||||
ot->invoke= WM_operator_confirm;
|
||||
@@ -1374,7 +1374,7 @@ void ARMATURE_OT_flags_set (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Set Bone Flags";
|
||||
ot->idname= "ARMATURE_OT_flags_set";
|
||||
ot->description= "Set flags for armature bones.";
|
||||
ot->description= "Set flags for armature bones";
|
||||
|
||||
/* callbacks */
|
||||
ot->invoke= WM_menu_invoke;
|
||||
@@ -1394,7 +1394,7 @@ void POSE_OT_flags_set (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Set Bone Flags";
|
||||
ot->idname= "POSE_OT_flags_set";
|
||||
ot->description= "Set flags for armature bones.";
|
||||
ot->description= "Set flags for armature bones";
|
||||
|
||||
/* callbacks */
|
||||
ot->invoke= WM_menu_invoke;
|
||||
@@ -3023,7 +3023,7 @@ void ARMATURE_OT_fill (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Fill Between Joints";
|
||||
ot->idname= "ARMATURE_OT_fill";
|
||||
ot->description= "Add bone between selected joint(s) and/or 3D-Cursor.";
|
||||
ot->description= "Add bone between selected joint(s) and/or 3D-Cursor";
|
||||
|
||||
/* callbacks */
|
||||
ot->exec= armature_fill_bones_exec;
|
||||
@@ -3191,7 +3191,7 @@ void ARMATURE_OT_merge (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Merge Bones";
|
||||
ot->idname= "ARMATURE_OT_merge";
|
||||
ot->description= "Merge continuous chains of selected bones.";
|
||||
ot->description= "Merge continuous chains of selected bones";
|
||||
|
||||
/* callbacks */
|
||||
ot->invoke= WM_menu_invoke;
|
||||
@@ -4279,7 +4279,7 @@ void ARMATURE_OT_align(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Align Bones";
|
||||
ot->idname= "ARMATURE_OT_align";
|
||||
ot->description= "Align selected bones to the active bone (or to their parent).";
|
||||
ot->description= "Align selected bones to the active bone (or to their parent)";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke = WM_operator_confirm;
|
||||
@@ -5508,7 +5508,7 @@ void ARMATURE_OT_flip_names (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Flip Names";
|
||||
ot->idname= "ARMATURE_OT_flip_names";
|
||||
ot->description= "Flips (and corrects) the names of selected bones.";
|
||||
ot->description= "Flips (and corrects) the names of selected bones";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= armature_flip_names_exec;
|
||||
@@ -5560,7 +5560,7 @@ void ARMATURE_OT_autoside_names (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "AutoName by Axis";
|
||||
ot->idname= "ARMATURE_OT_autoside_names";
|
||||
ot->description= "Automatically renames the selected bones according to which side of the target axis they fall on.";
|
||||
ot->description= "Automatically renames the selected bones according to which side of the target axis they fall on";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= WM_menu_invoke;
|
||||
|
||||
@@ -862,7 +862,7 @@ void POSE_OT_relax (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Relax Pose";
|
||||
ot->idname= "POSE_OT_relax";
|
||||
ot->description= "Make the current pose more similar to its surrounding ones.";
|
||||
ot->description= "Make the current pose more similar to its surrounding ones";
|
||||
|
||||
/* callbacks */
|
||||
ot->exec= pose_slide_relax_exec;
|
||||
@@ -919,7 +919,7 @@ void POSE_OT_breakdown (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Pose Breakdowner";
|
||||
ot->idname= "POSE_OT_breakdown";
|
||||
ot->description= "Create a suitable breakdown pose on the current frame.";
|
||||
ot->description= "Create a suitable breakdown pose on the current frame";
|
||||
|
||||
/* callbacks */
|
||||
ot->exec= pose_slide_breakdown_exec;
|
||||
|
||||
@@ -260,7 +260,7 @@ void POSE_OT_paths_calculate (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Calculate Bone Paths";
|
||||
ot->idname= "POSE_OT_paths_calculate";
|
||||
ot->description= "Calculate paths for the selected bones.";
|
||||
ot->description= "Calculate paths for the selected bones";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= pose_calculate_paths_exec;
|
||||
@@ -321,7 +321,7 @@ void POSE_OT_paths_clear (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Clear Bone Paths";
|
||||
ot->idname= "POSE_OT_paths_clear";
|
||||
ot->description= "Clear path caches for selected bones.";
|
||||
ot->description= "Clear path caches for selected bones";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= pose_clear_paths_exec;
|
||||
@@ -615,7 +615,7 @@ void POSE_OT_select_grouped (wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Select Grouped";
|
||||
ot->description = "Select all visible bones grouped by various properties.";
|
||||
ot->description = "Select all visible bones grouped by various properties";
|
||||
ot->idname= "POSE_OT_select_grouped";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -876,7 +876,7 @@ void POSE_OT_copy (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Copy Pose";
|
||||
ot->idname= "POSE_OT_copy";
|
||||
ot->description= "Copies the current pose of the selected bones to copy/paste buffer.";
|
||||
ot->description= "Copies the current pose of the selected bones to copy/paste buffer";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= pose_copy_exec;
|
||||
@@ -1053,7 +1053,7 @@ void POSE_OT_paste (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Paste Pose";
|
||||
ot->idname= "POSE_OT_paste";
|
||||
ot->description= "Pastes the stored pose on to the current pose.";
|
||||
ot->description= "Pastes the stored pose on to the current pose";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= pose_paste_exec;
|
||||
@@ -1098,7 +1098,7 @@ void POSE_OT_group_add (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Add Bone Group";
|
||||
ot->idname= "POSE_OT_group_add";
|
||||
ot->description= "Add a new bone group.";
|
||||
ot->description= "Add a new bone group";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= pose_group_add_exec;
|
||||
@@ -1138,7 +1138,7 @@ void POSE_OT_group_remove (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Remove Bone Group";
|
||||
ot->idname= "POSE_OT_group_remove";
|
||||
ot->description= "Removes the active bone group.";
|
||||
ot->description= "Removes the active bone group";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= pose_group_remove_exec;
|
||||
@@ -1254,7 +1254,7 @@ void POSE_OT_group_assign (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Add Selected to Bone Group";
|
||||
ot->idname= "POSE_OT_group_assign";
|
||||
ot->description= "Add selected bones to the chosen bone group.";
|
||||
ot->description= "Add selected bones to the chosen bone group";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= pose_groups_menu_invoke;
|
||||
@@ -1367,7 +1367,7 @@ void POSE_OT_flip_names (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Flip Names";
|
||||
ot->idname= "POSE_OT_flip_names";
|
||||
ot->description= "Flips (and corrects) the names of selected bones.";
|
||||
ot->description= "Flips (and corrects) the names of selected bones";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= pose_flip_names_exec;
|
||||
@@ -1420,7 +1420,7 @@ void POSE_OT_autoside_names (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "AutoName by Axis";
|
||||
ot->idname= "POSE_OT_autoside_names";
|
||||
ot->description= "Automatically renames the selected bones according to which side of the target axis they fall on.";
|
||||
ot->description= "Automatically renames the selected bones according to which side of the target axis they fall on";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= WM_menu_invoke;
|
||||
@@ -1527,7 +1527,7 @@ void POSE_OT_armature_layers (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Change Armature Layers";
|
||||
ot->idname= "POSE_OT_armature_layers";
|
||||
ot->description= "Change the visible armature layers.";
|
||||
ot->description= "Change the visible armature layers";
|
||||
|
||||
/* callbacks */
|
||||
ot->invoke= pose_armature_layers_invoke;
|
||||
@@ -1546,7 +1546,7 @@ void ARMATURE_OT_armature_layers (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Change Armature Layers";
|
||||
ot->idname= "ARMATURE_OT_armature_layers";
|
||||
ot->description= "Change the visible armature layers.";
|
||||
ot->description= "Change the visible armature layers";
|
||||
|
||||
/* callbacks */
|
||||
ot->invoke= pose_armature_layers_invoke;
|
||||
@@ -1620,7 +1620,7 @@ void POSE_OT_bone_layers (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Change Bone Layers";
|
||||
ot->idname= "POSE_OT_bone_layers";
|
||||
ot->description= "Change the layers that the selected bones belong to.";
|
||||
ot->description= "Change the layers that the selected bones belong to";
|
||||
|
||||
/* callbacks */
|
||||
ot->invoke= pose_bone_layers_invoke;
|
||||
@@ -1694,7 +1694,7 @@ void ARMATURE_OT_bone_layers (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Change Bone Layers";
|
||||
ot->idname= "ARMATURE_OT_bone_layers";
|
||||
ot->description= "Change the layers that the selected bones belong to.";
|
||||
ot->description= "Change the layers that the selected bones belong to";
|
||||
|
||||
/* callbacks */
|
||||
ot->invoke= armature_bone_layers_invoke;
|
||||
@@ -1773,7 +1773,7 @@ void POSE_OT_quaternions_flip (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name = "Flip Quats";
|
||||
ot->idname= "POSE_OT_quaternions_flip";
|
||||
ot->description= "Flip quaternion values to achieve desired rotations, while maintaining the same orientations.";
|
||||
ot->description= "Flip quaternion values to achieve desired rotations, while maintaining the same orientations";
|
||||
|
||||
/* callbacks */
|
||||
ot->exec= pose_flip_quats_exec;
|
||||
|
||||
@@ -320,7 +320,7 @@ void FONT_OT_insert_lorem(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Insert Lorem";
|
||||
ot->description= "Insert placeholder text.";
|
||||
ot->description= "Insert placeholder text";
|
||||
ot->idname= "FONT_OT_insert_lorem";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -408,7 +408,7 @@ void FONT_OT_file_paste(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Paste File";
|
||||
ot->description= "Paste contents from file.";
|
||||
ot->description= "Paste contents from file";
|
||||
ot->idname= "FONT_OT_file_paste";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -457,7 +457,7 @@ void FONT_OT_buffer_paste(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Paste Buffer";
|
||||
ot->description= "Paste text from OS buffer.";
|
||||
ot->description= "Paste text from OS buffer";
|
||||
ot->idname= "FONT_OT_buffer_paste";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -656,7 +656,7 @@ void FONT_OT_style_set(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Set Style";
|
||||
ot->description= "Set font style.";
|
||||
ot->description= "Set font style";
|
||||
ot->idname= "FONT_OT_style_set";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -694,7 +694,7 @@ void FONT_OT_style_toggle(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Toggle Style";
|
||||
ot->description= "Toggle font style.";
|
||||
ot->description= "Toggle font style";
|
||||
ot->idname= "FONT_OT_style_toggle";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -737,7 +737,7 @@ void FONT_OT_text_copy(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Copy Text";
|
||||
ot->description= "Copy selected text to clipboard.";
|
||||
ot->description= "Copy selected text to clipboard";
|
||||
ot->idname= "FONT_OT_text_copy";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -768,7 +768,7 @@ void FONT_OT_text_cut(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Cut Text";
|
||||
ot->description= "Cut selected text to clipboard.";
|
||||
ot->description= "Cut selected text to clipboard";
|
||||
ot->idname= "FONT_OT_text_cut";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -826,7 +826,7 @@ void FONT_OT_text_paste(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Paste Text";
|
||||
ot->description= "Paste text from clipboard.";
|
||||
ot->description= "Paste text from clipboard";
|
||||
ot->idname= "FONT_OT_text_paste";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -962,7 +962,7 @@ void FONT_OT_move(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Move Cursor";
|
||||
ot->description= "Move cursor to position type.";
|
||||
ot->description= "Move cursor to position type";
|
||||
ot->idname= "FONT_OT_move";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -989,7 +989,7 @@ void FONT_OT_move_select(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Move Select";
|
||||
ot->description= "Make selection from current cursor position to new cursor position type.";
|
||||
ot->description= "Make selection from current cursor position to new cursor position type";
|
||||
ot->idname= "FONT_OT_move_select";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1031,7 +1031,7 @@ void FONT_OT_change_spacing(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Change Spacing";
|
||||
ot->description= "Change font spacing.";
|
||||
ot->description= "Change font spacing";
|
||||
ot->idname= "FONT_OT_change_spacing";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1076,7 +1076,7 @@ void FONT_OT_change_character(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Change Character";
|
||||
ot->description= "Change font character code.";
|
||||
ot->description= "Change font character code";
|
||||
ot->idname= "FONT_OT_change_character";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1119,7 +1119,7 @@ void FONT_OT_line_break(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Line Break";
|
||||
ot->description= "Insert line break at cursor position.";
|
||||
ot->description= "Insert line break at cursor position";
|
||||
ot->idname= "FONT_OT_line_break";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1209,7 +1209,7 @@ void FONT_OT_delete(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Delete";
|
||||
ot->description= "Delete text by cursor position.";
|
||||
ot->description= "Delete text by cursor position";
|
||||
ot->idname= "FONT_OT_delete";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1351,7 +1351,7 @@ void FONT_OT_text_insert(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Insert Text";
|
||||
ot->description= "Insert text at cursor position.";
|
||||
ot->description= "Insert text at cursor position";
|
||||
ot->idname= "FONT_OT_text_insert";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1487,7 +1487,7 @@ void FONT_OT_case_set(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Set Case";
|
||||
ot->description= "Set font case.";
|
||||
ot->description= "Set font case";
|
||||
ot->idname= "FONT_OT_case_set";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1530,7 +1530,7 @@ void FONT_OT_case_toggle(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Toggle Case";
|
||||
ot->description= "Toggle font case.";
|
||||
ot->description= "Toggle font case";
|
||||
ot->idname= "FONT_OT_case_toggle";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1696,7 +1696,7 @@ void FONT_OT_unlink(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Unlink";
|
||||
ot->idname= "FONT_OT_unlink";
|
||||
ot->description= "Unlink active font data block.";
|
||||
ot->description= "Unlink active font data block";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= font_unlink_exec;
|
||||
|
||||
@@ -209,7 +209,7 @@ void GPENCIL_OT_data_add (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Grease Pencil Add New";
|
||||
ot->idname= "GPENCIL_OT_data_add";
|
||||
ot->description= "Add new Grease Pencil datablock.";
|
||||
ot->description= "Add new Grease Pencil datablock";
|
||||
|
||||
/* callbacks */
|
||||
ot->exec= gp_data_add_exec;
|
||||
@@ -256,7 +256,7 @@ void GPENCIL_OT_data_unlink (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Grease Pencil Unlink";
|
||||
ot->idname= "GPENCIL_OT_data_unlink";
|
||||
ot->description= "Unlink active Grease Pencil datablock.";
|
||||
ot->description= "Unlink active Grease Pencil datablock";
|
||||
|
||||
/* callbacks */
|
||||
ot->exec= gp_data_unlink_exec;
|
||||
@@ -292,7 +292,7 @@ void GPENCIL_OT_layer_add (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Add New Layer";
|
||||
ot->idname= "GPENCIL_OT_layer_add";
|
||||
ot->description= "Add new Grease Pencil layer for the active Grease Pencil datablock.";
|
||||
ot->description= "Add new Grease Pencil layer for the active Grease Pencil datablock";
|
||||
|
||||
/* callbacks */
|
||||
ot->exec= gp_layer_add_exec;
|
||||
@@ -342,7 +342,7 @@ void GPENCIL_OT_active_frame_delete (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Delete Active Frame";
|
||||
ot->idname= "GPENCIL_OT_active_frame_delete";
|
||||
ot->description= "Delete the active frame for the active Grease Pencil datablock.";
|
||||
ot->description= "Delete the active frame for the active Grease Pencil datablock";
|
||||
|
||||
/* callbacks */
|
||||
ot->exec= gp_actframe_delete_exec;
|
||||
@@ -583,7 +583,7 @@ void GPENCIL_OT_convert (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Convert Grease Pencil";
|
||||
ot->idname= "GPENCIL_OT_convert";
|
||||
ot->description= "Convert the active Grease Pencil layer to a new Object.";
|
||||
ot->description= "Convert the active Grease Pencil layer to a new Object";
|
||||
|
||||
/* callbacks */
|
||||
ot->invoke= WM_menu_invoke;
|
||||
|
||||
@@ -1510,7 +1510,7 @@ void GPENCIL_OT_draw (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Grease Pencil Draw";
|
||||
ot->idname= "GPENCIL_OT_draw";
|
||||
ot->description= "Make annotations on the active data.";
|
||||
ot->description= "Make annotations on the active data";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= gpencil_draw_exec;
|
||||
|
||||
@@ -227,7 +227,7 @@ void UI_OT_copy_data_path_button(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Copy Data Path";
|
||||
ot->idname= "UI_OT_copy_data_path_button";
|
||||
ot->description= "Copy the RNA data path for this property to the clipboard.";
|
||||
ot->description= "Copy the RNA data path for this property to the clipboard";
|
||||
|
||||
/* callbacks */
|
||||
ot->exec= copy_data_path_button_exec;
|
||||
@@ -367,7 +367,7 @@ void UI_OT_copy_to_selected_button(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Copy To Selected";
|
||||
ot->idname= "UI_OT_copy_to_selected_button";
|
||||
ot->description= "Copy property from this object to selected objects or bones.";
|
||||
ot->description= "Copy property from this object to selected objects or bones";
|
||||
|
||||
/* callbacks */
|
||||
ot->poll= copy_to_selected_button_poll;
|
||||
|
||||
@@ -286,7 +286,7 @@ void VIEW2D_OT_pan(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Pan View";
|
||||
ot->description= "Pan the view.";
|
||||
ot->description= "Pan the view";
|
||||
ot->idname= "VIEW2D_OT_pan";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -336,7 +336,7 @@ void VIEW2D_OT_scroll_right(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Scroll Right";
|
||||
ot->description= "Scroll the view right.";
|
||||
ot->description= "Scroll the view right";
|
||||
ot->idname= "VIEW2D_OT_scroll_right";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -383,7 +383,7 @@ void VIEW2D_OT_scroll_left(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Scroll Left";
|
||||
ot->description= "Scroll the view left.";
|
||||
ot->description= "Scroll the view left";
|
||||
ot->idname= "VIEW2D_OT_scroll_left";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -429,7 +429,7 @@ void VIEW2D_OT_scroll_down(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Scroll Down";
|
||||
ot->description= "Scroll the view down.";
|
||||
ot->description= "Scroll the view down";
|
||||
ot->idname= "VIEW2D_OT_scroll_down";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -476,7 +476,7 @@ void VIEW2D_OT_scroll_up(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Scroll Up";
|
||||
ot->description= "Scroll the view up.";
|
||||
ot->description= "Scroll the view up";
|
||||
ot->idname= "VIEW2D_OT_scroll_up";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -692,7 +692,7 @@ void VIEW2D_OT_zoom_in(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Zoom In";
|
||||
ot->description= "Zoom in the view.";
|
||||
ot->description= "Zoom in the view";
|
||||
ot->idname= "VIEW2D_OT_zoom_in";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -748,7 +748,7 @@ void VIEW2D_OT_zoom_out(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Zoom Out";
|
||||
ot->description= "Zoom out the view.";
|
||||
ot->description= "Zoom out the view";
|
||||
ot->idname= "VIEW2D_OT_zoom_out";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1004,7 +1004,7 @@ void VIEW2D_OT_zoom(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Zoom View";
|
||||
ot->description= "Zoom in/out the view.";
|
||||
ot->description= "Zoom in/out the view";
|
||||
ot->idname= "VIEW2D_OT_zoom";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1106,7 +1106,7 @@ void VIEW2D_OT_zoom_border(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Zoom to Border";
|
||||
ot->description= "Zoom in the view to the nearest item contained in the border.";
|
||||
ot->description= "Zoom in the view to the nearest item contained in the border";
|
||||
ot->idname= "VIEW2D_OT_zoom_border";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1472,7 +1472,7 @@ void VIEW2D_OT_scroller_activate(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Scroller Activate";
|
||||
ot->description= "Scroll view by mouse click and drag.";
|
||||
ot->description= "Scroll view by mouse click and drag";
|
||||
ot->idname= "VIEW2D_OT_scroller_activate";
|
||||
|
||||
/* flags */
|
||||
@@ -1539,7 +1539,7 @@ void VIEW2D_OT_reset(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Reset View";
|
||||
ot->description= "Reset the view.";
|
||||
ot->description= "Reset the view";
|
||||
ot->idname= "VIEW2D_OT_reset";
|
||||
|
||||
/* api callbacks */
|
||||
|
||||
@@ -1541,7 +1541,7 @@ void MESH_OT_separate(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Separate";
|
||||
ot->description= "Separate selected geometry into a new mesh.";
|
||||
ot->description= "Separate selected geometry into a new mesh";
|
||||
ot->idname= "MESH_OT_separate";
|
||||
|
||||
/* api callbacks */
|
||||
|
||||
@@ -228,7 +228,7 @@ void MESH_OT_dupli_extrude_cursor(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Duplicate or Extrude at 3D Cursor";
|
||||
ot->description= "Duplicate and extrude selected vertices, edges or faces towards 3D Cursor.";
|
||||
ot->description= "Duplicate and extrude selected vertices, edges or faces towards 3D Cursor";
|
||||
ot->idname= "MESH_OT_dupli_extrude_cursor";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -359,7 +359,7 @@ void MESH_OT_fgon_make(struct wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Make F-gon";
|
||||
ot->description= "Make fgon from selected faces.";
|
||||
ot->description= "Make fgon from selected faces";
|
||||
ot->idname= "MESH_OT_fgon_make";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -391,7 +391,7 @@ void MESH_OT_fgon_clear(struct wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Clear F-gon";
|
||||
ot->description= "Clear fgon from selected face.";
|
||||
ot->description= "Clear fgon from selected face";
|
||||
ot->idname= "MESH_OT_fgon_clear";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -803,7 +803,7 @@ void MESH_OT_edge_face_add(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Make Edge/Face";
|
||||
ot->description= "Add an edge or face to selected.";
|
||||
ot->description= "Add an edge or face to selected";
|
||||
ot->idname= "MESH_OT_edge_face_add";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1323,7 +1323,7 @@ void MESH_OT_primitive_plane_add(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Add Plane";
|
||||
ot->description= "Construct a filled planar mesh with 4 vertices.";
|
||||
ot->description= "Construct a filled planar mesh with 4 vertices";
|
||||
ot->idname= "MESH_OT_primitive_plane_add";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1355,7 +1355,7 @@ void MESH_OT_primitive_cube_add(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Add Cube";
|
||||
ot->description= "Construct a cube mesh.";
|
||||
ot->description= "Construct a cube mesh";
|
||||
ot->idname= "MESH_OT_primitive_cube_add";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1389,7 +1389,7 @@ void MESH_OT_primitive_circle_add(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Add Circle";
|
||||
ot->description= "Construct a circle mesh.";
|
||||
ot->description= "Construct a circle mesh";
|
||||
ot->idname= "MESH_OT_primitive_circle_add";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1429,7 +1429,7 @@ void MESH_OT_primitive_tube_add(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Add Tube";
|
||||
ot->description= "Construct a tube mesh.";
|
||||
ot->description= "Construct a tube mesh";
|
||||
ot->idname= "MESH_OT_primitive_tube_add";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1469,7 +1469,7 @@ void MESH_OT_primitive_cone_add(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Add Cone";
|
||||
ot->description= "Construct a conic mesh (ends filled).";
|
||||
ot->description= "Construct a conic mesh (ends filled)";
|
||||
ot->idname= "MESH_OT_primitive_cone_add";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1509,7 +1509,7 @@ void MESH_OT_primitive_grid_add(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Add Grid";
|
||||
ot->description= "Construct a grid mesh.";
|
||||
ot->description= "Construct a grid mesh";
|
||||
ot->idname= "MESH_OT_primitive_grid_add";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1546,7 +1546,7 @@ void MESH_OT_primitive_monkey_add(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Add Monkey";
|
||||
ot->description= "Construct a Suzanne mesh.";
|
||||
ot->description= "Construct a Suzanne mesh";
|
||||
ot->idname= "MESH_OT_primitive_monkey_add";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1580,7 +1580,7 @@ void MESH_OT_primitive_uv_sphere_add(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Add UV Sphere";
|
||||
ot->description= "Construct a UV sphere mesh.";
|
||||
ot->description= "Construct a UV sphere mesh";
|
||||
ot->idname= "MESH_OT_primitive_uv_sphere_add";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1618,7 +1618,7 @@ void MESH_OT_primitive_ico_sphere_add(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Add Ico Sphere";
|
||||
ot->description= "Construct an Icosphere mesh.";
|
||||
ot->description= "Construct an Icosphere mesh";
|
||||
ot->idname= "MESH_OT_primitive_ico_sphere_add";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1666,7 +1666,7 @@ void MESH_OT_duplicate(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Duplicate";
|
||||
ot->description= "Duplicate selected vertices, edges or faces.";
|
||||
ot->description= "Duplicate selected vertices, edges or faces";
|
||||
ot->idname= "MESH_OT_duplicate";
|
||||
|
||||
/* api callbacks */
|
||||
|
||||
@@ -718,7 +718,7 @@ void MESH_OT_knife_cut(wmOperatorType *ot)
|
||||
PropertyRNA *prop;
|
||||
|
||||
ot->name= "Knife Cut";
|
||||
ot->description= "Cut selected edges and faces into parts.";
|
||||
ot->description= "Cut selected edges and faces into parts";
|
||||
ot->idname= "MESH_OT_knife_cut";
|
||||
|
||||
ot->invoke= WM_gesture_lines_invoke;
|
||||
|
||||
@@ -1294,7 +1294,7 @@ void MESH_OT_select_similar(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Select Similar";
|
||||
ot->description= "Select similar vertices, edges or faces by property types.";
|
||||
ot->description= "Select similar vertices, edges or faces by property types";
|
||||
ot->idname= "MESH_OT_select_similar";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -2024,7 +2024,7 @@ void MESH_OT_loop_multi_select(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Multi Select Loops";
|
||||
ot->description= "Select a loop of connected edges by connection type.";
|
||||
ot->description= "Select a loop of connected edges by connection type";
|
||||
ot->idname= "MESH_OT_loop_multi_select";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -2111,7 +2111,7 @@ void MESH_OT_loop_select(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Loop Select";
|
||||
ot->description= "Select a loop of connected edges.";
|
||||
ot->description= "Select a loop of connected edges";
|
||||
ot->idname= "MESH_OT_loop_select";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -2218,7 +2218,7 @@ void MESH_OT_select_shortest_path(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Shortest Path Select";
|
||||
ot->description= "Select shortest path between two selections.";
|
||||
ot->description= "Select shortest path between two selections";
|
||||
ot->idname= "MESH_OT_select_shortest_path";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -2526,7 +2526,7 @@ void MESH_OT_select_linked_pick(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Select Linked";
|
||||
ot->description= "(un)select all vertices linked to the active mesh.";
|
||||
ot->description= "(un)select all vertices linked to the active mesh";
|
||||
ot->idname= "MESH_OT_select_linked_pick";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -2615,7 +2615,7 @@ void MESH_OT_select_linked(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Select Linked All";
|
||||
ot->description= "Select all vertices linked to the active mesh.";
|
||||
ot->description= "Select all vertices linked to the active mesh";
|
||||
ot->idname= "MESH_OT_select_linked";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -2752,7 +2752,7 @@ void MESH_OT_hide(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Hide Selection";
|
||||
ot->description= "Hide (un)selected vertices, edges or faces.";
|
||||
ot->description= "Hide (un)selected vertices, edges or faces";
|
||||
ot->idname= "MESH_OT_hide";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -2819,7 +2819,7 @@ void MESH_OT_reveal(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Reveal Hidden";
|
||||
ot->description= "Reveal all hidden vertices, edges and faces.";
|
||||
ot->description= "Reveal all hidden vertices, edges and faces";
|
||||
ot->idname= "MESH_OT_reveal";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -2874,7 +2874,7 @@ void MESH_OT_select_by_number_vertices(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Select by Number of Vertices";
|
||||
ot->description= "Select vertices or faces by vertex count.";
|
||||
ot->description= "Select vertices or faces by vertex count";
|
||||
ot->idname= "MESH_OT_select_by_number_vertices";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -2908,7 +2908,7 @@ void MESH_OT_select_mirror(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Select Mirror";
|
||||
ot->description= "Select mesh items at mirrored locations.";
|
||||
ot->description= "Select mesh items at mirrored locations";
|
||||
ot->idname= "MESH_OT_select_mirror";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -3029,7 +3029,7 @@ void MESH_OT_edges_select_sharp(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Select Sharp Edges";
|
||||
ot->description= "Marked selected edges as sharp.";
|
||||
ot->description= "Marked selected edges as sharp";
|
||||
ot->idname= "MESH_OT_edges_select_sharp";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -3197,7 +3197,7 @@ void MESH_OT_faces_select_linked_flat(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Select Linked Flat Faces";
|
||||
ot->description= "Select linked faces by angle.";
|
||||
ot->description= "Select linked faces by angle";
|
||||
ot->idname= "MESH_OT_faces_select_linked_flat";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -3298,7 +3298,7 @@ void MESH_OT_select_non_manifold(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Select Non Manifold";
|
||||
ot->description= "Select all non-manifold vertices or edges.";
|
||||
ot->description= "Select all non-manifold vertices or edges";
|
||||
ot->idname= "MESH_OT_select_non_manifold";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -3362,7 +3362,7 @@ void MESH_OT_select_inverse(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Select Inverse";
|
||||
ot->description= "Select inverse of (un)selected vertices, edges or faces.";
|
||||
ot->description= "Select inverse of (un)selected vertices, edges or faces";
|
||||
ot->idname= "MESH_OT_select_inverse";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -3424,7 +3424,7 @@ void MESH_OT_select_all(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Select/Deselect All";
|
||||
ot->description= "Change selection of all vertices, edges or faces.";
|
||||
ot->description= "Change selection of all vertices, edges or faces";
|
||||
ot->idname= "MESH_OT_select_all";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -3497,7 +3497,7 @@ void MESH_OT_select_more(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Select More";
|
||||
ot->description= "Select more vertices, edges or faces connected to initial selection.";
|
||||
ot->description= "Select more vertices, edges or faces connected to initial selection";
|
||||
ot->idname= "MESH_OT_select_more";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -3587,7 +3587,7 @@ void MESH_OT_select_less(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Select Less";
|
||||
ot->description= "Select less vertices, edges or faces connected to initial selection.";
|
||||
ot->description= "Select less vertices, edges or faces connected to initial selection";
|
||||
ot->idname= "MESH_OT_select_less";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -3657,7 +3657,7 @@ void MESH_OT_select_random(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Select Random";
|
||||
ot->description= "Randomly select vertices.";
|
||||
ot->description= "Randomly select vertices";
|
||||
ot->idname= "MESH_OT_select_random";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -3744,7 +3744,7 @@ void MESH_OT_mark_seam(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Mark Seam";
|
||||
ot->description= "(un)mark selected edges as a seam.";
|
||||
ot->description= "(un)mark selected edges as a seam";
|
||||
ot->idname= "MESH_OT_mark_seam";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -3796,7 +3796,7 @@ void MESH_OT_mark_sharp(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Mark Sharp";
|
||||
ot->description= "(un)mark selected edges as sharp.";
|
||||
ot->description= "(un)mark selected edges as sharp";
|
||||
ot->idname= "MESH_OT_mark_sharp";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -4040,7 +4040,7 @@ void MESH_OT_normals_make_consistent(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Make Normals Consistent";
|
||||
ot->description= "Flip all selected vertex and face normals in a consistent direction.";
|
||||
ot->description= "Flip all selected vertex and face normals in a consistent direction";
|
||||
ot->idname= "MESH_OT_normals_make_consistent";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -4384,7 +4384,7 @@ void MESH_OT_vertices_smooth(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Smooth Vertex";
|
||||
ot->description= "Flatten angles of selected vertices.";
|
||||
ot->description= "Flatten angles of selected vertices";
|
||||
ot->idname= "MESH_OT_vertices_smooth";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -4491,7 +4491,7 @@ void MESH_OT_flip_normals(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Flip Normals";
|
||||
ot->description= "Toggle the direction of selected face's vertex and face normals.";
|
||||
ot->description= "Toggle the direction of selected face's vertex and face normals";
|
||||
ot->idname= "MESH_OT_flip_normals";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -4533,7 +4533,7 @@ void MESH_OT_solidify(wmOperatorType *ot)
|
||||
PropertyRNA *prop;
|
||||
/* identifiers */
|
||||
ot->name= "Solidify";
|
||||
ot->description= "Create a solid skin by extruding, compensating for sharp angles.";
|
||||
ot->description= "Create a solid skin by extruding, compensating for sharp angles";
|
||||
ot->idname= "MESH_OT_solidify";
|
||||
|
||||
/* api callbacks */
|
||||
|
||||
@@ -503,7 +503,7 @@ void MESH_OT_remove_doubles(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Remove Doubles";
|
||||
ot->description= "Remove duplicate vertices.";
|
||||
ot->description= "Remove duplicate vertices";
|
||||
ot->idname= "MESH_OT_remove_doubles";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -784,7 +784,7 @@ void MESH_OT_extrude(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Extrude";
|
||||
ot->description= "Extrude selected vertices, edges or faces.";
|
||||
ot->description= "Extrude selected vertices, edges or faces";
|
||||
ot->idname= "MESH_OT_extrude";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -827,7 +827,7 @@ void MESH_OT_split(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Split";
|
||||
ot->description= "Split selected geometry into separate disconnected mesh.";
|
||||
ot->description= "Split selected geometry into separate disconnected mesh";
|
||||
ot->idname= "MESH_OT_split";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -887,7 +887,7 @@ void MESH_OT_extrude_repeat(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Extrude Repeat Mesh";
|
||||
ot->description= "Extrude selected vertices, edges or faces repeatedly.";
|
||||
ot->description= "Extrude selected vertices, edges or faces repeatedly";
|
||||
ot->idname= "MESH_OT_extrude_repeat";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1021,7 +1021,7 @@ void MESH_OT_spin(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Spin";
|
||||
ot->description= "Extrude selected vertices in a circle around the cursor in indicated viewport.";
|
||||
ot->description= "Extrude selected vertices in a circle around the cursor in indicated viewport";
|
||||
ot->idname= "MESH_OT_spin";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1129,7 +1129,7 @@ void MESH_OT_screw(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Screw";
|
||||
ot->description= "Extrude selected vertices in screw-shaped rotation around the cursor in indicated viewport.";
|
||||
ot->description= "Extrude selected vertices in screw-shaped rotation around the cursor in indicated viewport";
|
||||
ot->idname= "MESH_OT_screw";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1365,7 +1365,7 @@ void MESH_OT_delete(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Delete";
|
||||
ot->description= "Delete selected vertices, edges or faces.";
|
||||
ot->description= "Delete selected vertices, edges or faces";
|
||||
ot->idname= "MESH_OT_delete";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -3809,7 +3809,7 @@ void MESH_OT_edge_rotate(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Rotate Selected Edge";
|
||||
ot->description= "Rotate selected edge or adjoining faces.";
|
||||
ot->description= "Rotate selected edge or adjoining faces";
|
||||
ot->idname= "MESH_OT_edge_rotate";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -5046,7 +5046,7 @@ void MESH_OT_rip(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Rip";
|
||||
ot->description= "Rip selection from mesh (quads only).";
|
||||
ot->description= "Rip selection from mesh (quads only)";
|
||||
ot->idname= "MESH_OT_rip";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -5127,7 +5127,7 @@ void MESH_OT_shape_propagate_to_all(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Shape Propagate";
|
||||
ot->description= "Apply selected vertex locations to all other shape keys.";
|
||||
ot->description= "Apply selected vertex locations to all other shape keys";
|
||||
ot->idname= "MESH_OT_shape_propagate_to_all";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -5222,7 +5222,7 @@ void MESH_OT_blend_from_shape(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Blend From Shape";
|
||||
ot->description= "Blend in shape from a shape key.";
|
||||
ot->description= "Blend in shape from a shape key";
|
||||
ot->idname= "MESH_OT_blend_from_shape";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -5923,7 +5923,7 @@ void MESH_OT_merge(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Merge";
|
||||
ot->description= "Merge selected vertices.";
|
||||
ot->description= "Merge selected vertices";
|
||||
ot->idname= "MESH_OT_merge";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -6127,7 +6127,7 @@ void MESH_OT_select_vertex_path(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Select Vertex Path";
|
||||
ot->description= "Select shortest path between two vertices by distance type.";
|
||||
ot->description= "Select shortest path between two vertices by distance type";
|
||||
ot->idname= "MESH_OT_select_vertex_path";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -6189,7 +6189,7 @@ void MESH_OT_region_to_loop(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Region to Loop";
|
||||
ot->description= "Select a region as a loop of connected edges.";
|
||||
ot->description= "Select a region as a loop of connected edges";
|
||||
ot->idname= "MESH_OT_region_to_loop";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -6365,7 +6365,7 @@ void MESH_OT_loop_to_region(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Loop to Region";
|
||||
ot->description= "Select a loop of connected edges as a region.";
|
||||
ot->description= "Select a loop of connected edges as a region";
|
||||
ot->idname= "MESH_OT_loop_to_region";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -6660,7 +6660,7 @@ void MESH_OT_uvs_rotate(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Rotate UVs";
|
||||
ot->description= "Rotate selected UVs.";
|
||||
ot->description= "Rotate selected UVs";
|
||||
ot->idname= "MESH_OT_uvs_rotate";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -6678,7 +6678,7 @@ void MESH_OT_uvs_mirror(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Mirror UVs";
|
||||
ot->description= "Mirror selected UVs.";
|
||||
ot->description= "Mirror selected UVs";
|
||||
ot->idname= "MESH_OT_uvs_mirror";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -6696,7 +6696,7 @@ void MESH_OT_colors_rotate(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Rotate Colors";
|
||||
ot->description= "Rotate UV/image color layer.";
|
||||
ot->description= "Rotate UV/image color layer";
|
||||
ot->idname= "MESH_OT_colors_rotate";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -6714,7 +6714,7 @@ void MESH_OT_colors_mirror(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Mirror Colors";
|
||||
ot->description= "Mirror UV/image color layer.";
|
||||
ot->description= "Mirror UV/image color layer";
|
||||
ot->idname= "MESH_OT_colors_mirror";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -6757,7 +6757,7 @@ void MESH_OT_subdivide(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Subdivide";
|
||||
ot->description= "Subdivide selected edges.";
|
||||
ot->description= "Subdivide selected edges";
|
||||
ot->idname= "MESH_OT_subdivide";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -7039,7 +7039,7 @@ void MESH_OT_fill(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Fill";
|
||||
ot->description= "Create a segment, edge or face.";
|
||||
ot->description= "Create a segment, edge or face";
|
||||
ot->idname= "MESH_OT_fill";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -7069,7 +7069,7 @@ void MESH_OT_beautify_fill(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Beautify Fill";
|
||||
ot->description= "Rearrange geometry on a selected surface to avoid skinny faces.";
|
||||
ot->description= "Rearrange geometry on a selected surface to avoid skinny faces";
|
||||
ot->idname= "MESH_OT_beautify_fill";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -7100,7 +7100,7 @@ void MESH_OT_quads_convert_to_tris(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Quads to Tris";
|
||||
ot->description= "Convert selected quads to triangles.";
|
||||
ot->description= "Convert selected quads to triangles";
|
||||
ot->idname= "MESH_OT_quads_convert_to_tris";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -7129,7 +7129,7 @@ void MESH_OT_tris_convert_to_quads(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Tris to Quads";
|
||||
ot->description= "Convert selected triangles to quads.";
|
||||
ot->description= "Convert selected triangles to quads";
|
||||
ot->idname= "MESH_OT_tris_convert_to_quads";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -7158,7 +7158,7 @@ void MESH_OT_edge_flip(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Edge Flip";
|
||||
ot->description= "Flip selected edge or adjoining faces.";
|
||||
ot->description= "Flip selected edge or adjoining faces";
|
||||
ot->idname= "MESH_OT_edge_flip";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -7204,7 +7204,7 @@ void MESH_OT_faces_shade_smooth(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Shade Smooth";
|
||||
ot->description= "Display faces 'smooth' (using vertex normals).";
|
||||
ot->description= "Display faces 'smooth' (using vertex normals)";
|
||||
ot->idname= "MESH_OT_faces_shade_smooth";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -7232,7 +7232,7 @@ void MESH_OT_faces_shade_flat(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Shade Flat";
|
||||
ot->description= "Display faces 'flat'.";
|
||||
ot->description= "Display faces 'flat'";
|
||||
ot->idname= "MESH_OT_faces_shade_flat";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -7309,7 +7309,7 @@ void MESH_OT_select_axis(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Select Axis";
|
||||
ot->description= "Select all data in the mesh on a single axis.";
|
||||
ot->description= "Select all data in the mesh on a single axis";
|
||||
ot->idname= "MESH_OT_select_axis";
|
||||
|
||||
/* api callbacks */
|
||||
|
||||
@@ -491,7 +491,7 @@ void MESH_OT_loopcut (wmOperatorType *ot)
|
||||
/* description */
|
||||
ot->name= "Loop Cut";
|
||||
ot->idname= "MESH_OT_loopcut";
|
||||
ot->description= "Add a new loop between existing loops.";
|
||||
ot->description= "Add a new loop between existing loops";
|
||||
|
||||
/* callbacks */
|
||||
ot->invoke= ringcut_invoke;
|
||||
|
||||
@@ -300,7 +300,7 @@ void MESH_OT_uv_texture_add(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Add UV Texture";
|
||||
ot->description= "Add UV texture layer.";
|
||||
ot->description= "Add UV texture layer";
|
||||
ot->idname= "MESH_OT_uv_texture_add";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -388,7 +388,7 @@ void MESH_OT_uv_texture_remove(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Remove UV Texture";
|
||||
ot->description= "Remove UV texture layer.";
|
||||
ot->description= "Remove UV texture layer";
|
||||
ot->idname= "MESH_OT_uv_texture_remove";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -417,7 +417,7 @@ void MESH_OT_vertex_color_add(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Add Vertex Color";
|
||||
ot->description= "Add vertex color layer.";
|
||||
ot->description= "Add vertex color layer";
|
||||
ot->idname= "MESH_OT_vertex_color_add";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -443,7 +443,7 @@ void MESH_OT_vertex_color_remove(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Remove Vertex Color";
|
||||
ot->description= "Remove vertex color layer.";
|
||||
ot->description= "Remove vertex color layer";
|
||||
ot->idname= "MESH_OT_vertex_color_remove";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -478,7 +478,7 @@ void MESH_OT_sticky_add(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Add Sticky";
|
||||
ot->description= "Add sticky UV texture layer.";
|
||||
ot->description= "Add sticky UV texture layer";
|
||||
ot->idname= "MESH_OT_sticky_add";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -510,7 +510,7 @@ void MESH_OT_sticky_remove(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Remove Sticky";
|
||||
ot->description= "Remove sticky UV texture layer.";
|
||||
ot->description= "Remove sticky UV texture layer";
|
||||
ot->idname= "MESH_OT_sticky_remove";
|
||||
|
||||
/* api callbacks */
|
||||
|
||||
@@ -206,7 +206,7 @@ void MBALL_OT_select_all(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Select/Deselect All";
|
||||
ot->description= "Change selection of all meta elements.";
|
||||
ot->description= "Change selection of all meta elements";
|
||||
ot->idname= "MBALL_OT_select_all";
|
||||
|
||||
/* callback functions */
|
||||
@@ -247,7 +247,7 @@ void MBALL_OT_select_inverse_metaelems(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Inverse";
|
||||
ot->description= "Select inverse of (un)selected metaelements.";
|
||||
ot->description= "Select inverse of (un)selected metaelements";
|
||||
ot->idname= "MBALL_OT_select_inverse_metaelems";
|
||||
|
||||
/* callback functions */
|
||||
@@ -293,7 +293,7 @@ void MBALL_OT_select_random_metaelems(struct wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Random...";
|
||||
ot->description= "Randomly select metaelements.";
|
||||
ot->description= "Randomly select metaelements";
|
||||
ot->idname= "MBALL_OT_select_random_metaelems";
|
||||
|
||||
/* callback functions */
|
||||
@@ -352,7 +352,7 @@ void MBALL_OT_duplicate_metaelems(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Duplicate";
|
||||
ot->description= "Delete selected metaelement(s).";
|
||||
ot->description= "Delete selected metaelement(s)";
|
||||
ot->idname= "MBALL_OT_duplicate_metaelems";
|
||||
|
||||
/* callback functions */
|
||||
@@ -398,7 +398,7 @@ void MBALL_OT_delete_metaelems(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Delete";
|
||||
ot->description= "Delete selected metaelement(s).";
|
||||
ot->description= "Delete selected metaelement(s)";
|
||||
ot->idname= "MBALL_OT_delete_metaelems";
|
||||
|
||||
/* callback functions */
|
||||
@@ -448,7 +448,7 @@ void MBALL_OT_hide_metaelems(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Hide";
|
||||
ot->description= "Hide (un)selected metaelement(s).";
|
||||
ot->description= "Hide (un)selected metaelement(s)";
|
||||
ot->idname= "MBALL_OT_hide_metaelems";
|
||||
|
||||
/* callback functions */
|
||||
@@ -489,7 +489,7 @@ void MBALL_OT_reveal_metaelems(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Reveal";
|
||||
ot->description= "Reveal all hidden metaelements.";
|
||||
ot->description= "Reveal all hidden metaelements";
|
||||
ot->idname= "MBALL_OT_reveal_metaelems";
|
||||
|
||||
/* callback functions */
|
||||
|
||||
@@ -318,7 +318,7 @@ void OBJECT_OT_add(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Add Object";
|
||||
ot->description = "Add an object to the scene.";
|
||||
ot->description = "Add an object to the scene";
|
||||
ot->idname= "OBJECT_OT_add";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -410,7 +410,7 @@ void OBJECT_OT_effector_add(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Add Effector";
|
||||
ot->description = "Add an empty object with a physics effector to the scene.";
|
||||
ot->description = "Add an empty object with a physics effector to the scene";
|
||||
ot->idname= "OBJECT_OT_effector_add";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -461,7 +461,7 @@ void OBJECT_OT_camera_add(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Add Camera";
|
||||
ot->description = "Add a camera object to the scene.";
|
||||
ot->description = "Add a camera object to the scene";
|
||||
ot->idname= "OBJECT_OT_camera_add";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -548,7 +548,7 @@ void OBJECT_OT_curve_add(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Add Curve";
|
||||
ot->description = "Add a curve object to the scene.";
|
||||
ot->description = "Add a curve object to the scene";
|
||||
ot->idname= "OBJECT_OT_curve_add";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -615,7 +615,7 @@ void OBJECT_OT_surface_add(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Add Surface";
|
||||
ot->description = "Add a surface object to the scene.";
|
||||
ot->description = "Add a surface object to the scene";
|
||||
ot->idname= "OBJECT_OT_surface_add";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -699,7 +699,7 @@ void OBJECT_OT_metaball_add(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Add Metaball";
|
||||
ot->description= "Add an metaball object to the scene.";
|
||||
ot->description= "Add an metaball object to the scene";
|
||||
ot->idname= "OBJECT_OT_metaball_add";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -795,7 +795,7 @@ void OBJECT_OT_armature_add(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Add Armature";
|
||||
ot->description = "Add an armature object to the scene.";
|
||||
ot->description = "Add an armature object to the scene";
|
||||
ot->idname= "OBJECT_OT_armature_add";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -838,7 +838,7 @@ void OBJECT_OT_lamp_add(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Add Lamp";
|
||||
ot->description = "Add a lamp object to the scene.";
|
||||
ot->description = "Add a lamp object to the scene";
|
||||
ot->idname= "OBJECT_OT_lamp_add";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -889,7 +889,7 @@ void OBJECT_OT_group_instance_add(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Add Group Instance";
|
||||
ot->description = "Add a dupligroup instance.";
|
||||
ot->description = "Add a dupligroup instance";
|
||||
ot->idname= "OBJECT_OT_group_instance_add";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -951,7 +951,7 @@ void OBJECT_OT_delete(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Delete";
|
||||
ot->description = "Delete selected objects.";
|
||||
ot->description = "Delete selected objects";
|
||||
ot->idname= "OBJECT_OT_delete";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1149,7 +1149,7 @@ void OBJECT_OT_duplicates_make_real(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Make Duplicates Real";
|
||||
ot->description = "Make dupli objects attached to this object real.";
|
||||
ot->description = "Make dupli objects attached to this object real";
|
||||
ot->idname= "OBJECT_OT_duplicates_make_real";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1397,7 +1397,7 @@ void OBJECT_OT_convert(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Convert";
|
||||
ot->description = "Convert selected objects to another type.";
|
||||
ot->description = "Convert selected objects to another type";
|
||||
ot->idname= "OBJECT_OT_convert";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1677,7 +1677,7 @@ void OBJECT_OT_duplicate(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Duplicate";
|
||||
ot->description = "Duplicate selected objects.";
|
||||
ot->description = "Duplicate selected objects";
|
||||
ot->idname= "OBJECT_OT_duplicate";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1754,7 +1754,7 @@ void OBJECT_OT_add_named(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Add Named Object";
|
||||
ot->description = "Add named object.";
|
||||
ot->description = "Add named object";
|
||||
ot->idname= "OBJECT_OT_add_named";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1812,7 +1812,7 @@ void OBJECT_OT_join(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Join";
|
||||
ot->description = "Join selected objects into active object.";
|
||||
ot->description = "Join selected objects into active object";
|
||||
ot->idname= "OBJECT_OT_join";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1861,7 +1861,7 @@ void OBJECT_OT_join_shapes(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Join as Shapes";
|
||||
ot->description = "Merge selected objects to shapes of active object.";
|
||||
ot->description = "Merge selected objects to shapes of active object";
|
||||
ot->idname= "OBJECT_OT_join_shapes";
|
||||
|
||||
/* api callbacks */
|
||||
|
||||
@@ -332,7 +332,7 @@ void OBJECT_OT_bake_image(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Bake";
|
||||
ot->description= "Bake image textures of selected objects.";
|
||||
ot->description= "Bake image textures of selected objects";
|
||||
ot->idname= "OBJECT_OT_bake_image";
|
||||
|
||||
/* api callbacks */
|
||||
|
||||
@@ -480,7 +480,7 @@ void CONSTRAINT_OT_stretchto_reset (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Reset Original Length";
|
||||
ot->idname= "CONSTRAINT_OT_stretchto_reset";
|
||||
ot->description= "Reset original length of bone for Stretch To Constraint.";
|
||||
ot->description= "Reset original length of bone for Stretch To Constraint";
|
||||
|
||||
ot->exec= stretchto_reset_exec;
|
||||
ot->poll= stretchto_poll;
|
||||
@@ -512,7 +512,7 @@ void CONSTRAINT_OT_limitdistance_reset (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Reset Distance";
|
||||
ot->idname= "CONSTRAINT_OT_limitdistance_reset";
|
||||
ot->description= "Reset limiting distance for Limit Distance Constraint.";
|
||||
ot->description= "Reset limiting distance for Limit Distance Constraint";
|
||||
|
||||
ot->exec= limitdistance_reset_exec;
|
||||
ot->poll= limitdistance_poll;
|
||||
@@ -592,7 +592,7 @@ void CONSTRAINT_OT_childof_set_inverse (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Set Inverse";
|
||||
ot->idname= "CONSTRAINT_OT_childof_set_inverse";
|
||||
ot->description= "Set inverse correction for ChildOf constraint.";
|
||||
ot->description= "Set inverse correction for ChildOf constraint";
|
||||
|
||||
ot->exec= childof_set_inverse_exec;
|
||||
ot->poll= childof_poll;
|
||||
@@ -622,7 +622,7 @@ void CONSTRAINT_OT_childof_clear_inverse (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Clear Inverse";
|
||||
ot->idname= "CONSTRAINT_OT_childof_clear_inverse";
|
||||
ot->description= "Clear inverse correction for ChildOf constraint.";
|
||||
ot->description= "Clear inverse correction for ChildOf constraint";
|
||||
|
||||
ot->exec= childof_clear_inverse_exec;
|
||||
ot->poll= childof_poll;
|
||||
@@ -698,7 +698,7 @@ void CONSTRAINT_OT_delete (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Delete Constraint";
|
||||
ot->idname= "CONSTRAINT_OT_delete";
|
||||
ot->description= "Remove constraitn from constraint stack.";
|
||||
ot->description= "Remove constraitn from constraint stack";
|
||||
|
||||
/* callbacks */
|
||||
ot->exec= constraint_delete_exec;
|
||||
@@ -735,7 +735,7 @@ void CONSTRAINT_OT_move_down (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Move Constraint Down";
|
||||
ot->idname= "CONSTRAINT_OT_move_down";
|
||||
ot->description= "Move constraint down constraint stack.";
|
||||
ot->description= "Move constraint down constraint stack";
|
||||
|
||||
/* callbacks */
|
||||
ot->exec= constraint_move_down_exec;
|
||||
@@ -773,7 +773,7 @@ void CONSTRAINT_OT_move_up (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Move Constraint Up";
|
||||
ot->idname= "CONSTRAINT_OT_move_up";
|
||||
ot->description= "Move constraint up constraint stack.";
|
||||
ot->description= "Move constraint up constraint stack";
|
||||
|
||||
/* callbacks */
|
||||
ot->exec= constraint_move_up_exec;
|
||||
@@ -815,7 +815,7 @@ void POSE_OT_constraints_clear(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name = "Clear Constraints";
|
||||
ot->idname= "POSE_OT_constraints_clear";
|
||||
ot->description= "Clear all the constraints for the selected bones.";
|
||||
ot->description= "Clear all the constraints for the selected bones";
|
||||
|
||||
/* callbacks */
|
||||
ot->exec= pose_constraints_clear_exec;
|
||||
@@ -847,7 +847,7 @@ void OBJECT_OT_constraints_clear(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name = "Clear Constraints";
|
||||
ot->idname= "OBJECT_OT_constraints_clear";
|
||||
ot->description= "Clear all the constraints for the active Object only.";
|
||||
ot->description= "Clear all the constraints for the active Object only";
|
||||
|
||||
/* callbacks */
|
||||
ot->exec= object_constraints_clear_exec;
|
||||
@@ -1172,7 +1172,7 @@ void OBJECT_OT_constraint_add(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Add Constraint";
|
||||
ot->description = "Add a constraint to the active object.";
|
||||
ot->description = "Add a constraint to the active object";
|
||||
ot->idname= "OBJECT_OT_constraint_add";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1191,7 +1191,7 @@ void OBJECT_OT_constraint_add_with_targets(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Add Constraint (with Targets)";
|
||||
ot->description = "Add a constraint to the active object, with target (where applicable) set to the selected Objects/Bones.";
|
||||
ot->description = "Add a constraint to the active object, with target (where applicable) set to the selected Objects/Bones";
|
||||
ot->idname= "OBJECT_OT_constraint_add_with_targets";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1210,7 +1210,7 @@ void POSE_OT_constraint_add(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Add Constraint";
|
||||
ot->description = "Add a constraint to the active bone.";
|
||||
ot->description = "Add a constraint to the active bone";
|
||||
ot->idname= "POSE_OT_constraint_add";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1229,7 +1229,7 @@ void POSE_OT_constraint_add_with_targets(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Add Constraint (with Targets)";
|
||||
ot->description = "Add a constraint to the active bone, with target (where applicable) set to the selected Objects/Bones.";
|
||||
ot->description = "Add a constraint to the active bone, with target (where applicable) set to the selected Objects/Bones";
|
||||
ot->idname= "POSE_OT_constraint_add_with_targets";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1315,7 +1315,7 @@ void POSE_OT_ik_add(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Add IK to Bone";
|
||||
ot->description= "Add IK Constraint to the active Bone.";
|
||||
ot->description= "Add IK Constraint to the active Bone";
|
||||
ot->idname= "POSE_OT_ik_add";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1366,7 +1366,7 @@ void POSE_OT_ik_clear(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Remove IK";
|
||||
ot->description= "Remove all IK Constraints from selected bones.";
|
||||
ot->description= "Remove all IK Constraints from selected bones";
|
||||
ot->idname= "POSE_OT_ik_clear";
|
||||
|
||||
/* api callbacks */
|
||||
|
||||
@@ -209,7 +209,7 @@ void OBJECT_OT_restrictview_clear(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Clear Restrict View";
|
||||
ot->description = "Reveal the object by setting the restrictview flag.";
|
||||
ot->description = "Reveal the object by setting the restrictview flag";
|
||||
ot->idname= "OBJECT_OT_restrictview_clear";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -261,7 +261,7 @@ void OBJECT_OT_restrictview_set(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Set Restrict View";
|
||||
ot->description = "Hide the object by setting the restrictview flag.";
|
||||
ot->description = "Hide the object by setting the restrictview flag";
|
||||
ot->idname= "OBJECT_OT_restrictview_set";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -514,7 +514,7 @@ void OBJECT_OT_editmode_toggle(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Toggle Editmode";
|
||||
ot->description = "Toggle object's editmode.";
|
||||
ot->description = "Toggle object's editmode";
|
||||
ot->idname= "OBJECT_OT_editmode_toggle";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1666,7 +1666,7 @@ void OBJECT_OT_paths_calculate (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Calculate Object Paths";
|
||||
ot->idname= "OBJECT_OT_paths_calculate";
|
||||
ot->description= "Calculate paths for the selected bones.";
|
||||
ot->description= "Calculate paths for the selected bones";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= object_calculate_paths_exec;
|
||||
@@ -1711,7 +1711,7 @@ void OBJECT_OT_paths_clear (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Clear Object Paths";
|
||||
ot->idname= "OBJECT_OT_paths_clear";
|
||||
ot->description= "Clear path caches for selected bones.";
|
||||
ot->description= "Clear path caches for selected bones";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= object_clear_paths_exec;
|
||||
@@ -2068,7 +2068,7 @@ void OBJECT_OT_mode_set(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Set Object Mode";
|
||||
ot->description = "Sets the object interaction mode.";
|
||||
ot->description = "Sets the object interaction mode";
|
||||
ot->idname= "OBJECT_OT_mode_set";
|
||||
|
||||
/* api callbacks */
|
||||
|
||||
@@ -92,7 +92,7 @@ void GROUP_OT_objects_add_active(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Add Selected To Active Group";
|
||||
ot->description = "Add the object to an object group that contains the active object.";
|
||||
ot->description = "Add the object to an object group that contains the active object";
|
||||
ot->idname= "GROUP_OT_objects_add_active";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -138,7 +138,7 @@ void GROUP_OT_objects_remove_active(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Remove Selected From Active Group";
|
||||
ot->description = "Remove the object from an object group that contains the active object.";
|
||||
ot->description = "Remove the object from an object group that contains the active object";
|
||||
ot->idname= "GROUP_OT_objects_remove_active";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -171,7 +171,7 @@ void GROUP_OT_objects_remove(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Remove From Groups";
|
||||
ot->description = "Remove selected objects from all groups.";
|
||||
ot->description = "Remove selected objects from all groups";
|
||||
ot->idname= "GROUP_OT_objects_remove";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -207,7 +207,7 @@ void GROUP_OT_create(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Create New Group";
|
||||
ot->description = "Create an object group from selected objects.";
|
||||
ot->description = "Create an object group from selected objects";
|
||||
ot->idname= "GROUP_OT_create";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -291,7 +291,7 @@ void OBJECT_OT_group_add(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Add to Group";
|
||||
ot->idname= "OBJECT_OT_group_add";
|
||||
ot->description = "Add an object to an existing group, or create new.";
|
||||
ot->description = "Add an object to an existing group, or create new";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= group_add_exec;
|
||||
|
||||
@@ -499,7 +499,7 @@ void OBJECT_OT_hook_add_selobj(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Hook to Selected Object";
|
||||
ot->description= "Hook selected vertices to the first selected Object.";
|
||||
ot->description= "Hook selected vertices to the first selected Object";
|
||||
ot->idname= "OBJECT_OT_hook_add_selob";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -526,7 +526,7 @@ void OBJECT_OT_hook_add_newobj(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Hook to New Object";
|
||||
ot->description= "Hook selected vertices to the first selected Object.";
|
||||
ot->description= "Hook selected vertices to the first selected Object";
|
||||
ot->idname= "OBJECT_OT_hook_add_newob";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -599,7 +599,7 @@ void OBJECT_OT_hook_remove(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Remove Hook";
|
||||
ot->idname= "OBJECT_OT_hook_remove";
|
||||
ot->description= "Remove a hook from the active object.";
|
||||
ot->description= "Remove a hook from the active object";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= object_hook_remove_exec;
|
||||
@@ -666,7 +666,7 @@ void OBJECT_OT_hook_reset(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Reset Hook";
|
||||
ot->description= "Recalculate and and clear offset transformation.";
|
||||
ot->description= "Recalculate and and clear offset transformation";
|
||||
ot->idname= "OBJECT_OT_hook_reset";
|
||||
|
||||
/* callbacks */
|
||||
@@ -722,7 +722,7 @@ void OBJECT_OT_hook_recenter(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Recenter Hook";
|
||||
ot->description= "Set hook center to cursor position.";
|
||||
ot->description= "Set hook center to cursor position";
|
||||
ot->idname= "OBJECT_OT_hook_recenter";
|
||||
|
||||
/* callbacks */
|
||||
@@ -785,7 +785,7 @@ void OBJECT_OT_hook_assign(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Assign to Hook";
|
||||
ot->description= "Assign the selected vertices to a hook.";
|
||||
ot->description= "Assign the selected vertices to a hook";
|
||||
ot->idname= "OBJECT_OT_hook_assign";
|
||||
|
||||
/* callbacks */
|
||||
@@ -834,7 +834,7 @@ void OBJECT_OT_hook_select(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Select Hook";
|
||||
ot->description= "Selects effected vertices on mesh.";
|
||||
ot->description= "Selects effected vertices on mesh";
|
||||
ot->idname= "OBJECT_OT_hook_select";
|
||||
|
||||
/* callbacks */
|
||||
|
||||
@@ -228,7 +228,7 @@ void LATTICE_OT_select_all(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Select or Deselect All";
|
||||
ot->description= "Change selection of all UVW control points.";
|
||||
ot->description= "Change selection of all UVW control points";
|
||||
ot->idname= "LATTICE_OT_select_all";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -276,7 +276,7 @@ void LATTICE_OT_make_regular(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Make Regular";
|
||||
ot->description= "Set UVW control points a uniform distance apart.";
|
||||
ot->description= "Set UVW control points a uniform distance apart";
|
||||
ot->idname= "LATTICE_OT_make_regular";
|
||||
|
||||
/* api callbacks */
|
||||
|
||||
@@ -539,7 +539,7 @@ void OBJECT_OT_modifier_add(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Add Modifier";
|
||||
ot->description = "Add a modifier to the active object.";
|
||||
ot->description = "Add a modifier to the active object";
|
||||
ot->idname= "OBJECT_OT_modifier_add";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -576,7 +576,7 @@ static int modifier_remove_exec(bContext *C, wmOperator *op)
|
||||
void OBJECT_OT_modifier_remove(wmOperatorType *ot)
|
||||
{
|
||||
ot->name= "Remove Modifier";
|
||||
ot->description= "Remove a modifier from the active object.";
|
||||
ot->description= "Remove a modifier from the active object";
|
||||
ot->idname= "OBJECT_OT_modifier_remove";
|
||||
|
||||
ot->exec= modifier_remove_exec;
|
||||
@@ -606,7 +606,7 @@ static int modifier_move_up_exec(bContext *C, wmOperator *op)
|
||||
void OBJECT_OT_modifier_move_up(wmOperatorType *ot)
|
||||
{
|
||||
ot->name= "Move Up Modifier";
|
||||
ot->description= "Move modifier up in the stack.";
|
||||
ot->description= "Move modifier up in the stack";
|
||||
ot->idname= "OBJECT_OT_modifier_move_up";
|
||||
|
||||
ot->exec= modifier_move_up_exec;
|
||||
@@ -636,7 +636,7 @@ static int modifier_move_down_exec(bContext *C, wmOperator *op)
|
||||
void OBJECT_OT_modifier_move_down(wmOperatorType *ot)
|
||||
{
|
||||
ot->name= "Move Down Modifier";
|
||||
ot->description= "Move modifier down in the stack.";
|
||||
ot->description= "Move modifier down in the stack";
|
||||
ot->idname= "OBJECT_OT_modifier_move_down";
|
||||
|
||||
ot->exec= modifier_move_down_exec;
|
||||
@@ -673,7 +673,7 @@ static EnumPropertyItem modifier_apply_as_items[] = {
|
||||
void OBJECT_OT_modifier_apply(wmOperatorType *ot)
|
||||
{
|
||||
ot->name= "Apply Modifier";
|
||||
ot->description= "Apply modifier and remove from the stack.";
|
||||
ot->description= "Apply modifier and remove from the stack";
|
||||
ot->idname= "OBJECT_OT_modifier_apply";
|
||||
|
||||
//ot->invoke= WM_menu_invoke;
|
||||
@@ -707,7 +707,7 @@ static int modifier_convert_exec(bContext *C, wmOperator *op)
|
||||
void OBJECT_OT_modifier_convert(wmOperatorType *ot)
|
||||
{
|
||||
ot->name= "Convert Modifier";
|
||||
ot->description= "Convert particles to a mesh object.";
|
||||
ot->description= "Convert particles to a mesh object";
|
||||
ot->idname= "OBJECT_OT_modifier_convert";
|
||||
|
||||
ot->exec= modifier_convert_exec;
|
||||
@@ -737,7 +737,7 @@ static int modifier_copy_exec(bContext *C, wmOperator *op)
|
||||
void OBJECT_OT_modifier_copy(wmOperatorType *ot)
|
||||
{
|
||||
ot->name= "Copy Modifier";
|
||||
ot->description= "Duplicate modifier at the same position in the stack.";
|
||||
ot->description= "Duplicate modifier at the same position in the stack";
|
||||
ot->idname= "OBJECT_OT_modifier_copy";
|
||||
|
||||
ot->exec= modifier_copy_exec;
|
||||
@@ -801,7 +801,7 @@ static int multires_subdivide_exec(bContext *C, wmOperator *op)
|
||||
void OBJECT_OT_multires_subdivide(wmOperatorType *ot)
|
||||
{
|
||||
ot->name= "Multires Subdivide";
|
||||
ot->description= "Add a new level of subdivision.";
|
||||
ot->description= "Add a new level of subdivision";
|
||||
ot->idname= "OBJECT_OT_multires_subdivide";
|
||||
|
||||
ot->poll= multires_poll;
|
||||
@@ -846,7 +846,7 @@ static int multires_reshape_exec(bContext *C, wmOperator *op)
|
||||
void OBJECT_OT_multires_reshape(wmOperatorType *ot)
|
||||
{
|
||||
ot->name= "Multires Reshape";
|
||||
ot->description= "Copy vertex coordinates from other object.";
|
||||
ot->description= "Copy vertex coordinates from other object";
|
||||
ot->idname= "OBJECT_OT_multires_reshape";
|
||||
|
||||
ot->poll= multires_poll;
|
||||
@@ -904,7 +904,7 @@ static int multires_save_external_invoke(bContext *C, wmOperator *op, wmEvent *e
|
||||
void OBJECT_OT_multires_save_external(wmOperatorType *ot)
|
||||
{
|
||||
ot->name= "Multires Save External";
|
||||
ot->description= "Save displacements to an external file.";
|
||||
ot->description= "Save displacements to an external file";
|
||||
ot->idname= "OBJECT_OT_multires_save_external";
|
||||
|
||||
ot->poll= multires_poll;
|
||||
@@ -937,7 +937,7 @@ static int multires_pack_external_exec(bContext *C, wmOperator *op)
|
||||
void OBJECT_OT_multires_pack_external(wmOperatorType *ot)
|
||||
{
|
||||
ot->name= "Multires Pack External";
|
||||
ot->description= "Pack displacements from an external file.";
|
||||
ot->description= "Pack displacements from an external file";
|
||||
ot->idname= "OBJECT_OT_multires_pack_external";
|
||||
|
||||
ot->poll= multires_poll;
|
||||
@@ -1011,7 +1011,7 @@ void OBJECT_OT_meshdeform_bind(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Mesh Deform Bind";
|
||||
ot->description = "Bind mesh to cage in mesh deform modifier.";
|
||||
ot->description = "Bind mesh to cage in mesh deform modifier";
|
||||
ot->idname= "OBJECT_OT_meshdeform_bind";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1048,7 +1048,7 @@ static int explode_refresh_exec(bContext *C, wmOperator *op)
|
||||
void OBJECT_OT_explode_refresh(wmOperatorType *ot)
|
||||
{
|
||||
ot->name= "Explode Refresh";
|
||||
ot->description= "Refresh data in the Explode modifier.";
|
||||
ot->description= "Refresh data in the Explode modifier";
|
||||
ot->idname= "OBJECT_OT_explode_refresh";
|
||||
|
||||
ot->exec= explode_refresh_exec;
|
||||
|
||||
@@ -248,7 +248,7 @@ void OBJECT_OT_vertex_parent_set(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Make Vertex Parent";
|
||||
ot->description = "Parent selected objects to the selected vertices.";
|
||||
ot->description = "Parent selected objects to the selected vertices";
|
||||
ot->idname= "OBJECT_OT_vertex_parent_set";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -440,7 +440,7 @@ void OBJECT_OT_parent_clear(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Clear Parent";
|
||||
ot->description = "Clear the object's parenting.";
|
||||
ot->description = "Clear the object's parenting";
|
||||
ot->idname= "OBJECT_OT_parent_clear";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -698,7 +698,7 @@ void OBJECT_OT_parent_set(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Make Parent";
|
||||
ot->description = "Set the object's parenting.";
|
||||
ot->description = "Set the object's parenting";
|
||||
ot->idname= "OBJECT_OT_parent_set";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -754,7 +754,7 @@ void OBJECT_OT_parent_no_inverse_set(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Make Parent without Inverse";
|
||||
ot->description = "Set the object's parenting without setting the inverse parent correction.";
|
||||
ot->description = "Set the object's parenting without setting the inverse parent correction";
|
||||
ot->idname= "OBJECT_OT_parent_no_inverse_set";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -795,7 +795,7 @@ void OBJECT_OT_slow_parent_clear(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Clear Slow Parent";
|
||||
ot->description = "Clear the object's slow parent.";
|
||||
ot->description = "Clear the object's slow parent";
|
||||
ot->idname= "OBJECT_OT_slow_parent_clear";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -833,7 +833,7 @@ void OBJECT_OT_slow_parent_set(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Set Slow Parent";
|
||||
ot->description = "Set the object's slow parent.";
|
||||
ot->description = "Set the object's slow parent";
|
||||
ot->idname= "OBJECT_OT_slow_parent_set";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -881,7 +881,7 @@ void OBJECT_OT_track_clear(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Clear track";
|
||||
ot->description = "Clear tracking constraint or flag from object.";
|
||||
ot->description = "Clear tracking constraint or flag from object";
|
||||
ot->idname= "OBJECT_OT_track_clear";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -973,7 +973,7 @@ void OBJECT_OT_track_set(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Make Track";
|
||||
ot->description = "Make the object track another object, either by constraint or old way or locked track.";
|
||||
ot->description = "Make the object track another object, either by constraint or old way or locked track";
|
||||
ot->idname= "OBJECT_OT_track_set";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1081,7 +1081,7 @@ void OBJECT_OT_move_to_layer(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Move to Layer";
|
||||
ot->description = "Move the object to different layers.";
|
||||
ot->description = "Move the object to different layers";
|
||||
ot->idname= "OBJECT_OT_move_to_layer";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1223,7 +1223,7 @@ void OBJECT_OT_make_links_scene(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Link Objects to Scene";
|
||||
ot->description = "Make linked data local to each object.";
|
||||
ot->description = "Make linked data local to each object";
|
||||
ot->idname= "OBJECT_OT_make_links_scene";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1252,7 +1252,7 @@ void OBJECT_OT_make_links_data(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Link Data";
|
||||
ot->description = "Make links from the active object to other selected objects.";
|
||||
ot->description = "Make links from the active object to other selected objects";
|
||||
ot->idname= "OBJECT_OT_make_links_data";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1757,7 +1757,7 @@ void OBJECT_OT_make_local(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Make Local";
|
||||
ot->description = "Make library linked datablocks local to this file.";
|
||||
ot->description = "Make library linked datablocks local to this file";
|
||||
ot->idname= "OBJECT_OT_make_local";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1808,7 +1808,7 @@ void OBJECT_OT_make_single_user(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Make Single User";
|
||||
ot->description = "Make linked data local to each object.";
|
||||
ot->description = "Make linked data local to each object";
|
||||
ot->idname= "OBJECT_OT_make_single_user";
|
||||
|
||||
/* api callbacks */
|
||||
|
||||
@@ -144,7 +144,7 @@ void OBJECT_OT_select_by_type(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Select By Type";
|
||||
ot->description = "Select all visible objects that are of a type.";
|
||||
ot->description = "Select all visible objects that are of a type";
|
||||
ot->idname= "OBJECT_OT_select_by_type";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -305,7 +305,7 @@ void OBJECT_OT_select_linked(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Select Linked";
|
||||
ot->description = "Select all visible objects that are linked.";
|
||||
ot->description = "Select all visible objects that are linked";
|
||||
ot->idname= "OBJECT_OT_select_linked";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -606,7 +606,7 @@ void OBJECT_OT_select_grouped(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Select Grouped";
|
||||
ot->description = "Select all visible objects grouped by various properties.";
|
||||
ot->description = "Select all visible objects grouped by various properties";
|
||||
ot->idname= "OBJECT_OT_select_grouped";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -655,7 +655,7 @@ void OBJECT_OT_select_by_layer(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "select by layer";
|
||||
ot->description = "Select all visible objects on a layer.";
|
||||
ot->description = "Select all visible objects on a layer";
|
||||
ot->idname= "OBJECT_OT_select_by_layer";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -694,7 +694,7 @@ void OBJECT_OT_select_inverse(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Select Inverse";
|
||||
ot->description = "Invert selection of all visible objects.";
|
||||
ot->description = "Invert selection of all visible objects";
|
||||
ot->idname= "OBJECT_OT_select_inverse";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -755,7 +755,7 @@ void OBJECT_OT_select_all(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "deselect all";
|
||||
ot->description = "Change selection of all visible objects in scene.";
|
||||
ot->description = "Change selection of all visible objects in scene";
|
||||
ot->idname= "OBJECT_OT_select_all";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1015,7 +1015,7 @@ void OBJECT_OT_select_random(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Select Random";
|
||||
ot->description = "Set select on random visible objects.";
|
||||
ot->description = "Set select on random visible objects";
|
||||
ot->idname= "OBJECT_OT_select_random";
|
||||
|
||||
/* api callbacks */
|
||||
|
||||
@@ -310,7 +310,7 @@ void OBJECT_OT_shape_key_clear(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Clear Shape Keys";
|
||||
ot->description= "Clear weights for all shape keys.";
|
||||
ot->description= "Clear weights for all shape keys";
|
||||
ot->idname= "OBJECT_OT_shape_key_clear";
|
||||
|
||||
/* api callbacks */
|
||||
|
||||
@@ -117,7 +117,7 @@ void OBJECT_OT_location_clear(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Clear Location";
|
||||
ot->description = "Clear the object's location.";
|
||||
ot->description = "Clear the object's location";
|
||||
ot->idname= "OBJECT_OT_location_clear";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -256,7 +256,7 @@ void OBJECT_OT_rotation_clear(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Clear Rotation";
|
||||
ot->description = "Clear the object's rotation.";
|
||||
ot->description = "Clear the object's rotation";
|
||||
ot->idname= "OBJECT_OT_rotation_clear";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -317,7 +317,7 @@ void OBJECT_OT_scale_clear(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Clear Scale";
|
||||
ot->description = "Clear the object's scale.";
|
||||
ot->description = "Clear the object's scale";
|
||||
ot->idname= "OBJECT_OT_scale_clear";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -361,7 +361,7 @@ void OBJECT_OT_origin_clear(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Clear Origin";
|
||||
ot->description = "Clear the object's origin.";
|
||||
ot->description = "Clear the object's origin";
|
||||
ot->idname= "OBJECT_OT_origin_clear";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -572,7 +572,7 @@ void OBJECT_OT_visual_transform_apply(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Apply Visual Transform";
|
||||
ot->description = "Apply the object's visual transformation to its data.";
|
||||
ot->description = "Apply the object's visual transformation to its data";
|
||||
ot->idname= "OBJECT_OT_visual_transform_apply";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -592,7 +592,7 @@ void OBJECT_OT_location_apply(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Apply Location";
|
||||
ot->description = "Apply the object's location to its data.";
|
||||
ot->description = "Apply the object's location to its data";
|
||||
ot->idname= "OBJECT_OT_location_apply";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -612,7 +612,7 @@ void OBJECT_OT_scale_apply(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Apply Scale";
|
||||
ot->description = "Apply the object's scale to its data.";
|
||||
ot->description = "Apply the object's scale to its data";
|
||||
ot->idname= "OBJECT_OT_scale_apply";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -632,7 +632,7 @@ void OBJECT_OT_rotation_apply(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Apply Rotation";
|
||||
ot->description = "Apply the object's rotation to its data.";
|
||||
ot->description = "Apply the object's rotation to its data";
|
||||
ot->idname= "OBJECT_OT_rotation_apply";
|
||||
|
||||
/* api callbacks */
|
||||
|
||||
@@ -1732,7 +1732,7 @@ void OBJECT_OT_vertex_group_clean(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Clean Vertex Group";
|
||||
ot->idname= "OBJECT_OT_vertex_group_clean";
|
||||
ot->description= "Remove Vertex Group assignments which aren't required.";
|
||||
ot->description= "Remove Vertex Group assignments which aren't required";
|
||||
|
||||
/* api callbacks */
|
||||
ot->poll= vertex_group_poll;
|
||||
@@ -1765,7 +1765,7 @@ void OBJECT_OT_vertex_group_mirror(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Mirror Vertex Group";
|
||||
ot->idname= "OBJECT_OT_vertex_group_mirror";
|
||||
ot->description= "Mirror weights, and flip vertex group names, copying when only one side is selected.";
|
||||
ot->description= "Mirror weights, and flip vertex group names, copying when only one side is selected";
|
||||
|
||||
/* api callbacks */
|
||||
ot->poll= vertex_group_poll_edit;
|
||||
@@ -1811,7 +1811,7 @@ void OBJECT_OT_vertex_group_copy_to_linked(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Copy Vertex Groups to Linked";
|
||||
ot->idname= "OBJECT_OT_vertex_group_copy_to_linked";
|
||||
ot->description= "Copy Vertex Groups to all users of the same Geometry data.";
|
||||
ot->description= "Copy Vertex Groups to all users of the same Geometry data";
|
||||
|
||||
/* api callbacks */
|
||||
ot->poll= vertex_group_poll;
|
||||
@@ -1841,7 +1841,7 @@ void OBJECT_OT_vertex_group_copy_to_selected(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Copy Vertex Group to Selected";
|
||||
ot->idname= "OBJECT_OT_vertex_group_copy_to_selected";
|
||||
ot->description= "Copy Vertex Groups to other selected objects with matching indicies.";
|
||||
ot->description= "Copy Vertex Groups to other selected objects with matching indicies";
|
||||
|
||||
/* api callbacks */
|
||||
ot->poll= vertex_group_poll;
|
||||
@@ -1899,7 +1899,7 @@ void OBJECT_OT_vertex_group_set_active(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Set Active Vertex Group";
|
||||
ot->idname= "OBJECT_OT_vertex_group_set_active";
|
||||
ot->description= "Set the active vertex group.";
|
||||
ot->description= "Set the active vertex group";
|
||||
|
||||
/* api callbacks */
|
||||
ot->poll= vertex_group_poll;
|
||||
@@ -1981,7 +1981,7 @@ void OBJECT_OT_vertex_group_sort(wmOperatorType *ot)
|
||||
{
|
||||
ot->name= "Sort Vertex Groups";
|
||||
ot->idname= "OBJECT_OT_vertex_group_sort";
|
||||
ot->description= "Sorts vertex groups alphabetically.";
|
||||
ot->description= "Sorts vertex groups alphabetically";
|
||||
|
||||
/* api callbacks */
|
||||
ot->poll= vertex_group_poll;
|
||||
|
||||
@@ -87,7 +87,7 @@ void BOID_OT_rule_add(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Add Boid Rule";
|
||||
ot->description = "Add a boid rule to the current boid state.";
|
||||
ot->description = "Add a boid rule to the current boid state";
|
||||
ot->idname= "BOID_OT_rule_add";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -178,7 +178,7 @@ static int rule_move_up_exec(bContext *C, wmOperator *op)
|
||||
void BOID_OT_rule_move_up(wmOperatorType *ot)
|
||||
{
|
||||
ot->name= "Move Up Boid Rule";
|
||||
ot->description= "Move boid rule up in the list.";
|
||||
ot->description= "Move boid rule up in the list";
|
||||
ot->idname= "BOID_OT_rule_move_up";
|
||||
|
||||
ot->exec= rule_move_up_exec;
|
||||
@@ -216,7 +216,7 @@ static int rule_move_down_exec(bContext *C, wmOperator *op)
|
||||
void BOID_OT_rule_move_down(wmOperatorType *ot)
|
||||
{
|
||||
ot->name= "Move Down Boid Rule";
|
||||
ot->description= "Move boid rule down in the list.";
|
||||
ot->description= "Move boid rule down in the list";
|
||||
ot->idname= "BOID_OT_rule_move_down";
|
||||
|
||||
ot->exec= rule_move_down_exec;
|
||||
@@ -257,7 +257,7 @@ void BOID_OT_state_add(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Add Boid State";
|
||||
ot->description = "Add a boid state to the particle system.";
|
||||
ot->description = "Add a boid state to the particle system";
|
||||
ot->idname= "BOID_OT_state_add";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -349,7 +349,7 @@ static int state_move_up_exec(bContext *C, wmOperator *op)
|
||||
void BOID_OT_state_move_up(wmOperatorType *ot)
|
||||
{
|
||||
ot->name= "Move Up Boid State";
|
||||
ot->description= "Move boid state up in the list.";
|
||||
ot->description= "Move boid state up in the list";
|
||||
ot->idname= "BOID_OT_state_move_up";
|
||||
|
||||
ot->exec= state_move_up_exec;
|
||||
@@ -385,7 +385,7 @@ static int state_move_down_exec(bContext *C, wmOperator *op)
|
||||
void BOID_OT_state_move_down(wmOperatorType *ot)
|
||||
{
|
||||
ot->name= "Move Down Boid State";
|
||||
ot->description= "Move boid state down in the list.";
|
||||
ot->description= "Move boid state down in the list";
|
||||
ot->idname= "BOID_OT_state_move_down";
|
||||
|
||||
ot->exec= state_move_down_exec;
|
||||
|
||||
@@ -82,7 +82,7 @@ void OBJECT_OT_particle_system_add(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Add Particle System Slot";
|
||||
ot->idname= "OBJECT_OT_particle_system_add";
|
||||
ot->description="Add a particle system.";
|
||||
ot->description="Add a particle system";
|
||||
|
||||
/* api callbacks */
|
||||
ot->poll= ED_operator_object_active_editable;
|
||||
@@ -120,7 +120,7 @@ void OBJECT_OT_particle_system_remove(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Remove Particle System Slot";
|
||||
ot->idname= "OBJECT_OT_particle_system_remove";
|
||||
ot->description="Remove the selected particle system.";
|
||||
ot->description="Remove the selected particle system";
|
||||
|
||||
/* api callbacks */
|
||||
ot->poll= ED_operator_object_active_editable;
|
||||
@@ -179,7 +179,7 @@ void PARTICLE_OT_new(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "New Particle Settings";
|
||||
ot->idname= "PARTICLE_OT_new";
|
||||
ot->description="Add new particle settings.";
|
||||
ot->description="Add new particle settings";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= new_particle_settings_exec;
|
||||
@@ -227,7 +227,7 @@ void PARTICLE_OT_new_target(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "New Particle Target";
|
||||
ot->idname= "PARTICLE_OT_new_target";
|
||||
ot->description="Add a new particle target.";
|
||||
ot->description="Add a new particle target";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= new_particle_target_exec;
|
||||
@@ -275,7 +275,7 @@ void PARTICLE_OT_target_remove(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Remove Particle Target";
|
||||
ot->idname= "PARTICLE_OT_target_remove";
|
||||
ot->description="Remove the selected particle target.";
|
||||
ot->description="Remove the selected particle target";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= remove_particle_target_exec;
|
||||
@@ -315,7 +315,7 @@ void PARTICLE_OT_target_move_up(wmOperatorType *ot)
|
||||
{
|
||||
ot->name= "Move Up Target";
|
||||
ot->idname= "PARTICLE_OT_target_move_up";
|
||||
ot->description= "Move particle target up in the list.";
|
||||
ot->description= "Move particle target up in the list";
|
||||
|
||||
ot->exec= target_move_up_exec;
|
||||
|
||||
@@ -353,7 +353,7 @@ void PARTICLE_OT_target_move_down(wmOperatorType *ot)
|
||||
{
|
||||
ot->name= "Move Down Target";
|
||||
ot->idname= "PARTICLE_OT_target_move_down";
|
||||
ot->description= "Move particle target down in the list.";
|
||||
ot->description= "Move particle target down in the list";
|
||||
|
||||
ot->exec= target_move_down_exec;
|
||||
|
||||
@@ -391,7 +391,7 @@ void PARTICLE_OT_dupliob_move_up(wmOperatorType *ot)
|
||||
{
|
||||
ot->name= "Move Up Dupli Object";
|
||||
ot->idname= "PARTICLE_OT_dupliob_move_up";
|
||||
ot->description= "Move dupli object up in the list.";
|
||||
ot->description= "Move dupli object up in the list";
|
||||
|
||||
ot->exec= dupliob_move_up_exec;
|
||||
|
||||
@@ -431,7 +431,7 @@ void PARTICLE_OT_dupliob_copy(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Copy Particle Dupliob";
|
||||
ot->idname= "PARTICLE_OT_dupliob_copy";
|
||||
ot->description="Duplicate the current dupliobject.";
|
||||
ot->description="Duplicate the current dupliobject";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= copy_particle_dupliob_exec;
|
||||
@@ -474,7 +474,7 @@ void PARTICLE_OT_dupliob_remove(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Remove Particle Dupliobject";
|
||||
ot->idname= "PARTICLE_OT_dupliob_remove";
|
||||
ot->description="Remove the selected dupliobject.";
|
||||
ot->description="Remove the selected dupliobject";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= remove_particle_dupliob_exec;
|
||||
@@ -513,7 +513,7 @@ void PARTICLE_OT_dupliob_move_down(wmOperatorType *ot)
|
||||
{
|
||||
ot->name= "Move Down Dupli Object";
|
||||
ot->idname= "PARTICLE_OT_dupliob_move_down";
|
||||
ot->description= "Move dupli object down in the list.";
|
||||
ot->description= "Move dupli object down in the list";
|
||||
|
||||
ot->exec= dupliob_move_down_exec;
|
||||
|
||||
@@ -597,7 +597,7 @@ static int disconnect_hair_exec(bContext *C, wmOperator *op)
|
||||
void PARTICLE_OT_disconnect_hair(wmOperatorType *ot)
|
||||
{
|
||||
ot->name= "Disconnect Hair";
|
||||
ot->description= "Disconnect hair from the emitter mesh.";
|
||||
ot->description= "Disconnect hair from the emitter mesh";
|
||||
ot->idname= "PARTICLE_OT_disconnect_hair";
|
||||
|
||||
ot->exec= disconnect_hair_exec;
|
||||
@@ -736,7 +736,7 @@ static int connect_hair_exec(bContext *C, wmOperator *op)
|
||||
void PARTICLE_OT_connect_hair(wmOperatorType *ot)
|
||||
{
|
||||
ot->name= "Connect Hair";
|
||||
ot->description= "Connect hair to the emitter mesh.";
|
||||
ot->description= "Connect hair to the emitter mesh";
|
||||
ot->idname= "PARTICLE_OT_connect_hair";
|
||||
|
||||
ot->exec= connect_hair_exec;
|
||||
|
||||
@@ -1217,7 +1217,7 @@ void FLUID_OT_bake(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Fluid Simulation Bake";
|
||||
ot->description= "Bake fluid simulation.";
|
||||
ot->description= "Bake fluid simulation";
|
||||
ot->idname= "FLUID_OT_bake";
|
||||
|
||||
/* api callbacks */
|
||||
|
||||
@@ -233,7 +233,7 @@ void OBJECT_OT_material_slot_add(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Add Material Slot";
|
||||
ot->idname= "OBJECT_OT_material_slot_add";
|
||||
ot->description="Add a new material slot or duplicate the selected one.";
|
||||
ot->description="Add a new material slot or duplicate the selected one";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= material_slot_add_exec;
|
||||
@@ -260,7 +260,7 @@ void OBJECT_OT_material_slot_remove(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Remove Material Slot";
|
||||
ot->idname= "OBJECT_OT_material_slot_remove";
|
||||
ot->description="Remove the selected material slot.";
|
||||
ot->description="Remove the selected material slot";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= material_slot_remove_exec;
|
||||
@@ -319,7 +319,7 @@ void OBJECT_OT_material_slot_assign(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Assign Material Slot";
|
||||
ot->idname= "OBJECT_OT_material_slot_assign";
|
||||
ot->description="Assign the material in the selected material slot to the selected vertices.";
|
||||
ot->description="Assign the material in the selected material slot to the selected vertices";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= material_slot_assign_exec;
|
||||
@@ -403,7 +403,7 @@ void OBJECT_OT_material_slot_select(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Select Material Slot";
|
||||
ot->idname= "OBJECT_OT_material_slot_select";
|
||||
ot->description="Select vertices assigned to the selected material slot.";
|
||||
ot->description="Select vertices assigned to the selected material slot";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= material_slot_select_exec;
|
||||
@@ -422,7 +422,7 @@ void OBJECT_OT_material_slot_deselect(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Deselect Material Slot";
|
||||
ot->idname= "OBJECT_OT_material_slot_deselect";
|
||||
ot->description="Deselect vertices assigned to the selected material slot.";
|
||||
ot->description="Deselect vertices assigned to the selected material slot";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= material_slot_deselect_exec;
|
||||
@@ -462,7 +462,7 @@ void OBJECT_OT_material_slot_copy(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Copy Material to Others";
|
||||
ot->idname= "OBJECT_OT_material_slot_copy";
|
||||
ot->description="Copies materials to other selected objects.";
|
||||
ot->description="Copies materials to other selected objects";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= material_slot_copy_exec;
|
||||
@@ -508,7 +508,7 @@ void MATERIAL_OT_new(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "New Material";
|
||||
ot->idname= "MATERIAL_OT_new";
|
||||
ot->description="Add a new material.";
|
||||
ot->description="Add a new material";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= new_material_exec;
|
||||
@@ -554,7 +554,7 @@ void TEXTURE_OT_new(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "New Texture";
|
||||
ot->idname= "TEXTURE_OT_new";
|
||||
ot->description="Add a new texture.";
|
||||
ot->description="Add a new texture";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= new_texture_exec;
|
||||
@@ -600,7 +600,7 @@ void WORLD_OT_new(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "New World";
|
||||
ot->idname= "WORLD_OT_new";
|
||||
ot->description= "Add a new world.";
|
||||
ot->description= "Add a new world";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= new_world_exec;
|
||||
@@ -628,7 +628,7 @@ void SCENE_OT_render_layer_add(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Add Render Layer";
|
||||
ot->idname= "SCENE_OT_render_layer_add";
|
||||
ot->description="Add a render layer.";
|
||||
ot->description="Add a render layer";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= render_layer_add_exec;
|
||||
@@ -674,7 +674,7 @@ void SCENE_OT_render_layer_remove(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Remove Render Layer";
|
||||
ot->idname= "SCENE_OT_render_layer_remove";
|
||||
ot->description="Remove the selected render layer.";
|
||||
ot->description="Remove the selected render layer";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= render_layer_remove_exec;
|
||||
@@ -748,7 +748,7 @@ void TEXTURE_OT_slot_move(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Move Texture Slot";
|
||||
ot->idname= "TEXTURE_OT_slot_move";
|
||||
ot->description="Move texture slots up and down.";
|
||||
ot->description="Move texture slots up and down";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= texture_slot_move;
|
||||
@@ -781,7 +781,7 @@ void MATERIAL_OT_copy(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Copy Material";
|
||||
ot->idname= "MATERIAL_OT_copy";
|
||||
ot->description="Copy the material settings and nodes.";
|
||||
ot->description="Copy the material settings and nodes";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= copy_material_exec;
|
||||
@@ -809,7 +809,7 @@ void MATERIAL_OT_paste(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Paste Material";
|
||||
ot->idname= "MATERIAL_OT_paste";
|
||||
ot->description="Copy the material settings and nodes.";
|
||||
ot->description="Copy the material settings and nodes";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= paste_material_exec;
|
||||
|
||||
@@ -68,7 +68,7 @@ void BRUSH_OT_add(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Add Brush";
|
||||
ot->description= "Add brush by mode type.";
|
||||
ot->description= "Add brush by mode type";
|
||||
ot->idname= "BRUSH_OT_add";
|
||||
|
||||
/* api callbacks */
|
||||
|
||||
@@ -221,7 +221,7 @@ void BRUSH_OT_curve_preset(wmOperatorType *ot)
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
ot->name= "Preset";
|
||||
ot->description= "Set brush shape.";
|
||||
ot->description= "Set brush shape";
|
||||
ot->idname= "BRUSH_OT_curve_preset";
|
||||
|
||||
ot->exec= brush_curve_preset_exec;
|
||||
@@ -244,7 +244,7 @@ static int paint_select_linked_exec(bContext *C, wmOperator *op)
|
||||
void PAINT_OT_face_select_linked(wmOperatorType *ot)
|
||||
{
|
||||
ot->name= "Select Linked";
|
||||
ot->description= "Select linked faces.";
|
||||
ot->description= "Select linked faces";
|
||||
ot->idname= "PAINT_OT_face_select_linked";
|
||||
|
||||
ot->exec= paint_select_linked_exec;
|
||||
@@ -264,7 +264,7 @@ static int paint_select_linked_pick_invoke(bContext *C, wmOperator *op, wmEvent
|
||||
void PAINT_OT_face_select_linked_pick(wmOperatorType *ot)
|
||||
{
|
||||
ot->name= "Select Linked Pick";
|
||||
ot->description= "Select linked faces.";
|
||||
ot->description= "Select linked faces";
|
||||
ot->idname= "PAINT_OT_face_select_linked_pick";
|
||||
|
||||
ot->invoke= paint_select_linked_pick_invoke;
|
||||
@@ -287,7 +287,7 @@ static int face_select_all_exec(bContext *C, wmOperator *op)
|
||||
void PAINT_OT_face_select_all(wmOperatorType *ot)
|
||||
{
|
||||
ot->name= "Face Selection";
|
||||
ot->description= "Change selection for all faces.";
|
||||
ot->description= "Change selection for all faces";
|
||||
ot->idname= "PAINT_OT_face_select_all";
|
||||
|
||||
ot->exec= face_select_all_exec;
|
||||
|
||||
@@ -103,7 +103,7 @@ void SOUND_OT_open(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Open Sound";
|
||||
ot->description= "Load a sound file.";
|
||||
ot->description= "Load a sound file";
|
||||
ot->idname= "SOUND_OT_open";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -154,7 +154,7 @@ void SOUND_OT_pack(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Pack Sound";
|
||||
ot->description= "Pack the sound into the current blend file.";
|
||||
ot->description= "Pack the sound into the current blend file";
|
||||
ot->idname= "SOUND_OT_pack";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -270,7 +270,7 @@ void SOUND_OT_unpack(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Unpack Sound";
|
||||
ot->description= "Unpack the sound to the samples filename.";
|
||||
ot->description= "Unpack the sound to the samples filename";
|
||||
ot->idname= "SOUND_OT_unpack";
|
||||
|
||||
/* api callbacks */
|
||||
|
||||
@@ -128,7 +128,7 @@ void ACTION_OT_new (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "New";
|
||||
ot->idname= "ACTION_OT_new";
|
||||
ot->description= "Create new action.";
|
||||
ot->description= "Create new action";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= act_new_exec;
|
||||
@@ -230,7 +230,7 @@ void ACTION_OT_previewrange_set (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Auto-Set Preview Range";
|
||||
ot->idname= "ACTION_OT_previewrange_set";
|
||||
ot->description= "Set Preview Range based on extents of selected Keyframes.";
|
||||
ot->description= "Set Preview Range based on extents of selected Keyframes";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= actkeys_previewrange_exec;
|
||||
@@ -278,7 +278,7 @@ void ACTION_OT_view_all (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "View All";
|
||||
ot->idname= "ACTION_OT_view_all";
|
||||
ot->description= "Reset viewable area to show full keyframe range.";
|
||||
ot->description= "Reset viewable area to show full keyframe range";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= actkeys_viewall_exec;
|
||||
@@ -363,7 +363,7 @@ void ACTION_OT_copy (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Copy Keyframes";
|
||||
ot->idname= "ACTION_OT_copy";
|
||||
ot->description= "Copy selected keyframes to the copy/paste buffer.";
|
||||
ot->description= "Copy selected keyframes to the copy/paste buffer";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= actkeys_copy_exec;
|
||||
@@ -408,7 +408,7 @@ void ACTION_OT_paste (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Paste Keyframes";
|
||||
ot->idname= "ACTION_OT_paste";
|
||||
ot->description= "Paste keyframes from copy/paste buffer for the selected channels, starting on the current frame.";
|
||||
ot->description= "Paste keyframes from copy/paste buffer for the selected channels, starting on the current frame";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= actkeys_paste_exec;
|
||||
@@ -503,7 +503,7 @@ void ACTION_OT_keyframe_insert (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Insert Keyframes";
|
||||
ot->idname= "ACTION_OT_keyframe_insert";
|
||||
ot->description= "Insert keyframes for the specified channels.";
|
||||
ot->description= "Insert keyframes for the specified channels";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= WM_menu_invoke;
|
||||
@@ -581,7 +581,7 @@ void ACTION_OT_duplicate (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Duplicate Keyframes";
|
||||
ot->idname= "ACTION_OT_duplicate";
|
||||
ot->description= "Make a copy of all selected keyframes.";
|
||||
ot->description= "Make a copy of all selected keyframes";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= actkeys_duplicate_invoke;
|
||||
@@ -658,7 +658,7 @@ void ACTION_OT_delete (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Delete Keyframes";
|
||||
ot->idname= "ACTION_OT_delete";
|
||||
ot->description= "Remove all selected keyframes.";
|
||||
ot->description= "Remove all selected keyframes";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= WM_operator_confirm;
|
||||
@@ -722,7 +722,7 @@ void ACTION_OT_clean (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Clean Keyframes";
|
||||
ot->idname= "ACTION_OT_clean";
|
||||
ot->description= "Simplify F-Curves by removing closely spaced keyframes.";
|
||||
ot->description= "Simplify F-Curves by removing closely spaced keyframes";
|
||||
|
||||
/* api callbacks */
|
||||
//ot->invoke= // XXX we need that number popup for this!
|
||||
@@ -786,7 +786,7 @@ void ACTION_OT_sample (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Sample Keyframes";
|
||||
ot->idname= "ACTION_OT_sample";
|
||||
ot->description= "Add keyframes on every frame between the selected keyframes.";
|
||||
ot->description= "Add keyframes on every frame between the selected keyframes";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= actkeys_sample_exec;
|
||||
@@ -862,7 +862,7 @@ void ACTION_OT_extrapolation_type (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Set Keyframe Extrapolation";
|
||||
ot->idname= "ACTION_OT_extrapolation_type";
|
||||
ot->description= "Set extrapolation mode for selected F-Curves.";
|
||||
ot->description= "Set extrapolation mode for selected F-Curves";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= WM_menu_invoke;
|
||||
@@ -933,7 +933,7 @@ void ACTION_OT_interpolation_type (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Set Keyframe Interpolation";
|
||||
ot->idname= "ACTION_OT_interpolation_type";
|
||||
ot->description= "Set interpolation mode for the F-Curve segments starting from the selected keyframes.";
|
||||
ot->description= "Set interpolation mode for the F-Curve segments starting from the selected keyframes";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= WM_menu_invoke;
|
||||
@@ -1030,7 +1030,7 @@ void ACTION_OT_handle_type (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Set Keyframe Handle Type";
|
||||
ot->idname= "ACTION_OT_handle_type";
|
||||
ot->description= "Set type of handle for selected keyframes.";
|
||||
ot->description= "Set type of handle for selected keyframes";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= WM_menu_invoke;
|
||||
@@ -1101,7 +1101,7 @@ void ACTION_OT_keyframe_type (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Set Keyframe Type";
|
||||
ot->idname= "ACTION_OT_keyframe_type";
|
||||
ot->description= "Set type of keyframe for the seleced keyframes.";
|
||||
ot->description= "Set type of keyframe for the seleced keyframes";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= WM_menu_invoke;
|
||||
@@ -1170,7 +1170,7 @@ void ACTION_OT_frame_jump (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Jump to Frame";
|
||||
ot->idname= "ACTION_OT_frame_jump";
|
||||
ot->description= "Set the current frame to the average frame of the selected keyframes.";
|
||||
ot->description= "Set the current frame to the average frame of the selected keyframes";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= actkeys_framejump_exec;
|
||||
@@ -1267,7 +1267,7 @@ void ACTION_OT_snap (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Snap Keys";
|
||||
ot->idname= "ACTION_OT_snap";
|
||||
ot->description= "Snap selected keyframes to the times specified.";
|
||||
ot->description= "Snap selected keyframes to the times specified";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= WM_menu_invoke;
|
||||
@@ -1384,7 +1384,7 @@ void ACTION_OT_mirror (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Mirror Keys";
|
||||
ot->idname= "ACTION_OT_mirror";
|
||||
ot->description= "Flip selected keyframes over the selected mirror line.";
|
||||
ot->description= "Flip selected keyframes over the selected mirror line";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= WM_menu_invoke;
|
||||
|
||||
@@ -186,7 +186,7 @@ void ACTION_OT_select_all_toggle (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Select All";
|
||||
ot->idname= "ACTION_OT_select_all_toggle";
|
||||
ot->description= "Toggle selection of all keyframes.";
|
||||
ot->description= "Toggle selection of all keyframes";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= actkeys_deselectall_exec;
|
||||
@@ -347,7 +347,7 @@ void ACTION_OT_select_border(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Border Select";
|
||||
ot->idname= "ACTION_OT_select_border";
|
||||
ot->description= "Select all keyframes within the specified region.";
|
||||
ot->description= "Select all keyframes within the specified region";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= WM_border_select_invoke;
|
||||
@@ -561,7 +561,7 @@ void ACTION_OT_select_column (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Select All";
|
||||
ot->idname= "ACTION_OT_select_column";
|
||||
ot->description= "Select all keyframes on the specified frame(s).";
|
||||
ot->description= "Select all keyframes on the specified frame(s)";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= actkeys_columnselect_exec;
|
||||
@@ -642,7 +642,7 @@ void ACTION_OT_select_more (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name = "Select More";
|
||||
ot->idname= "ACTION_OT_select_more";
|
||||
ot->description = "Select keyframes beside already selected ones.";
|
||||
ot->description = "Select keyframes beside already selected ones";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= actkeys_select_more_exec;
|
||||
@@ -676,7 +676,7 @@ void ACTION_OT_select_less (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name = "Select Less";
|
||||
ot->idname= "ACTION_OT_select_less";
|
||||
ot->description = "Deselect keyframes on ends of selection islands.";
|
||||
ot->description = "Deselect keyframes on ends of selection islands";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= actkeys_select_less_exec;
|
||||
@@ -1096,7 +1096,7 @@ void ACTION_OT_clickselect (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Mouse Select Keys";
|
||||
ot->idname= "ACTION_OT_clickselect";
|
||||
ot->description= "Select keyframes by clicking on them.";
|
||||
ot->description= "Select keyframes by clicking on them";
|
||||
|
||||
/* api callbacks - absolutely no exec() this yet... */
|
||||
ot->invoke= actkeys_clickselect_invoke;
|
||||
|
||||
@@ -139,7 +139,7 @@ void BUTTONS_OT_file_browse(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "File Browse";
|
||||
ot->description="Open a file browser.";
|
||||
ot->description="Open a file browser";
|
||||
ot->idname= "BUTTONS_OT_file_browse";
|
||||
|
||||
/* api callbacks */
|
||||
|
||||
@@ -362,7 +362,7 @@ void CONSOLE_OT_move(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Move Cursor";
|
||||
ot->description= "Move cursor position.";
|
||||
ot->description= "Move cursor position";
|
||||
ot->idname= "CONSOLE_OT_move";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -404,7 +404,7 @@ void CONSOLE_OT_insert(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Insert";
|
||||
ot->description= "Insert text at cursor position.";
|
||||
ot->description= "Insert text at cursor position";
|
||||
ot->idname= "CONSOLE_OT_insert";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -469,7 +469,7 @@ void CONSOLE_OT_delete(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Delete";
|
||||
ot->description= "Delete text by cursor position.";
|
||||
ot->description= "Delete text by cursor position";
|
||||
ot->idname= "CONSOLE_OT_delete";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -510,7 +510,7 @@ void CONSOLE_OT_clear(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Clear";
|
||||
ot->description= "Clear text by type.";
|
||||
ot->description= "Clear text by type";
|
||||
ot->idname= "CONSOLE_OT_clear";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -569,7 +569,7 @@ void CONSOLE_OT_history_cycle(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "History Cycle";
|
||||
ot->description= "Cycle through history.";
|
||||
ot->description= "Cycle through history";
|
||||
ot->idname= "CONSOLE_OT_history_cycle";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -614,7 +614,7 @@ void CONSOLE_OT_history_append(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "History Append";
|
||||
ot->description= "Append history at cursor position.";
|
||||
ot->description= "Append history at cursor position";
|
||||
ot->idname= "CONSOLE_OT_history_append";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -659,7 +659,7 @@ void CONSOLE_OT_scrollback_append(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Scrollback Append";
|
||||
ot->description= "Append scrollback text by type.";
|
||||
ot->description= "Append scrollback text by type";
|
||||
ot->idname= "CONSOLE_OT_scrollback_append";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -708,7 +708,7 @@ void CONSOLE_OT_copy(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Copy to Clipboard";
|
||||
ot->description= "Copy selected text to clipboard.";
|
||||
ot->description= "Copy selected text to clipboard";
|
||||
ot->idname= "CONSOLE_OT_copy";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -740,7 +740,7 @@ void CONSOLE_OT_paste(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Paste from Clipboard";
|
||||
ot->description= "Paste text from clipboard.";
|
||||
ot->description= "Paste text from clipboard";
|
||||
ot->idname= "CONSOLE_OT_paste";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -853,7 +853,7 @@ void CONSOLE_OT_select_set(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Set Selection";
|
||||
ot->idname= "CONSOLE_OT_select_set";
|
||||
ot->description= "Set the console selection.";
|
||||
ot->description= "Set the console selection";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= console_modal_select_invoke;
|
||||
|
||||
@@ -114,7 +114,7 @@ void CONSOLE_OT_report_replay(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Replay Operators";
|
||||
ot->description= "Replay selected reports.";
|
||||
ot->description= "Replay selected reports";
|
||||
ot->idname= "CONSOLE_OT_report_replay";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -161,7 +161,7 @@ void CONSOLE_OT_select_pick(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Select report";
|
||||
ot->description= "Select reports by index.";
|
||||
ot->description= "Select reports by index";
|
||||
ot->idname= "CONSOLE_OT_select_pick";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -215,7 +215,7 @@ void CONSOLE_OT_select_all_toggle(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "(De)Select All";
|
||||
ot->description= "(de)select all reports.";
|
||||
ot->description= "(de)select all reports";
|
||||
ot->idname= "CONSOLE_OT_select_all_toggle";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -308,7 +308,7 @@ void CONSOLE_OT_select_border(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Border Select";
|
||||
ot->description= "Toggle border selection.";
|
||||
ot->description= "Toggle border selection";
|
||||
ot->idname= "CONSOLE_OT_select_border";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -358,7 +358,7 @@ void CONSOLE_OT_report_delete(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Delete Reports";
|
||||
ot->description= "Delete selected reports.";
|
||||
ot->description= "Delete selected reports";
|
||||
ot->idname= "CONSOLE_OT_report_delete";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -403,7 +403,7 @@ void CONSOLE_OT_report_copy(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Copy Reports to Clipboard";
|
||||
ot->description= "Copy selected reports to Clipboard.";
|
||||
ot->description= "Copy selected reports to Clipboard";
|
||||
ot->idname= "CONSOLE_OT_report_copy";
|
||||
|
||||
/* api callbacks */
|
||||
|
||||
@@ -228,7 +228,7 @@ void FILE_OT_select_border(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Activate/Select File";
|
||||
ot->description= "Activate/select the file(s) contained in the border.";
|
||||
ot->description= "Activate/select the file(s) contained in the border";
|
||||
ot->idname= "FILE_OT_select_border";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -277,7 +277,7 @@ void FILE_OT_select(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Activate/Select File";
|
||||
ot->description= "Activate/select file.";
|
||||
ot->description= "Activate/select file";
|
||||
ot->idname= "FILE_OT_select";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -322,7 +322,7 @@ void FILE_OT_select_all_toggle(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Select/Deselect all files";
|
||||
ot->description= "Select/deselect all files.";
|
||||
ot->description= "Select/deselect all files";
|
||||
ot->idname= "FILE_OT_select_all_toggle";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -358,7 +358,7 @@ void FILE_OT_select_bookmark(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Select Directory";
|
||||
ot->description= "Select a bookmarked directory.";
|
||||
ot->description= "Select a bookmarked directory";
|
||||
ot->idname= "FILE_OT_select_bookmark";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -391,7 +391,7 @@ void FILE_OT_bookmark_add(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Add Bookmark";
|
||||
ot->description= "Add a bookmark for the selected/active directory.";
|
||||
ot->description= "Add a bookmark for the selected/active directory";
|
||||
ot->idname= "FILE_OT_bookmark_add";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -424,7 +424,7 @@ void FILE_OT_delete_bookmark(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Delete Bookmark";
|
||||
ot->description= "Delete selected bookmark.";
|
||||
ot->description= "Delete selected bookmark";
|
||||
ot->idname= "FILE_OT_delete_bookmark";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -454,7 +454,7 @@ void FILE_OT_loadimages(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Load Images";
|
||||
ot->description= "Load selected image(s).";
|
||||
ot->description= "Load selected image(s)";
|
||||
ot->idname= "FILE_OT_loadimages";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -509,7 +509,7 @@ void FILE_OT_highlight(struct wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Highlight File";
|
||||
ot->description= "Highlight selected file(s).";
|
||||
ot->description= "Highlight selected file(s)";
|
||||
ot->idname= "FILE_OT_highlight";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -551,7 +551,7 @@ void FILE_OT_cancel(struct wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Cancel File Load";
|
||||
ot->description= "Cancel loading of selected file.";
|
||||
ot->description= "Cancel loading of selected file";
|
||||
ot->idname= "FILE_OT_cancel";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -647,7 +647,7 @@ void FILE_OT_execute(struct wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Execute File Window";
|
||||
ot->description= "Execute selected file.";
|
||||
ot->description= "Execute selected file";
|
||||
ot->idname= "FILE_OT_execute";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -680,7 +680,7 @@ void FILE_OT_parent(struct wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Parent File";
|
||||
ot->description= "Move to parent directory.";
|
||||
ot->description= "Move to parent directory";
|
||||
ot->idname= "FILE_OT_parent";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -705,7 +705,7 @@ void FILE_OT_previous(struct wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Previous Folder";
|
||||
ot->description= "Move to previous folder.";
|
||||
ot->description= "Move to previous folder";
|
||||
ot->idname= "FILE_OT_previous";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -736,7 +736,7 @@ void FILE_OT_next(struct wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Next Folder";
|
||||
ot->description= "Move to next folder.";
|
||||
ot->description= "Move to next folder";
|
||||
ot->idname= "FILE_OT_next";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -889,7 +889,7 @@ void FILE_OT_refresh(struct wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Refresh Filelist";
|
||||
ot->description= "Refresh the file list.";
|
||||
ot->description= "Refresh the file list";
|
||||
ot->idname= "FILE_OT_refresh";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -917,7 +917,7 @@ void FILE_OT_hidedot(struct wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Toggle Hide Dot Files";
|
||||
ot->description= "Toggle hide hidden dot files.";
|
||||
ot->description= "Toggle hide hidden dot files";
|
||||
ot->idname= "FILE_OT_hidedot";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -967,7 +967,7 @@ void FILE_OT_bookmark_toggle(struct wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Toggle Bookmarks";
|
||||
ot->description= "Toggle bookmarks display.";
|
||||
ot->description= "Toggle bookmarks display";
|
||||
ot->idname= "FILE_OT_bookmark_toggle";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -996,7 +996,7 @@ void FILE_OT_filenum(struct wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Increment Number in Filename";
|
||||
ot->description= "Increment number in filename.";
|
||||
ot->description= "Increment number in filename";
|
||||
ot->idname= "FILE_OT_filenum";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1048,7 +1048,7 @@ void FILE_OT_rename(struct wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Rename File or Directory";
|
||||
ot->description= "Rename file or file directory.";
|
||||
ot->description= "Rename file or file directory";
|
||||
ot->idname= "FILE_OT_rename";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1099,7 +1099,7 @@ void FILE_OT_delete(struct wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Delete File";
|
||||
ot->description= "Delete selected file.";
|
||||
ot->description= "Delete selected file";
|
||||
ot->idname= "FILE_OT_delete";
|
||||
|
||||
/* api callbacks */
|
||||
|
||||
@@ -244,7 +244,7 @@ void GRAPH_OT_view_all (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "View All";
|
||||
ot->idname= "GRAPH_OT_view_all";
|
||||
ot->description= "Reset viewable area to show full keyframe range.";
|
||||
ot->description= "Reset viewable area to show full keyframe range";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= graphkeys_viewall_exec;
|
||||
@@ -359,7 +359,7 @@ void GRAPH_OT_ghost_curves_create (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Create Ghost Curves";
|
||||
ot->idname= "GRAPH_OT_ghost_curves_create";
|
||||
ot->description= "Create snapshot (Ghosts) of selected F-Curves as background aid for active Graph Editor.";
|
||||
ot->description= "Create snapshot (Ghosts) of selected F-Curves as background aid for active Graph Editor";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= graphkeys_create_ghostcurves_exec;
|
||||
@@ -402,7 +402,7 @@ void GRAPH_OT_ghost_curves_clear (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Clear Ghost Curves";
|
||||
ot->idname= "GRAPH_OT_ghost_curves_clear";
|
||||
ot->description= "Clear F-Curve snapshots (Ghosts) for active Graph Editor.";
|
||||
ot->description= "Clear F-Curve snapshots (Ghosts) for active Graph Editor";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= graphkeys_clear_ghostcurves_exec;
|
||||
@@ -498,7 +498,7 @@ void GRAPH_OT_keyframe_insert (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Insert Keyframes";
|
||||
ot->idname= "GRAPH_OT_keyframe_insert";
|
||||
ot->description= "Insert keyframes for the specified channels.";
|
||||
ot->description= "Insert keyframes for the specified channels";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= WM_menu_invoke;
|
||||
@@ -591,7 +591,7 @@ void GRAPH_OT_click_insert (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Click-Insert Keyframes";
|
||||
ot->idname= "GRAPH_OT_click_insert";
|
||||
ot->description= "Insert new keyframe at the cursor position for the active F-Curve.";
|
||||
ot->description= "Insert new keyframe at the cursor position for the active F-Curve";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= graphkeys_click_insert_invoke;
|
||||
@@ -673,7 +673,7 @@ void GRAPH_OT_copy (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Copy Keyframes";
|
||||
ot->idname= "GRAPH_OT_copy";
|
||||
ot->description= "Copy selected keyframes to the copy/paste buffer.";
|
||||
ot->description= "Copy selected keyframes to the copy/paste buffer";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= graphkeys_copy_exec;
|
||||
@@ -713,7 +713,7 @@ void GRAPH_OT_paste (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Paste Keyframes";
|
||||
ot->idname= "GRAPH_OT_paste";
|
||||
ot->description= "Paste keyframes from copy/paste buffer for the selected channels, starting on the current frame.";
|
||||
ot->description= "Paste keyframes from copy/paste buffer for the selected channels, starting on the current frame";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= graphkeys_paste_exec;
|
||||
@@ -781,7 +781,7 @@ void GRAPH_OT_duplicate (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Duplicate Keyframes";
|
||||
ot->idname= "GRAPH_OT_duplicate";
|
||||
ot->description= "Make a copy of all selected keyframes.";
|
||||
ot->description= "Make a copy of all selected keyframes";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= graphkeys_duplicate_invoke;
|
||||
@@ -851,7 +851,7 @@ void GRAPH_OT_delete (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Delete Keyframes";
|
||||
ot->idname= "GRAPH_OT_delete";
|
||||
ot->description= "Remove all selected keyframes.";
|
||||
ot->description= "Remove all selected keyframes";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= WM_operator_confirm;
|
||||
@@ -913,7 +913,7 @@ void GRAPH_OT_clean (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Clean Keyframes";
|
||||
ot->idname= "GRAPH_OT_clean";
|
||||
ot->description= "Simplify F-Curves by removing closely spaced keyframes.";
|
||||
ot->description= "Simplify F-Curves by removing closely spaced keyframes";
|
||||
|
||||
/* api callbacks */
|
||||
//ot->invoke= // XXX we need that number popup for this!
|
||||
@@ -996,7 +996,7 @@ void GRAPH_OT_bake (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Bake Curve";
|
||||
ot->idname= "GRAPH_OT_bake";
|
||||
ot->description= "Bake selected F-Curves to a set of sampled points defining a similar curve.";
|
||||
ot->description= "Bake selected F-Curves to a set of sampled points defining a similar curve";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= WM_operator_confirm; // FIXME...
|
||||
@@ -1127,7 +1127,7 @@ void GRAPH_OT_sound_bake (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Bake Sound to F-Curves";
|
||||
ot->idname= "GRAPH_OT_sound_bake";
|
||||
ot->description= "Bakes a sound wave to selected F-Curves.";
|
||||
ot->description= "Bakes a sound wave to selected F-Curves";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= graphkeys_sound_bake_invoke;
|
||||
@@ -1201,7 +1201,7 @@ void GRAPH_OT_sample (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Sample Keyframes";
|
||||
ot->idname= "GRAPH_OT_sample";
|
||||
ot->description= "Add keyframes on every frame between the selected keyframes.";
|
||||
ot->description= "Add keyframes on every frame between the selected keyframes";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= graphkeys_sample_exec;
|
||||
@@ -1276,7 +1276,7 @@ void GRAPH_OT_extrapolation_type (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Set Keyframe Extrapolation";
|
||||
ot->idname= "GRAPH_OT_extrapolation_type";
|
||||
ot->description= "Set extrapolation mode for selected F-Curves.";
|
||||
ot->description= "Set extrapolation mode for selected F-Curves";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= WM_menu_invoke;
|
||||
@@ -1345,7 +1345,7 @@ void GRAPH_OT_interpolation_type (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Set Keyframe Interpolation";
|
||||
ot->idname= "GRAPH_OT_interpolation_type";
|
||||
ot->description= "Set interpolation mode for the F-Curve segments starting from the selected keyframes.";
|
||||
ot->description= "Set interpolation mode for the F-Curve segments starting from the selected keyframes";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= WM_menu_invoke;
|
||||
@@ -1439,7 +1439,7 @@ static int graphkeys_handletype_exec(bContext *C, wmOperator *op)
|
||||
/* identifiers */
|
||||
ot->name= "Set Keyframe Handle Type";
|
||||
ot->idname= "GRAPH_OT_handle_type";
|
||||
ot->description= "Set type of handle for selected keyframes.";
|
||||
ot->description= "Set type of handle for selected keyframes";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= WM_menu_invoke;
|
||||
@@ -1617,7 +1617,7 @@ void GRAPH_OT_frame_jump (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Jump to Frame";
|
||||
ot->idname= "GRAPH_OT_frame_jump";
|
||||
ot->description= "Set the current frame to the average frame of the selected keyframes.";
|
||||
ot->description= "Set the current frame to the average frame of the selected keyframes";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= graphkeys_framejump_exec;
|
||||
@@ -1721,7 +1721,7 @@ void GRAPH_OT_snap (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Snap Keys";
|
||||
ot->idname= "GRAPH_OT_snap";
|
||||
ot->description= "Snap selected keyframes to the chosen times/values.";
|
||||
ot->description= "Snap selected keyframes to the chosen times/values";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= WM_menu_invoke;
|
||||
@@ -1845,7 +1845,7 @@ void GRAPH_OT_mirror (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Mirror Keys";
|
||||
ot->idname= "GRAPH_OT_mirror";
|
||||
ot->description= "Flip selected keyframes over the selected mirror line.";
|
||||
ot->description= "Flip selected keyframes over the selected mirror line";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= WM_menu_invoke;
|
||||
@@ -1900,7 +1900,7 @@ void GRAPH_OT_smooth (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Smooth Keys";
|
||||
ot->idname= "GRAPH_OT_smooth";
|
||||
ot->description= "Apply weighted moving means to make selected F-Curves less bumpy.";
|
||||
ot->description= "Apply weighted moving means to make selected F-Curves less bumpy";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= graphkeys_smooth_exec;
|
||||
@@ -2002,7 +2002,7 @@ void GRAPH_OT_fmodifier_add (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Add F-Curve Modifier";
|
||||
ot->idname= "GRAPH_OT_fmodifier_add";
|
||||
ot->description= "Add F-Modifiers to the selected F-Curves.";
|
||||
ot->description= "Add F-Modifiers to the selected F-Curves";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= graph_fmodifier_add_invoke;
|
||||
|
||||
@@ -189,7 +189,7 @@ void GRAPH_OT_select_all_toggle (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Select All";
|
||||
ot->idname= "GRAPH_OT_select_all_toggle";
|
||||
ot->description= "Toggle selection of all keyframes.";
|
||||
ot->description= "Toggle selection of all keyframes";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= graphkeys_deselectall_exec;
|
||||
@@ -346,7 +346,7 @@ void GRAPH_OT_select_border(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Border Select";
|
||||
ot->idname= "GRAPH_OT_select_border";
|
||||
ot->description= "Select all keyframes within the specified region.";
|
||||
ot->description= "Select all keyframes within the specified region";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= WM_border_select_invoke;
|
||||
@@ -536,7 +536,7 @@ void GRAPH_OT_select_column (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Select All";
|
||||
ot->idname= "GRAPH_OT_select_column";
|
||||
ot->description= "Select all keyframes on the specified frame(s).";
|
||||
ot->description= "Select all keyframes on the specified frame(s)";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= graphkeys_columnselect_exec;
|
||||
@@ -617,7 +617,7 @@ void GRAPH_OT_select_more (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name = "Select More";
|
||||
ot->idname= "GRAPH_OT_select_more";
|
||||
ot->description = "Select keyframes beside already selected ones.";
|
||||
ot->description = "Select keyframes beside already selected ones";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= graphkeys_select_more_exec;
|
||||
@@ -651,7 +651,7 @@ void GRAPH_OT_select_less (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name = "Select Less";
|
||||
ot->idname= "GRAPH_OT_select_less";
|
||||
ot->description = "Deselect keyframes on ends of selection islands.";
|
||||
ot->description = "Deselect keyframes on ends of selection islands";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= graphkeys_select_less_exec;
|
||||
@@ -1112,7 +1112,7 @@ void GRAPH_OT_clickselect (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Mouse Select Keys";
|
||||
ot->idname= "GRAPH_OT_clickselect";
|
||||
ot->description= "Select keyframes by clicking on them.";
|
||||
ot->description= "Select keyframes by clicking on them";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= graphkeys_clickselect_invoke;
|
||||
|
||||
@@ -135,7 +135,7 @@ static int logic_properties(bContext *C, wmOperator *op)
|
||||
void LOGIC_OT_properties(wmOperatorType *ot)
|
||||
{
|
||||
ot->name= "Properties";
|
||||
ot->description= "Toggle display properties panel.";
|
||||
ot->description= "Toggle display properties panel";
|
||||
ot->idname= "LOGIC_OT_properties";
|
||||
|
||||
ot->exec= logic_properties;
|
||||
|
||||
@@ -437,7 +437,7 @@ void NLA_OT_tracks_add (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Add Track(s)";
|
||||
ot->idname= "NLA_OT_tracks_add";
|
||||
ot->description= "Add NLA-Tracks above/after the selected tracks.";
|
||||
ot->description= "Add NLA-Tracks above/after the selected tracks";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= nlaedit_add_tracks_exec;
|
||||
@@ -493,7 +493,7 @@ void NLA_OT_delete_tracks (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Delete Tracks";
|
||||
ot->idname= "NLA_OT_delete_tracks";
|
||||
ot->description= "Delete selected NLA-Tracks and the strips they contain.";
|
||||
ot->description= "Delete selected NLA-Tracks and the strips they contain";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= nlaedit_delete_tracks_exec;
|
||||
|
||||
@@ -165,7 +165,7 @@ void NLA_OT_tweakmode_enter (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Enter Tweak Mode";
|
||||
ot->idname= "NLA_OT_tweakmode_enter";
|
||||
ot->description= "Enter tweaking mode for the action referenced by the active strip.";
|
||||
ot->description= "Enter tweaking mode for the action referenced by the active strip";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= nlaedit_enable_tweakmode_exec;
|
||||
@@ -230,7 +230,7 @@ void NLA_OT_tweakmode_exit (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Exit Tweak Mode";
|
||||
ot->idname= "NLA_OT_tweakmode_exit";
|
||||
ot->description= "Exit tweaking mode for the action referenced by the active strip.";
|
||||
ot->description= "Exit tweaking mode for the action referenced by the active strip";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= nlaedit_disable_tweakmode_exec;
|
||||
@@ -353,7 +353,7 @@ void NLA_OT_actionclip_add (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Add Action Strip";
|
||||
ot->idname= "NLA_OT_actionclip_add";
|
||||
ot->description= "Add an Action-Clip strip (i.e. an NLA Strip referencing an Action) to the active track.";
|
||||
ot->description= "Add an Action-Clip strip (i.e. an NLA Strip referencing an Action) to the active track";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= nlaedit_add_actionclip_invoke;
|
||||
@@ -473,7 +473,7 @@ void NLA_OT_transition_add (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Add Transition";
|
||||
ot->idname= "NLA_OT_transition_add";
|
||||
ot->description= "Add a transition strip between two adjacent selected strips.";
|
||||
ot->description= "Add a transition strip between two adjacent selected strips";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= nlaedit_add_transition_exec;
|
||||
@@ -535,7 +535,7 @@ void NLA_OT_meta_add (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Add Meta-Strips";
|
||||
ot->idname= "NLA_OT_meta_add";
|
||||
ot->description= "Add new meta-strips incorporating the selected strips.";
|
||||
ot->description= "Add new meta-strips incorporating the selected strips";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= nlaedit_add_meta_exec;
|
||||
@@ -587,7 +587,7 @@ void NLA_OT_meta_remove (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Remove Meta-Strips";
|
||||
ot->idname= "NLA_OT_meta_remove";
|
||||
ot->description= "Separate out the strips held by the selected meta-strips.";
|
||||
ot->description= "Separate out the strips held by the selected meta-strips";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= nlaedit_remove_meta_exec;
|
||||
@@ -690,7 +690,7 @@ void NLA_OT_duplicate (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Duplicate Strips";
|
||||
ot->idname= "NLA_OT_duplicate";
|
||||
ot->description= "Duplicate selected NLA-Strips, adding the new strips in new tracks above the originals.";
|
||||
ot->description= "Duplicate selected NLA-Strips, adding the new strips in new tracks above the originals";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= nlaedit_duplicate_invoke;
|
||||
@@ -765,7 +765,7 @@ void NLA_OT_delete (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Delete Strips";
|
||||
ot->idname= "NLA_OT_delete";
|
||||
ot->description= "Delete selected strips.";
|
||||
ot->description= "Delete selected strips";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= nlaedit_delete_exec;
|
||||
@@ -910,7 +910,7 @@ void NLA_OT_split (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Split Strips";
|
||||
ot->idname= "NLA_OT_split";
|
||||
ot->description= "Split selected strips at their midpoints.";
|
||||
ot->description= "Split selected strips at their midpoints";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= nlaedit_split_exec;
|
||||
@@ -962,7 +962,7 @@ void NLA_OT_bake (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Bake Strips";
|
||||
ot->idname= "NLA_OT_bake";
|
||||
ot->description= "Bake all strips of selected AnimData blocks.";
|
||||
ot->description= "Bake all strips of selected AnimData blocks";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= nlaedit_bake_exec;
|
||||
@@ -1024,7 +1024,7 @@ void NLA_OT_mute_toggle (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Toggle Muting";
|
||||
ot->idname= "NLA_OT_mute_toggle";
|
||||
ot->description= "Mute or un-muted selected strips.";
|
||||
ot->description= "Mute or un-muted selected strips";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= nlaedit_toggle_mute_exec;
|
||||
@@ -1098,7 +1098,7 @@ void NLA_OT_move_up (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Move Strips Up";
|
||||
ot->idname= "NLA_OT_move_up";
|
||||
ot->description= "Move selected strips up a track if there's room.";
|
||||
ot->description= "Move selected strips up a track if there's room";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= nlaedit_move_up_exec;
|
||||
@@ -1172,7 +1172,7 @@ void NLA_OT_move_down (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Move Strips Down";
|
||||
ot->idname= "NLA_OT_move_down";
|
||||
ot->description= "Move selected strips down a track if there's room.";
|
||||
ot->description= "Move selected strips down a track if there's room";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= nlaedit_move_down_exec;
|
||||
@@ -1248,7 +1248,7 @@ void NLA_OT_action_sync_length (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Sync Action Length";
|
||||
ot->idname= "NLA_OT_action_sync_length";
|
||||
ot->description= "Sychronise the length of the referenced Action with the lengths used in the strip.";
|
||||
ot->description= "Sychronise the length of the referenced Action with the lengths used in the strip";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= nlaedit_sync_actlen_exec;
|
||||
@@ -1349,7 +1349,7 @@ void NLA_OT_apply_scale (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Apply Scale";
|
||||
ot->idname= "NLA_OT_apply_scale";
|
||||
ot->description= "Apply scaling of selected strips to their referenced Actions.";
|
||||
ot->description= "Apply scaling of selected strips to their referenced Actions";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= nlaedit_apply_scale_exec;
|
||||
@@ -1412,7 +1412,7 @@ void NLA_OT_clear_scale (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Clear Scale";
|
||||
ot->idname= "NLA_OT_clear_scale";
|
||||
ot->description= "Reset scaling of selected strips.";
|
||||
ot->description= "Reset scaling of selected strips";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= nlaedit_clear_scale_exec;
|
||||
@@ -1553,7 +1553,7 @@ void NLA_OT_snap (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Snap Strips";
|
||||
ot->idname= "NLA_OT_snap";
|
||||
ot->description= "Move start of strips to specified time.";
|
||||
ot->description= "Move start of strips to specified time";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= WM_menu_invoke;
|
||||
|
||||
@@ -172,7 +172,7 @@ static int node_properties_poll(bContext *C)
|
||||
void NODE_OT_properties(wmOperatorType *ot)
|
||||
{
|
||||
ot->name= "Properties";
|
||||
ot->description= "Toggles the properties panel display.";
|
||||
ot->description= "Toggles the properties panel display";
|
||||
ot->idname= "NODE_OT_properties";
|
||||
|
||||
ot->exec= node_properties;
|
||||
|
||||
@@ -572,7 +572,7 @@ void NODE_OT_group_edit(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name = "Edit Group";
|
||||
ot->description = "Edit node group.";
|
||||
ot->description = "Edit node group";
|
||||
ot->idname = "NODE_OT_group_edit";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -618,7 +618,7 @@ void NODE_OT_group_ungroup(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name = "Ungroup";
|
||||
ot->description = "Ungroup selected nodes.";
|
||||
ot->description = "Ungroup selected nodes";
|
||||
ot->idname = "NODE_OT_group_ungroup";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1280,7 +1280,7 @@ void NODE_OT_duplicate(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Duplicate Nodes";
|
||||
ot->description = "Duplicate the nodes.";
|
||||
ot->description = "Duplicate the nodes";
|
||||
ot->idname= "NODE_OT_duplicate";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1537,7 +1537,7 @@ void NODE_OT_link_make(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Make Links";
|
||||
ot->description= "Makes a link between selected output in input sockets.";
|
||||
ot->description= "Makes a link between selected output in input sockets";
|
||||
ot->idname= "NODE_OT_link_make";
|
||||
|
||||
/* callbacks */
|
||||
@@ -1745,7 +1745,7 @@ void NODE_OT_group_make(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name = "Group";
|
||||
ot->description = "Make group from selected nodes.";
|
||||
ot->description = "Make group from selected nodes";
|
||||
ot->idname = "NODE_OT_group_make";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1794,7 +1794,7 @@ void NODE_OT_hide(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Hide";
|
||||
ot->description= "Toggle hiding of the nodes.";
|
||||
ot->description= "Toggle hiding of the nodes";
|
||||
ot->idname= "NODE_OT_hide";
|
||||
|
||||
/* callbacks */
|
||||
@@ -1834,7 +1834,7 @@ void NODE_OT_mute(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Mute";
|
||||
ot->description= "Toggle muting of the nodes.";
|
||||
ot->description= "Toggle muting of the nodes";
|
||||
ot->idname= "NODE_OT_mute";
|
||||
|
||||
/* callbacks */
|
||||
@@ -1873,7 +1873,7 @@ void NODE_OT_delete(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Delete";
|
||||
ot->description = "Delete selected nodes.";
|
||||
ot->description = "Delete selected nodes";
|
||||
ot->idname= "NODE_OT_delete";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1901,7 +1901,7 @@ void NODE_OT_show_cyclic_dependencies(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Show Cyclic Dependencies";
|
||||
ot->description= "Sort the nodes and show the cyclic dependencies between the nodes.";
|
||||
ot->description= "Sort the nodes and show the cyclic dependencies between the nodes";
|
||||
ot->idname= "NODE_OT_show_cyclic_dependencies";
|
||||
|
||||
/* callbacks */
|
||||
|
||||
@@ -280,7 +280,7 @@ void NODE_OT_select_all(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name = "Select/Deselect All";
|
||||
ot->description = "(De)select all nodes.";
|
||||
ot->description = "(De)select all nodes";
|
||||
ot->idname = "NODE_OT_select_all";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -320,7 +320,7 @@ void NODE_OT_select_linked_to(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name = "Select Linked To";
|
||||
ot->description = "Select nodes linked to the selected ones.";
|
||||
ot->description = "Select nodes linked to the selected ones";
|
||||
ot->idname = "NODE_OT_select_linked_to";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -360,7 +360,7 @@ void NODE_OT_select_linked_from(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name = "Select Linked From";
|
||||
ot->description = "Select nodes linked from the selected ones.";
|
||||
ot->description = "Select nodes linked from the selected ones";
|
||||
ot->idname = "NODE_OT_select_linked_from";
|
||||
|
||||
/* api callbacks */
|
||||
|
||||
@@ -214,7 +214,7 @@ void NODE_OT_visibility_toggle(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Toggle Visibility";
|
||||
ot->idname= "NODE_OT_visibility_toggle";
|
||||
ot->description= "Handle clicks on node header buttons.";
|
||||
ot->description= "Handle clicks on node header buttons";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= node_toggle_visibility_invoke;
|
||||
|
||||
@@ -1502,7 +1502,7 @@ void OUTLINER_OT_visibility_toggle(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Toggle Visability";
|
||||
ot->idname= "OUTLINER_OT_visibility_toggle";
|
||||
ot->description= "Toggle the visibility of selected items.";
|
||||
ot->description= "Toggle the visibility of selected items";
|
||||
|
||||
/* callbacks */
|
||||
ot->exec= outliner_toggle_visibility_exec;
|
||||
@@ -1580,7 +1580,7 @@ void OUTLINER_OT_renderability_toggle(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Toggle Renderability";
|
||||
ot->idname= "OUTLINER_OT_renderability_toggle";
|
||||
ot->description= "Toggle the renderbility of selected items.";
|
||||
ot->description= "Toggle the renderbility of selected items";
|
||||
|
||||
/* callbacks */
|
||||
ot->exec= outliner_toggle_renderability_exec;
|
||||
@@ -1611,7 +1611,7 @@ void OUTLINER_OT_expanded_toggle(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Expand/Collapse All";
|
||||
ot->idname= "OUTLINER_OT_expanded_toggle";
|
||||
ot->description= "Expand/Collapse all items.";
|
||||
ot->description= "Expand/Collapse all items";
|
||||
|
||||
/* callbacks */
|
||||
ot->exec= outliner_toggle_expanded_exec;
|
||||
@@ -1644,7 +1644,7 @@ void OUTLINER_OT_selected_toggle(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Toggle Selected";
|
||||
ot->idname= "OUTLINER_OT_selected_toggle";
|
||||
ot->description= "Toggle the Outliner selection of items.";
|
||||
ot->description= "Toggle the Outliner selection of items";
|
||||
|
||||
/* callbacks */
|
||||
ot->exec= outliner_toggle_selected_exec;
|
||||
@@ -2640,7 +2640,7 @@ void OUTLINER_OT_show_active(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Show Active";
|
||||
ot->idname= "OUTLINER_OT_show_active";
|
||||
ot->description= "Adjust the view so that the active Object is shown centered.";
|
||||
ot->description= "Adjust the view so that the active Object is shown centered";
|
||||
|
||||
/* callbacks */
|
||||
ot->exec= outliner_show_active_exec;
|
||||
@@ -2848,7 +2848,7 @@ void OUTLINER_OT_show_hierarchy(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Show Hierarchy";
|
||||
ot->idname= "OUTLINER_OT_show_hierarchy";
|
||||
ot->description= "Open all object entries and close all others.";
|
||||
ot->description= "Open all object entries and close all others";
|
||||
|
||||
/* callbacks */
|
||||
ot->exec= outliner_show_hierarchy_exec;
|
||||
@@ -3864,7 +3864,7 @@ void OUTLINER_OT_drivers_add_selected(wmOperatorType *ot)
|
||||
/* api callbacks */
|
||||
ot->idname= "OUTLINER_OT_drivers_add_selected";
|
||||
ot->name= "Add Drivers for Selected";
|
||||
ot->description= "Add drivers to selected items.";
|
||||
ot->description= "Add drivers to selected items";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= outliner_drivers_addsel_exec;
|
||||
@@ -3899,7 +3899,7 @@ void OUTLINER_OT_drivers_delete_selected(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->idname= "OUTLINER_OT_drivers_delete_selected";
|
||||
ot->name= "Delete Drivers for Selected";
|
||||
ot->description= "Delete drivers assigned to selected items.";
|
||||
ot->description= "Delete drivers assigned to selected items";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= outliner_drivers_deletesel_exec;
|
||||
|
||||
@@ -79,7 +79,7 @@ void SCRIPT_OT_python_file_run(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Run python file";
|
||||
ot->description= "Run Python file.";
|
||||
ot->description= "Run Python file";
|
||||
ot->idname= "SCRIPT_OT_python_file_run";
|
||||
ot->flag = OPTYPE_UNDO;
|
||||
|
||||
|
||||
@@ -122,7 +122,7 @@ void SEQUENCER_OT_properties(wmOperatorType *ot)
|
||||
{
|
||||
ot->name= "Properties";
|
||||
ot->idname= "SEQUENCER_OT_properties";
|
||||
ot->description= "Open sequencer properties panel.";
|
||||
ot->description= "Open sequencer properties panel";
|
||||
|
||||
ot->exec= sequencer_properties;
|
||||
ot->poll= ED_operator_sequencer_active;
|
||||
|
||||
@@ -1385,7 +1385,7 @@ void SEQUENCER_OT_snap(struct wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Snap strips";
|
||||
ot->idname= "SEQUENCER_OT_snap";
|
||||
ot->description="Frame where selected strips will be snapped.";
|
||||
ot->description="Frame where selected strips will be snapped";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= sequencer_snap_invoke;
|
||||
@@ -1436,7 +1436,7 @@ void SEQUENCER_OT_mute(struct wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Mute Strips";
|
||||
ot->idname= "SEQUENCER_OT_mute";
|
||||
ot->description="Mute selected strips.";
|
||||
ot->description="Mute selected strips";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= sequencer_mute_exec;
|
||||
@@ -1487,7 +1487,7 @@ void SEQUENCER_OT_unmute(struct wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "UnMute Strips";
|
||||
ot->idname= "SEQUENCER_OT_unmute";
|
||||
ot->description="UnMute unselected rather than selected strips.";
|
||||
ot->description="UnMute unselected rather than selected strips";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= sequencer_unmute_exec;
|
||||
@@ -1527,7 +1527,7 @@ void SEQUENCER_OT_lock(struct wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Lock Strips";
|
||||
ot->idname= "SEQUENCER_OT_lock";
|
||||
ot->description="Lock the active strip so that it can't be transformed.";
|
||||
ot->description="Lock the active strip so that it can't be transformed";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= sequencer_lock_exec;
|
||||
@@ -1564,7 +1564,7 @@ void SEQUENCER_OT_unlock(struct wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "UnLock Strips";
|
||||
ot->idname= "SEQUENCER_OT_unlock";
|
||||
ot->description="Unlock the active strip so that it can't be transformed.";
|
||||
ot->description="Unlock the active strip so that it can't be transformed";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= sequencer_unlock_exec;
|
||||
@@ -1601,7 +1601,7 @@ void SEQUENCER_OT_reload(struct wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Reload Strips";
|
||||
ot->idname= "SEQUENCER_OT_reload";
|
||||
ot->description="Reload strips in the sequencer.";
|
||||
ot->description="Reload strips in the sequencer";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= sequencer_reload_exec;
|
||||
@@ -1633,7 +1633,7 @@ void SEQUENCER_OT_refresh_all(struct wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Refresh Sequencer";
|
||||
ot->idname= "SEQUENCER_OT_refresh_all";
|
||||
ot->description="Refresh the sequencer editor.";
|
||||
ot->description="Refresh the sequencer editor";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= sequencer_refresh_all_exec;
|
||||
@@ -1729,7 +1729,7 @@ void SEQUENCER_OT_cut(struct wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Cut Strips";
|
||||
ot->idname= "SEQUENCER_OT_cut";
|
||||
ot->description="Cut the selected strips.";
|
||||
ot->description="Cut the selected strips";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= sequencer_cut_invoke;
|
||||
@@ -1780,7 +1780,7 @@ void SEQUENCER_OT_duplicate(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Duplicate";
|
||||
ot->idname= "SEQUENCER_OT_duplicate";
|
||||
ot->description="Duplicate the selected strips.";
|
||||
ot->description="Duplicate the selected strips";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= sequencer_add_duplicate_invoke;
|
||||
@@ -1862,7 +1862,7 @@ void SEQUENCER_OT_delete(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Erase Strips";
|
||||
ot->idname= "SEQUENCER_OT_delete";
|
||||
ot->description="Erase selected strips from the sequencer.";
|
||||
ot->description="Erase selected strips from the sequencer";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= WM_operator_confirm;
|
||||
@@ -1954,7 +1954,7 @@ void SEQUENCER_OT_images_separate(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Separate Images";
|
||||
ot->idname= "SEQUENCER_OT_images_separate";
|
||||
ot->description="On image sequences strips, it return a strip for each image.";
|
||||
ot->description="On image sequences strips, it return a strip for each image";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= WM_operator_props_popup;
|
||||
@@ -2031,7 +2031,7 @@ void SEQUENCER_OT_meta_toggle(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Toggle Meta Strip";
|
||||
ot->idname= "SEQUENCER_OT_meta_toggle";
|
||||
ot->description="Toggle a metastrip (to edit enclosed strips).";
|
||||
ot->description="Toggle a metastrip (to edit enclosed strips)";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= sequencer_meta_toggle_exec;
|
||||
@@ -2103,7 +2103,7 @@ void SEQUENCER_OT_meta_make(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Make Meta Strip";
|
||||
ot->idname= "SEQUENCER_OT_meta_make";
|
||||
ot->description="Group selected strips into a metastrip.";
|
||||
ot->description="Group selected strips into a metastrip";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= WM_operator_confirm;
|
||||
@@ -2175,7 +2175,7 @@ void SEQUENCER_OT_meta_separate(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "UnMeta Strip";
|
||||
ot->idname= "SEQUENCER_OT_meta_separate";
|
||||
ot->description="Put the contents of a metastrip back in the sequencer.";
|
||||
ot->description="Put the contents of a metastrip back in the sequencer";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= WM_operator_confirm;
|
||||
@@ -2209,7 +2209,7 @@ void SEQUENCER_OT_view_all(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "View All";
|
||||
ot->idname= "SEQUENCER_OT_view_all";
|
||||
ot->description="View all the strips in the sequencer.";
|
||||
ot->description="View all the strips in the sequencer";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= sequencer_view_all_exec;
|
||||
@@ -2276,7 +2276,7 @@ void SEQUENCER_OT_view_all_preview(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "View All";
|
||||
ot->idname= "SEQUENCER_OT_view_all_preview";
|
||||
ot->description="Zoom preview to fit in the area.";
|
||||
ot->description="Zoom preview to fit in the area";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= sequencer_view_all_preview_exec;
|
||||
@@ -2313,7 +2313,7 @@ void SEQUENCER_OT_view_toggle(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "View Toggle";
|
||||
ot->idname= "SEQUENCER_OT_view_toggle";
|
||||
ot->description="Toggle between sequencer views (sequence, preview, both).";
|
||||
ot->description="Toggle between sequencer views (sequence, preview, both)";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= sequencer_view_toggle_exec;
|
||||
@@ -2393,7 +2393,7 @@ void SEQUENCER_OT_view_selected(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "View Selected";
|
||||
ot->idname= "SEQUENCER_OT_view_selected";
|
||||
ot->description="Zoom the sequencer on the selected strips.";
|
||||
ot->description="Zoom the sequencer on the selected strips";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= sequencer_view_selected_exec;
|
||||
@@ -2479,7 +2479,7 @@ void SEQUENCER_OT_next_edit(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Next Edit";
|
||||
ot->idname= "SEQUENCER_OT_next_edit";
|
||||
ot->description="Move frame to next edit point.";
|
||||
ot->description="Move frame to next edit point";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= sequencer_next_edit_exec;
|
||||
@@ -2509,7 +2509,7 @@ void SEQUENCER_OT_previous_edit(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Previous Edit";
|
||||
ot->idname= "SEQUENCER_OT_previous_edit";
|
||||
ot->description="Move frame to previous edit point.";
|
||||
ot->description="Move frame to previous edit point";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= sequencer_previous_edit_exec;
|
||||
@@ -2614,7 +2614,7 @@ void SEQUENCER_OT_swap(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Swap Strip";
|
||||
ot->idname= "SEQUENCER_OT_swap";
|
||||
ot->description="Swap active strip with strip to the left.";
|
||||
ot->description="Swap active strip with strip to the left";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= sequencer_swap_exec;
|
||||
@@ -2664,7 +2664,7 @@ void SEQUENCER_OT_rendersize(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Set Render Size";
|
||||
ot->idname= "SEQUENCER_OT_rendersize";
|
||||
ot->description="Set render size and aspect from active sequence.";
|
||||
ot->description="Set render size and aspect from active sequence";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= sequencer_rendersize_exec;
|
||||
|
||||
@@ -267,7 +267,7 @@ void SEQUENCER_OT_select_all_toggle(struct wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "(De)Select All";
|
||||
ot->idname= "SEQUENCER_OT_select_all_toggle";
|
||||
ot->description="Select or deselect all strips.";
|
||||
ot->description="Select or deselect all strips";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= sequencer_deselect_exec;
|
||||
@@ -309,7 +309,7 @@ void SEQUENCER_OT_select_inverse(struct wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Select Inverse";
|
||||
ot->idname= "SEQUENCER_OT_select_inverse";
|
||||
ot->description="Select unselected strips.";
|
||||
ot->description="Select unselected strips";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= sequencer_select_inverse_exec;
|
||||
@@ -521,7 +521,7 @@ void SEQUENCER_OT_select(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Activate/Select";
|
||||
ot->idname= "SEQUENCER_OT_select";
|
||||
ot->description="Select a strip (last selected becomes the \"active strip\").";
|
||||
ot->description="Select a strip (last selected becomes the \"active strip\")";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= sequencer_select_invoke;
|
||||
@@ -884,7 +884,7 @@ void SEQUENCER_OT_select_border(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Border Select";
|
||||
ot->idname= "SEQUENCER_OT_select_border";
|
||||
ot->description="Enable border select mode.";
|
||||
ot->description="Enable border select mode";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= WM_border_select_invoke;
|
||||
|
||||
@@ -136,7 +136,7 @@ void TEXT_OT_properties(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Properties";
|
||||
ot->description= "Toggle text properties panel.";
|
||||
ot->description= "Toggle text properties panel";
|
||||
ot->idname= "TEXT_OT_properties";
|
||||
|
||||
/* api callbacks */
|
||||
|
||||
@@ -191,7 +191,7 @@ void TEXT_OT_new(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "New";
|
||||
ot->idname= "TEXT_OT_new";
|
||||
ot->description= "Create a new text data block.";
|
||||
ot->description= "Create a new text data block";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= new_exec;
|
||||
@@ -278,7 +278,7 @@ void TEXT_OT_open(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Open";
|
||||
ot->idname= "TEXT_OT_open";
|
||||
ot->description= "Open a new text data block.";
|
||||
ot->description= "Open a new text data block";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= open_exec;
|
||||
@@ -318,7 +318,7 @@ void TEXT_OT_reload(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Reload";
|
||||
ot->idname= "TEXT_OT_reload";
|
||||
ot->description= "Reload active text data block from its file.";
|
||||
ot->description= "Reload active text data block from its file";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= reload_exec;
|
||||
@@ -360,7 +360,7 @@ void TEXT_OT_unlink(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Unlink";
|
||||
ot->idname= "TEXT_OT_unlink";
|
||||
ot->description= "Unlink active text data block.";
|
||||
ot->description= "Unlink active text data block";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= unlink_exec;
|
||||
@@ -392,7 +392,7 @@ void TEXT_OT_make_internal(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Make Internal";
|
||||
ot->idname= "TEXT_OT_make_internal";
|
||||
ot->description= "Make active text file internal.";
|
||||
ot->description= "Make active text file internal";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= make_internal_exec;
|
||||
@@ -462,7 +462,7 @@ void TEXT_OT_save(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Save";
|
||||
ot->idname= "TEXT_OT_save";
|
||||
ot->description= "Save active text data block.";
|
||||
ot->description= "Save active text data block";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= save_exec;
|
||||
@@ -519,7 +519,7 @@ void TEXT_OT_save_as(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Save As";
|
||||
ot->idname= "TEXT_OT_save_as";
|
||||
ot->description= "Save active text file with options.";
|
||||
ot->description= "Save active text file with options";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= save_as_exec;
|
||||
@@ -563,7 +563,7 @@ void TEXT_OT_run_script(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Run Script";
|
||||
ot->idname= "TEXT_OT_run_script";
|
||||
ot->description= "Run active script.";
|
||||
ot->description= "Run active script";
|
||||
|
||||
/* api callbacks */
|
||||
ot->poll= run_script_poll;
|
||||
@@ -619,7 +619,7 @@ void TEXT_OT_refresh_pyconstraints(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Refresh PyConstraints";
|
||||
ot->idname= "TEXT_OT_refresh_pyconstraints";
|
||||
ot->description= "Refresh all pyconstraints.";
|
||||
ot->description= "Refresh all pyconstraints";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= refresh_pyconstraints_exec;
|
||||
@@ -741,7 +741,7 @@ void TEXT_OT_paste(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Paste";
|
||||
ot->idname= "TEXT_OT_paste";
|
||||
ot->description= "Paste text from clipboard.";
|
||||
ot->description= "Paste text from clipboard";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= paste_exec;
|
||||
@@ -779,7 +779,7 @@ void TEXT_OT_copy(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Copy";
|
||||
ot->idname= "TEXT_OT_copy";
|
||||
ot->description= "Copy selected text to clipboard.";
|
||||
ot->description= "Copy selected text to clipboard";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= copy_exec;
|
||||
@@ -810,7 +810,7 @@ void TEXT_OT_cut(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Cut";
|
||||
ot->idname= "TEXT_OT_cut";
|
||||
ot->description= "Cut selected text to clipboard.";
|
||||
ot->description= "Cut selected text to clipboard";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= cut_exec;
|
||||
@@ -843,7 +843,7 @@ void TEXT_OT_indent(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Indent";
|
||||
ot->idname= "TEXT_OT_indent";
|
||||
ot->description= "Indent selected text.";
|
||||
ot->description= "Indent selected text";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= indent_exec;
|
||||
@@ -876,7 +876,7 @@ void TEXT_OT_unindent(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Unindent";
|
||||
ot->idname= "TEXT_OT_unindent";
|
||||
ot->description= "Unindent selected text.";
|
||||
ot->description= "Unindent selected text";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= unindent_exec;
|
||||
@@ -914,7 +914,7 @@ void TEXT_OT_line_break(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Line Break";
|
||||
ot->idname= "TEXT_OT_line_break";
|
||||
ot->description= "Insert line break at cursor position.";
|
||||
ot->description= "Insert line break at cursor position";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= line_break_exec;
|
||||
@@ -945,7 +945,7 @@ void TEXT_OT_comment(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Comment";
|
||||
ot->idname= "TEXT_OT_comment";
|
||||
ot->description= "Convert selected text to comment.";
|
||||
ot->description= "Convert selected text to comment";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= comment_exec;
|
||||
@@ -977,7 +977,7 @@ void TEXT_OT_uncomment(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Uncomment";
|
||||
ot->idname= "TEXT_OT_uncomment";
|
||||
ot->description= "Convert selected comment to text.";
|
||||
ot->description= "Convert selected comment to text";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= uncomment_exec;
|
||||
@@ -1116,7 +1116,7 @@ void TEXT_OT_convert_whitespace(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Convert Whitespace";
|
||||
ot->idname= "TEXT_OT_convert_whitespace";
|
||||
ot->description= "Convert whitespaces by type.";
|
||||
ot->description= "Convert whitespaces by type";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= convert_whitespace_exec;
|
||||
@@ -1145,7 +1145,7 @@ void TEXT_OT_select_all(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Select All";
|
||||
ot->idname= "TEXT_OT_select_all";
|
||||
ot->description= "Select all text.";
|
||||
ot->description= "Select all text";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= select_all_exec;
|
||||
@@ -1171,7 +1171,7 @@ void TEXT_OT_select_line(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Select Line";
|
||||
ot->idname= "TEXT_OT_select_line";
|
||||
ot->description= "Select text by line.";
|
||||
ot->description= "Select text by line";
|
||||
|
||||
/* api clinebacks */
|
||||
ot->exec= select_line_exec;
|
||||
@@ -1207,7 +1207,7 @@ void TEXT_OT_previous_marker(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Previous Marker";
|
||||
ot->idname= "TEXT_OT_previous_marker";
|
||||
ot->description= "Move to previous marker.";
|
||||
ot->description= "Move to previous marker";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= previous_marker_exec;
|
||||
@@ -1269,7 +1269,7 @@ void TEXT_OT_markers_clear(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Clear All Markers";
|
||||
ot->idname= "TEXT_OT_markers_clear";
|
||||
ot->description= "Clear all markers.";
|
||||
ot->description= "Clear all markers";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= clear_all_markers_exec;
|
||||
@@ -1550,7 +1550,7 @@ void TEXT_OT_move(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Move Cursor";
|
||||
ot->idname= "TEXT_OT_move";
|
||||
ot->description= "Move cursor to position type.";
|
||||
ot->description= "Move cursor to position type";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= move_exec;
|
||||
@@ -1574,7 +1574,7 @@ void TEXT_OT_move_select(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Move Select";
|
||||
ot->idname= "TEXT_OT_move_select";
|
||||
ot->description= "Make selection from current cursor position to new cursor position type.";
|
||||
ot->description= "Make selection from current cursor position to new cursor position type";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= move_select_exec;
|
||||
@@ -1608,7 +1608,7 @@ void TEXT_OT_jump(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Jump";
|
||||
ot->idname= "TEXT_OT_jump";
|
||||
ot->description= "Jump cursor to line.";
|
||||
ot->description= "Jump cursor to line";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= WM_operator_props_popup;
|
||||
@@ -1659,7 +1659,7 @@ void TEXT_OT_delete(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Delete";
|
||||
ot->idname= "TEXT_OT_delete";
|
||||
ot->description= "Delete text by cursor position.";
|
||||
ot->description= "Delete text by cursor position";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= delete_exec;
|
||||
@@ -1685,7 +1685,7 @@ void TEXT_OT_overwrite_toggle(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Toggle Overwrite";
|
||||
ot->idname= "TEXT_OT_overwrite_toggle";
|
||||
ot->description= "Toggle overwrite while typing.";
|
||||
ot->description= "Toggle overwrite while typing";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= toggle_overwrite_exec;
|
||||
@@ -1853,7 +1853,7 @@ void TEXT_OT_scroll(wmOperatorType *ot)
|
||||
scroll_bar. Both do basically the same thing (aside
|
||||
from keymaps).*/
|
||||
ot->idname= "TEXT_OT_scroll";
|
||||
ot->description= "Scroll text screen.";
|
||||
ot->description= "Scroll text screen";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= scroll_exec;
|
||||
@@ -1906,7 +1906,7 @@ void TEXT_OT_scroll_bar(wmOperatorType *ot)
|
||||
scroll. Both do basically the same thing (aside
|
||||
from keymaps).*/
|
||||
ot->idname= "TEXT_OT_scroll_bar";
|
||||
ot->description= "Scroll text screen.";
|
||||
ot->description= "Scroll text screen";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= scroll_bar_invoke;
|
||||
@@ -2186,7 +2186,7 @@ void TEXT_OT_cursor_set(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Set Cursor";
|
||||
ot->idname= "TEXT_OT_cursor_set";
|
||||
ot->description= "Set cursor selection.";
|
||||
ot->description= "Set cursor selection";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= set_cursor_invoke;
|
||||
@@ -2240,7 +2240,7 @@ void TEXT_OT_line_number(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Line Number";
|
||||
ot->idname= "TEXT_OT_line_number";
|
||||
ot->description= "The current line number.";
|
||||
ot->description= "The current line number";
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke= line_number_invoke;
|
||||
@@ -2309,7 +2309,7 @@ void TEXT_OT_insert(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Insert";
|
||||
ot->idname= "TEXT_OT_insert";
|
||||
ot->description= "Insert text at cursor position.";
|
||||
ot->description= "Insert text at cursor position";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= insert_exec;
|
||||
@@ -2415,7 +2415,7 @@ void TEXT_OT_find(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Find";
|
||||
ot->idname= "TEXT_OT_find";
|
||||
ot->description= "Find specified text.";
|
||||
ot->description= "Find specified text";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= find_exec;
|
||||
@@ -2434,7 +2434,7 @@ void TEXT_OT_replace(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Replace";
|
||||
ot->idname= "TEXT_OT_replace";
|
||||
ot->description= "Replace text with the specified text.";
|
||||
ot->description= "Replace text with the specified text";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= replace_exec;
|
||||
@@ -2453,7 +2453,7 @@ void TEXT_OT_mark_all(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Mark All";
|
||||
ot->idname= "TEXT_OT_mark_all";
|
||||
ot->description= "Mark all specified text.";
|
||||
ot->description= "Mark all specified text";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= mark_all_exec;
|
||||
@@ -2483,7 +2483,7 @@ void TEXT_OT_find_set_selected(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Find Set Selected";
|
||||
ot->idname= "TEXT_OT_find_set_selected";
|
||||
ot->description= "Find specified text and set as selected.";
|
||||
ot->description= "Find specified text and set as selected";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= find_set_selected_exec;
|
||||
@@ -2510,7 +2510,7 @@ void TEXT_OT_replace_set_selected(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Replace Set Selected";
|
||||
ot->idname= "TEXT_OT_replace_set_selected";
|
||||
ot->description= "Replace text with specified text and set as selected.";
|
||||
ot->description= "Replace text with specified text and set as selected";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= replace_set_selected_exec;
|
||||
@@ -2645,7 +2645,7 @@ void TEXT_OT_resolve_conflict(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Resolve Conflict";
|
||||
ot->idname= "TEXT_OT_resolve_conflict";
|
||||
ot->description= "When external text is out of sync, resolve the conflict.";
|
||||
ot->description= "When external text is out of sync, resolve the conflict";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= resolve_conflict_exec;
|
||||
@@ -2673,7 +2673,7 @@ void TEXT_OT_to_3d_object(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "To 3D Object";
|
||||
ot->idname= "TEXT_OT_to_3d_object";
|
||||
ot->description= "Create 3d text object from active text data block.";
|
||||
ot->description= "Create 3d text object from active text data block";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= to_3d_object_exec;
|
||||
|
||||
@@ -84,7 +84,7 @@ void TIME_OT_start_frame_set (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Set Start Frame";
|
||||
ot->idname= "TIME_OT_start_frame_set";
|
||||
ot->description="Set the start frame.";
|
||||
ot->description="Set the start frame";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= time_set_sfra_exec;
|
||||
@@ -124,7 +124,7 @@ void TIME_OT_end_frame_set (wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name= "Set End Frame";
|
||||
ot->idname= "TIME_OT_end_frame_set";
|
||||
ot->description="Set the end frame.";
|
||||
ot->description="Set the end frame";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec= time_set_efra_exec;
|
||||
|
||||
@@ -1469,7 +1469,7 @@ static int view3d_properties(bContext *C, wmOperator *op)
|
||||
void VIEW3D_OT_properties(wmOperatorType *ot)
|
||||
{
|
||||
ot->name= "Properties";
|
||||
ot->description= "Toggles the properties panel display.";
|
||||
ot->description= "Toggles the properties panel display";
|
||||
ot->idname= "VIEW3D_OT_properties";
|
||||
|
||||
ot->exec= view3d_properties;
|
||||
|
||||
@@ -766,7 +766,7 @@ void VIEW3D_OT_rotate(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Rotate view";
|
||||
ot->description = "Rotate the view.";
|
||||
ot->description = "Rotate the view";
|
||||
ot->idname= "VIEW3D_OT_rotate";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -909,7 +909,7 @@ void VIEW3D_OT_move(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Move view";
|
||||
ot->description = "Move the view.";
|
||||
ot->description = "Move the view";
|
||||
ot->idname= "VIEW3D_OT_move";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1218,7 +1218,7 @@ void VIEW3D_OT_zoom(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Zoom view";
|
||||
ot->description = "Zoom in/out in the view.";
|
||||
ot->description = "Zoom in/out in the view";
|
||||
ot->idname= "VIEW3D_OT_zoom";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1313,7 +1313,7 @@ void VIEW3D_OT_view_all(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "View All";
|
||||
ot->description = "View all objects in scene.";
|
||||
ot->description = "View all objects in scene";
|
||||
ot->idname= "VIEW3D_OT_view_all";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1458,7 +1458,7 @@ void VIEW3D_OT_view_selected(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "View Selected";
|
||||
ot->description = "Move the view to the selection center.";
|
||||
ot->description = "Move the view to the selection center";
|
||||
ot->idname= "VIEW3D_OT_view_selected";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1503,7 +1503,7 @@ void VIEW3D_OT_view_center_cursor(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Center View to Cursor";
|
||||
ot->description= "Centers the view so that the cursor is in the middle of the view.";
|
||||
ot->description= "Centers the view so that the cursor is in the middle of the view";
|
||||
ot->idname= "VIEW3D_OT_view_center_cursor";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1576,7 +1576,7 @@ void VIEW3D_OT_render_border(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Set Render Border";
|
||||
ot->description = "Set the boundries of the border render and enables border render .";
|
||||
ot->description = "Set the boundries of the border render and enables border render ";
|
||||
ot->idname= "VIEW3D_OT_render_border";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1750,7 +1750,7 @@ void VIEW3D_OT_zoom_border(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Border Zoom";
|
||||
ot->description = "Zoom in the view to the nearest object contained in the border.";
|
||||
ot->description = "Zoom in the view to the nearest object contained in the border";
|
||||
ot->idname= "VIEW3D_OT_zoom_border";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1958,7 +1958,7 @@ void VIEW3D_OT_viewnumpad(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "View numpad";
|
||||
ot->description = "Set the view.";
|
||||
ot->description = "Set the view";
|
||||
ot->idname= "VIEW3D_OT_viewnumpad";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -2028,7 +2028,7 @@ void VIEW3D_OT_view_orbit(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "View Orbit";
|
||||
ot->description = "Orbit the view.";
|
||||
ot->description = "Orbit the view";
|
||||
ot->idname= "VIEW3D_OT_view_orbit";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -2078,7 +2078,7 @@ void VIEW3D_OT_view_pan(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "View Pan";
|
||||
ot->description = "Pan the view.";
|
||||
ot->description = "Pan the view";
|
||||
ot->idname= "VIEW3D_OT_view_pan";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -2110,7 +2110,7 @@ void VIEW3D_OT_view_persportho(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "View Persp/Ortho";
|
||||
ot->description = "Switch the current view from perspective/orthographic.";
|
||||
ot->description = "Switch the current view from perspective/orthographic";
|
||||
ot->idname= "VIEW3D_OT_view_persportho";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -2150,7 +2150,7 @@ void VIEW3D_OT_add_background_image(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name = "Add Background Image";
|
||||
ot->description= "Add a new background image.";
|
||||
ot->description= "Add a new background image";
|
||||
ot->idname = "VIEW3D_OT_add_background_image";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -2283,7 +2283,7 @@ void VIEW3D_OT_clip_border(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Clipping Border";
|
||||
ot->description = "Set the view clipping border.";
|
||||
ot->description = "Set the view clipping border";
|
||||
ot->idname= "VIEW3D_OT_clip_border";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -2368,7 +2368,7 @@ void VIEW3D_OT_cursor3d(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Set 3D Cursor";
|
||||
ot->description = "Set the location of the 3D cursor.";
|
||||
ot->description = "Set the location of the 3D cursor";
|
||||
ot->idname= "VIEW3D_OT_cursor3d";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -2410,7 +2410,7 @@ void VIEW3D_OT_manipulator(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "3D Manipulator";
|
||||
ot->description = "Manipulate selected item by axis.";
|
||||
ot->description = "Manipulate selected item by axis";
|
||||
ot->idname= "VIEW3D_OT_manipulator";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -2444,7 +2444,7 @@ void VIEW3D_OT_enable_manipulator(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Enable 3D Manipulator";
|
||||
ot->description = "Enable the transform manipulator for use.";
|
||||
ot->description = "Enable the transform manipulator for use";
|
||||
ot->idname= "VIEW3D_OT_enable_manipulator";
|
||||
|
||||
/* api callbacks */
|
||||
|
||||
@@ -261,7 +261,7 @@ void VIEW3D_OT_layers(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Layers";
|
||||
ot->description= "Toggle layer(s) visibility.";
|
||||
ot->description= "Toggle layer(s) visibility";
|
||||
ot->idname= "VIEW3D_OT_layers";
|
||||
|
||||
/* api callbacks */
|
||||
|
||||
@@ -784,7 +784,7 @@ static int view3d_lasso_select_exec(bContext *C, wmOperator *op)
|
||||
void VIEW3D_OT_select_lasso(wmOperatorType *ot)
|
||||
{
|
||||
ot->name= "Lasso Select";
|
||||
ot->description= "Select items using lasso selection.";
|
||||
ot->description= "Select items using lasso selection";
|
||||
ot->idname= "VIEW3D_OT_select_lasso";
|
||||
|
||||
ot->invoke= WM_gesture_lasso_invoke;
|
||||
@@ -1704,7 +1704,7 @@ void VIEW3D_OT_select_border(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Border Select";
|
||||
ot->description= "Select items using border selection.";
|
||||
ot->description= "Select items using border selection";
|
||||
ot->idname= "VIEW3D_OT_select_border";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1770,7 +1770,7 @@ void VIEW3D_OT_select(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Activate/Select";
|
||||
ot->description= "Activate/select item(s).";
|
||||
ot->description= "Activate/select item(s)";
|
||||
ot->idname= "VIEW3D_OT_select";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -2100,7 +2100,7 @@ static int view3d_circle_select_exec(bContext *C, wmOperator *op)
|
||||
void VIEW3D_OT_select_circle(wmOperatorType *ot)
|
||||
{
|
||||
ot->name= "Circle Select";
|
||||
ot->description= "Select items using circle selection.";
|
||||
ot->description= "Select items using circle selection";
|
||||
ot->idname= "VIEW3D_OT_select_circle";
|
||||
|
||||
ot->invoke= WM_gesture_circle_invoke;
|
||||
|
||||
@@ -555,7 +555,7 @@ void VIEW3D_OT_snap_selected_to_grid(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Snap Selection to Grid";
|
||||
ot->description= "Snap selected item(s) to nearest grid node.";
|
||||
ot->description= "Snap selected item(s) to nearest grid node";
|
||||
ot->idname= "VIEW3D_OT_snap_selected_to_grid";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -680,7 +680,7 @@ void VIEW3D_OT_snap_selected_to_cursor(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Snap Selection to Cursor";
|
||||
ot->description= "Snap selected item(s) to cursor.";
|
||||
ot->description= "Snap selected item(s) to cursor";
|
||||
ot->idname= "VIEW3D_OT_snap_selected_to_cursor";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -717,7 +717,7 @@ void VIEW3D_OT_snap_cursor_to_grid(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Snap Cursor to Grid";
|
||||
ot->description= "Snap cursor to nearest grid node.";
|
||||
ot->description= "Snap cursor to nearest grid node";
|
||||
ot->idname= "VIEW3D_OT_snap_cursor_to_grid";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -824,7 +824,7 @@ void VIEW3D_OT_snap_cursor_to_selected(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Snap Cursor to Selected";
|
||||
ot->description= "Snap cursor to center of selected item(s).";
|
||||
ot->description= "Snap cursor to center of selected item(s)";
|
||||
ot->idname= "VIEW3D_OT_snap_cursor_to_selected";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -875,7 +875,7 @@ void VIEW3D_OT_snap_cursor_to_active(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Snap Cursor to Active";
|
||||
ot->description= "Snap cursor to active item.";
|
||||
ot->description= "Snap cursor to active item";
|
||||
ot->idname= "VIEW3D_OT_snap_cursor_to_active";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1072,7 +1072,7 @@ void VIEW3D_OT_snap_selected_to_center(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Snap Selection to Center";
|
||||
ot->description= "Snap selected items to selections geometric center.";
|
||||
ot->description= "Snap selected items to selections geometric center";
|
||||
ot->idname= "VIEW3D_OT_snap_selected_to_center";
|
||||
|
||||
/* api callbacks */
|
||||
|
||||
@@ -330,7 +330,7 @@ static int view3d_toolshelf(bContext *C, wmOperator *op)
|
||||
void VIEW3D_OT_toolshelf(wmOperatorType *ot)
|
||||
{
|
||||
ot->name= "Tool Shelf";
|
||||
ot->description= "Toggles tool shelf display.";
|
||||
ot->description= "Toggles tool shelf display";
|
||||
ot->idname= "VIEW3D_OT_toolshelf";
|
||||
|
||||
ot->exec= view3d_toolshelf;
|
||||
|
||||
@@ -452,7 +452,7 @@ void VIEW3D_OT_setcameratoview(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Align Camera To View";
|
||||
ot->description= "Set camera view to active view.";
|
||||
ot->description= "Set camera view to active view";
|
||||
ot->idname= "VIEW3D_OT_camera_to_view";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -488,7 +488,7 @@ void VIEW3D_OT_setobjectascamera(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Set Active Object as Camera";
|
||||
ot->description= "Set the active object as the active camera for this view or scene.";
|
||||
ot->description= "Set the active object as the active camera for this view or scene";
|
||||
ot->idname= "VIEW3D_OT_object_as_camera";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1610,7 +1610,7 @@ void VIEW3D_OT_localview(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Local View";
|
||||
ot->description= "Toggle display of selected object(s) separately and centered in view.";
|
||||
ot->description= "Toggle display of selected object(s) separately and centered in view";
|
||||
ot->idname= "VIEW3D_OT_localview";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -1815,7 +1815,7 @@ void VIEW3D_OT_game_start(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Start Game Engine";
|
||||
ot->description= "Start game engine.";
|
||||
ot->description= "Start game engine";
|
||||
ot->idname= "VIEW3D_OT_game_start";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -2595,7 +2595,7 @@ void VIEW3D_OT_fly(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Fly Navigation";
|
||||
ot->description= "Interactively fly around the scene.";
|
||||
ot->description= "Interactively fly around the scene";
|
||||
ot->idname= "VIEW3D_OT_fly";
|
||||
|
||||
/* api callbacks */
|
||||
|
||||
@@ -117,7 +117,7 @@ void TRANSFORM_OT_snap_type(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Snap Type";
|
||||
ot->description= "Set the snap element type.";
|
||||
ot->description= "Set the snap element type";
|
||||
ot->idname= "TRANSFORM_OT_snap_type";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -164,7 +164,7 @@ void TRANSFORM_OT_select_orientation(struct wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name = "Select Orientation";
|
||||
ot->description= "Select transformation orientation.";
|
||||
ot->description= "Select transformation orientation";
|
||||
ot->idname = "TRANSFORM_OT_select_orientation";
|
||||
ot->flag = OPTYPE_UNDO;
|
||||
|
||||
@@ -174,7 +174,7 @@ void TRANSFORM_OT_select_orientation(struct wmOperatorType *ot)
|
||||
ot->poll = ED_operator_areaactive;
|
||||
|
||||
prop= RNA_def_property(ot->srna, "orientation", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_ui_text(prop, "Orientation", "Transformation orientation.");
|
||||
RNA_def_property_ui_text(prop, "Orientation", "Transformation orientation");
|
||||
RNA_def_enum_funcs(prop, rna_TransformOrientation_itemf);
|
||||
}
|
||||
|
||||
@@ -217,7 +217,7 @@ void TRANSFORM_OT_delete_orientation(struct wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name = "Delete Orientation";
|
||||
ot->description= "Delete transformation orientation.";
|
||||
ot->description= "Delete transformation orientation";
|
||||
ot->idname = "TRANSFORM_OT_delete_orientation";
|
||||
ot->flag = OPTYPE_UNDO;
|
||||
|
||||
@@ -252,7 +252,7 @@ void TRANSFORM_OT_create_orientation(struct wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name = "Create Orientation";
|
||||
ot->description= "Create transformation orientation from selection.";
|
||||
ot->description= "Create transformation orientation from selection";
|
||||
ot->idname = "TRANSFORM_OT_create_orientation";
|
||||
ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO;
|
||||
|
||||
@@ -396,7 +396,7 @@ void Properties_Axis(struct wmOperatorType *ot)
|
||||
|
||||
prop= RNA_def_property(ot->srna, "axis", PROP_FLOAT, PROP_DIRECTION);
|
||||
RNA_def_property_array(prop, 3);
|
||||
RNA_def_property_ui_text(prop, "Axis", "The axis around which the transformation occurs.");
|
||||
RNA_def_property_ui_text(prop, "Axis", "The axis around which the transformation occurs");
|
||||
}
|
||||
|
||||
void Properties_Snapping(struct wmOperatorType *ot, short fullsnap, short align)
|
||||
@@ -420,7 +420,7 @@ void Properties_Constraints(struct wmOperatorType *ot)
|
||||
|
||||
RNA_def_boolean_vector(ot->srna, "constraint_axis", 3, NULL, "Constraint Axis", "");
|
||||
prop= RNA_def_property(ot->srna, "constraint_orientation", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_ui_text(prop, "Orientation", "Transformation orientation.");
|
||||
RNA_def_property_ui_text(prop, "Orientation", "Transformation orientation");
|
||||
RNA_def_enum_funcs(prop, rna_TransformOrientation_itemf);
|
||||
}
|
||||
|
||||
@@ -428,7 +428,7 @@ void TRANSFORM_OT_translate(struct wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name = "Translate";
|
||||
ot->description= "Translate selected items.";
|
||||
ot->description= "Translate selected items";
|
||||
ot->idname = OP_TRANSLATION;
|
||||
ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO|OPTYPE_BLOCKING;
|
||||
|
||||
@@ -454,7 +454,7 @@ void TRANSFORM_OT_resize(struct wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name = "Resize";
|
||||
ot->description= "Resize selected items.";
|
||||
ot->description= "Resize selected items";
|
||||
ot->idname = OP_RESIZE;
|
||||
ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO|OPTYPE_BLOCKING;
|
||||
|
||||
@@ -481,7 +481,7 @@ void TRANSFORM_OT_trackball(struct wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name = "Trackball";
|
||||
ot->description= "Trackball style rotation of selected items.";
|
||||
ot->description= "Trackball style rotation of selected items";
|
||||
ot->idname = OP_TRACKBALL;
|
||||
ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO|OPTYPE_BLOCKING;
|
||||
|
||||
@@ -505,7 +505,7 @@ void TRANSFORM_OT_rotate(struct wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name = "Rotate";
|
||||
ot->description= "Rotate selected items.";
|
||||
ot->description= "Rotate selected items";
|
||||
ot->idname = OP_ROTATION;
|
||||
ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO|OPTYPE_BLOCKING;
|
||||
|
||||
@@ -536,7 +536,7 @@ void TRANSFORM_OT_tilt(struct wmOperatorType *ot)
|
||||
/*optionals -
|
||||
"Tilt selected vertices."
|
||||
"Specify an extra axis rotation for selected vertices of 3d curve." */
|
||||
ot->description= "Tilt selected control vertices of 3d curve.";
|
||||
ot->description= "Tilt selected control vertices of 3d curve";
|
||||
ot->idname = OP_TILT;
|
||||
ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO|OPTYPE_BLOCKING;
|
||||
|
||||
@@ -562,7 +562,7 @@ void TRANSFORM_OT_warp(struct wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name = "Warp";
|
||||
ot->description= "Warp selected items around the cursor.";
|
||||
ot->description= "Warp selected items around the cursor";
|
||||
ot->idname = OP_WARP;
|
||||
ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO|OPTYPE_BLOCKING;
|
||||
|
||||
@@ -589,7 +589,7 @@ void TRANSFORM_OT_shear(struct wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name = "Shear";
|
||||
ot->description= "Shear selected items along the horizontal screen axis.";
|
||||
ot->description= "Shear selected items along the horizontal screen axis";
|
||||
ot->idname = OP_SHEAR;
|
||||
ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO|OPTYPE_BLOCKING;
|
||||
|
||||
@@ -616,7 +616,7 @@ void TRANSFORM_OT_shrink_fatten(struct wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name = "Shrink/Fatten";
|
||||
ot->description= "Shrink/fatten selected vertices along normals.";
|
||||
ot->description= "Shrink/fatten selected vertices along normals";
|
||||
ot->idname = OP_SHRINK_FATTEN;
|
||||
ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO|OPTYPE_BLOCKING;
|
||||
|
||||
@@ -641,7 +641,7 @@ void TRANSFORM_OT_tosphere(struct wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name = "To Sphere";
|
||||
//added "around mesh center" to differentiate between "MESH_OT_vertices_to_sphere()"
|
||||
ot->description= "Move selected vertices outward in a spherical shape around mesh center.";
|
||||
ot->description= "Move selected vertices outward in a spherical shape around mesh center";
|
||||
ot->idname = OP_TOSPHERE;
|
||||
ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO|OPTYPE_BLOCKING;
|
||||
|
||||
@@ -665,7 +665,7 @@ void TRANSFORM_OT_mirror(struct wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name = "Mirror";
|
||||
ot->description= "Mirror selected vertices around one or more axes.";
|
||||
ot->description= "Mirror selected vertices around one or more axes";
|
||||
ot->idname = OP_MIRROR;
|
||||
ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO|OPTYPE_BLOCKING;
|
||||
|
||||
@@ -684,7 +684,7 @@ void TRANSFORM_OT_edge_slide(struct wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name = "Edge Slide";
|
||||
ot->description= "Slide an edge loop along a mesh.";
|
||||
ot->description= "Slide an edge loop along a mesh";
|
||||
ot->idname = OP_EDGE_SLIDE;
|
||||
ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO|OPTYPE_BLOCKING;
|
||||
|
||||
@@ -706,7 +706,7 @@ void TRANSFORM_OT_edge_crease(struct wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name = "Edge Crease";
|
||||
ot->description= "Change the crease of edges.";
|
||||
ot->description= "Change the crease of edges";
|
||||
ot->idname = OP_EDGE_CREASE;
|
||||
ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO|OPTYPE_BLOCKING;
|
||||
|
||||
@@ -726,7 +726,7 @@ void TRANSFORM_OT_seq_slide(struct wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name = "Sequence Slide";
|
||||
ot->description= "Slide a sequence strip in time.";
|
||||
ot->description= "Slide a sequence strip in time";
|
||||
ot->idname = OP_SEQ_SLIDE;
|
||||
ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO|OPTYPE_BLOCKING;
|
||||
|
||||
@@ -778,7 +778,7 @@ void TRANSFORM_OT_transform(struct wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name = "Transform";
|
||||
ot->description= "Transform selected items by mode type.";
|
||||
ot->description= "Transform selected items by mode type";
|
||||
ot->idname = "TRANSFORM_OT_transform";
|
||||
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO|OPTYPE_BLOCKING;
|
||||
|
||||
|
||||
@@ -242,7 +242,7 @@ void ED_OT_undo(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Undo";
|
||||
ot->description= "Undo previous action.";
|
||||
ot->description= "Undo previous action";
|
||||
ot->idname= "ED_OT_undo";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -254,7 +254,7 @@ void ED_OT_redo(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Redo";
|
||||
ot->description= "Redo previous action.";
|
||||
ot->description= "Redo previous action";
|
||||
ot->idname= "ED_OT_redo";
|
||||
|
||||
/* api callbacks */
|
||||
|
||||
@@ -1044,7 +1044,7 @@ void UV_OT_align(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Align";
|
||||
ot->description= "Align selected UV vertices to an axis.";
|
||||
ot->description= "Align selected UV vertices to an axis";
|
||||
ot->idname= "UV_OT_align";
|
||||
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
|
||||
|
||||
@@ -1069,7 +1069,7 @@ void UV_OT_weld(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Weld";
|
||||
ot->description= "Weld selected UV vertices together.";
|
||||
ot->description= "Weld selected UV vertices together";
|
||||
ot->idname= "UV_OT_weld";
|
||||
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
|
||||
|
||||
@@ -1255,7 +1255,7 @@ void UV_OT_stitch(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Stitch";
|
||||
ot->description= "Stitch selected UV vertices by proximity.";
|
||||
ot->description= "Stitch selected UV vertices by proximity";
|
||||
ot->idname= "UV_OT_stitch";
|
||||
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
|
||||
|
||||
@@ -1312,7 +1312,7 @@ void UV_OT_select_inverse(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Select Inverse";
|
||||
ot->description= "Select inverse of (un)selected UV vertices.";
|
||||
ot->description= "Select inverse of (un)selected UV vertices";
|
||||
ot->idname= "UV_OT_select_inverse";
|
||||
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
|
||||
|
||||
@@ -1412,7 +1412,7 @@ void UV_OT_select_all(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Select or Deselect All";
|
||||
ot->description= "Change selection of all UV vertices.";
|
||||
ot->description= "Change selection of all UV vertices";
|
||||
ot->idname= "UV_OT_select_all";
|
||||
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
|
||||
|
||||
@@ -1747,7 +1747,7 @@ void UV_OT_select(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Select";
|
||||
ot->description= "Select UV vertice.";
|
||||
ot->description= "Select UV vertice";
|
||||
ot->idname= "UV_OT_select";
|
||||
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
|
||||
|
||||
@@ -1796,7 +1796,7 @@ void UV_OT_select_loop(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Loop Select";
|
||||
ot->description= "Select a loop of connected UV vertices.";
|
||||
ot->description= "Select a loop of connected UV vertices";
|
||||
ot->idname= "UV_OT_select_loop";
|
||||
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
|
||||
|
||||
@@ -1877,7 +1877,7 @@ void UV_OT_select_linked(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Select Linked";
|
||||
ot->description= "Select all UV vertices linked to the active UV map.";
|
||||
ot->description= "Select all UV vertices linked to the active UV map";
|
||||
ot->idname= "UV_OT_select_linked";
|
||||
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
|
||||
|
||||
@@ -1904,7 +1904,7 @@ void UV_OT_select_linked_pick(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Select Linked Pick";
|
||||
ot->description= "Select all UV vertices linked under the mouse.";
|
||||
ot->description= "Select all UV vertices linked under the mouse";
|
||||
ot->idname= "UV_OT_select_linked_pick";
|
||||
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
|
||||
|
||||
@@ -1965,7 +1965,7 @@ void UV_OT_unlink_selection(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Unlink Selection";
|
||||
ot->description= "Unlink selected UV vertices from active UV map.";
|
||||
ot->description= "Unlink selected UV vertices from active UV map";
|
||||
ot->idname= "UV_OT_unlink_selection";
|
||||
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
|
||||
|
||||
@@ -2246,7 +2246,7 @@ void UV_OT_select_border(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Border Select";
|
||||
ot->description= "Select UV vertices using border selection.";
|
||||
ot->description= "Select UV vertices using border selection";
|
||||
ot->idname= "UV_OT_select_border";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -2335,7 +2335,7 @@ void UV_OT_circle_select(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Circle Select";
|
||||
ot->description= "Select UV vertices using circle selection.";
|
||||
ot->description= "Select UV vertices using circle selection";
|
||||
ot->idname= "UV_OT_circle_select";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -2411,7 +2411,7 @@ void UV_OT_snap_cursor(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Snap Cursor";
|
||||
ot->description= "Snap cursor to target type.";
|
||||
ot->description= "Snap cursor to target type";
|
||||
ot->idname= "UV_OT_snap_cursor";
|
||||
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
|
||||
|
||||
@@ -2653,7 +2653,7 @@ void UV_OT_snap_selection(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name= "Snap Selection";
|
||||
ot->description= "Snap selected UV vertices to target type.";
|
||||
ot->description= "Snap selected UV vertices to target type";
|
||||
ot->idname= "UV_OT_snap_selection";
|
||||
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
|
||||
|
||||
@@ -2708,7 +2708,7 @@ void UV_OT_pin(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Pin";
|
||||
ot->description= "Set/clear selected UV vertices as anchored between multiple unwrap operations.";
|
||||
ot->description= "Set/clear selected UV vertices as anchored between multiple unwrap operations";
|
||||
ot->idname= "UV_OT_pin";
|
||||
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
|
||||
|
||||
@@ -2754,7 +2754,7 @@ void UV_OT_select_pinned(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Selected Pinned";
|
||||
ot->description= "Select all pinned UV vertices.";
|
||||
ot->description= "Select all pinned UV vertices";
|
||||
ot->idname= "UV_OT_select_pinned";
|
||||
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
|
||||
|
||||
@@ -2896,7 +2896,7 @@ void UV_OT_hide(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Hide Selected";
|
||||
ot->description= "Hide (un)selected UV vertices.";
|
||||
ot->description= "Hide (un)selected UV vertices";
|
||||
ot->idname= "UV_OT_hide";
|
||||
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
|
||||
|
||||
@@ -3030,7 +3030,7 @@ void UV_OT_reveal(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Reveal Hidden";
|
||||
ot->description= "Reveal all hidden UV vertices.";
|
||||
ot->description= "Reveal all hidden UV vertices";
|
||||
ot->idname= "UV_OT_reveal";
|
||||
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
|
||||
|
||||
@@ -3073,7 +3073,7 @@ void UV_OT_cursor_set(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Set 2D Cursor";
|
||||
ot->description= "Set 2D cursor location.";
|
||||
ot->description= "Set 2D cursor location";
|
||||
ot->idname= "UV_OT_cursor_set";
|
||||
|
||||
/* api callbacks */
|
||||
@@ -3139,7 +3139,7 @@ void UV_OT_tile_set(wmOperatorType *ot)
|
||||
{
|
||||
/* identifiers */
|
||||
ot->name= "Set Tile";
|
||||
ot->description= "Set UV image tile coordinates.";
|
||||
ot->description= "Set UV image tile coordinates";
|
||||
ot->idname= "UV_OT_tile_set";
|
||||
|
||||
/* api callbacks */
|
||||
|
||||
@@ -256,7 +256,7 @@ static void rna_def_ID_properties(BlenderRNA *brna)
|
||||
/* this is struct is used for holding the virtual
|
||||
* PropertyRNA's for ID properties */
|
||||
srna= RNA_def_struct(brna, "IDProperty", NULL);
|
||||
RNA_def_struct_ui_text(srna, "ID Property", "Property that stores arbitrary, user defined properties.");
|
||||
RNA_def_struct_ui_text(srna, "ID Property", "Property that stores arbitrary, user defined properties");
|
||||
|
||||
/* IDP_STRING */
|
||||
prop= RNA_def_property(srna, "string", PROP_STRING, PROP_NONE);
|
||||
@@ -301,7 +301,7 @@ static void rna_def_ID_properties(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "name", PROP_STRING, PROP_NONE);
|
||||
RNA_def_property_flag(prop, PROP_EXPORT|PROP_IDPROPERTY);
|
||||
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_ui_text(prop, "Name", "Unique name used in the code and scripting.");
|
||||
RNA_def_property_ui_text(prop, "Name", "Unique name used in the code and scripting");
|
||||
RNA_def_struct_name_property(srna, prop);
|
||||
#endif
|
||||
|
||||
@@ -311,7 +311,7 @@ static void rna_def_ID_properties(BlenderRNA *brna)
|
||||
* with native RNA properties. the builtin_properties will take
|
||||
* care of the properties here */
|
||||
srna= RNA_def_struct(brna, "IDPropertyGroup", NULL);
|
||||
RNA_def_struct_ui_text(srna, "ID Property Group", "Group of ID properties.");
|
||||
RNA_def_struct_ui_text(srna, "ID Property Group", "Group of ID properties");
|
||||
RNA_def_struct_idproperties_func(srna, "rna_IDPropertyGroup_idproperties");
|
||||
RNA_def_struct_register_funcs(srna, "rna_IDPropertyGroup_register", "rna_IDPropertyGroup_unregister");
|
||||
RNA_def_struct_refine_func(srna, "rna_IDPropertyGroup_refine");
|
||||
@@ -322,7 +322,7 @@ static void rna_def_ID_properties(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "name", PROP_STRING, PROP_NONE);
|
||||
RNA_def_property_flag(prop, PROP_EXPORT|PROP_IDPROPERTY);
|
||||
//RNA_def_property_clear_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_ui_text(prop, "Name", "Unique name used in the code and scripting.");
|
||||
RNA_def_property_ui_text(prop, "Name", "Unique name used in the code and scripting");
|
||||
RNA_def_struct_name_property(srna, prop);
|
||||
}
|
||||
|
||||
@@ -333,13 +333,13 @@ static void rna_def_ID(BlenderRNA *brna)
|
||||
PropertyRNA *prop, *parm;
|
||||
|
||||
srna= RNA_def_struct(brna, "ID", NULL);
|
||||
RNA_def_struct_ui_text(srna, "ID", "Base type for datablocks, defining a unique name, linking from other libraries and garbage collection.");
|
||||
RNA_def_struct_ui_text(srna, "ID", "Base type for datablocks, defining a unique name, linking from other libraries and garbage collection");
|
||||
RNA_def_struct_flag(srna, STRUCT_ID|STRUCT_ID_REFCOUNT);
|
||||
RNA_def_struct_refine_func(srna, "rna_ID_refine");
|
||||
RNA_def_struct_idproperties_func(srna, "rna_ID_idproperties");
|
||||
|
||||
prop= RNA_def_property(srna, "name", PROP_STRING, PROP_NONE);
|
||||
RNA_def_property_ui_text(prop, "Name", "Unique datablock ID name.");
|
||||
RNA_def_property_ui_text(prop, "Name", "Unique datablock ID name");
|
||||
RNA_def_property_string_funcs(prop, "rna_ID_name_get", "rna_ID_name_length", "rna_ID_name_set");
|
||||
RNA_def_property_string_maxlength(prop, sizeof(((ID*)NULL)->name)-2);
|
||||
RNA_def_property_editable_func(prop, "rna_ID_name_editable");
|
||||
@@ -349,7 +349,7 @@ static void rna_def_ID(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "users", PROP_INT, PROP_UNSIGNED);
|
||||
RNA_def_property_int_sdna(prop, NULL, "us");
|
||||
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_ui_text(prop, "Users", "Number of times this datablock is referenced.");
|
||||
RNA_def_property_ui_text(prop, "Users", "Number of times this datablock is referenced");
|
||||
|
||||
prop= RNA_def_property(srna, "fake_user", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", LIB_FAKEUSER);
|
||||
@@ -359,12 +359,12 @@ static void rna_def_ID(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "tag", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", LIB_DOIT);
|
||||
RNA_def_property_flag(prop, PROP_LIB_EXCEPTION);
|
||||
RNA_def_property_ui_text(prop, "Tag", "Tools can use this to tag data, (initial state is undefined).");
|
||||
RNA_def_property_ui_text(prop, "Tag", "Tools can use this to tag data, (initial state is undefined)");
|
||||
|
||||
prop= RNA_def_property(srna, "library", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "lib");
|
||||
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_ui_text(prop, "Library", "Library file the datablock is linked from.");
|
||||
RNA_def_property_ui_text(prop, "Library", "Library file the datablock is linked from");
|
||||
|
||||
/* functions */
|
||||
func= RNA_def_function(srna, "copy", "rna_ID_copy");
|
||||
@@ -388,13 +388,13 @@ static void rna_def_library(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
srna= RNA_def_struct(brna, "Library", "ID");
|
||||
RNA_def_struct_ui_text(srna, "Library", "External .blend file from which data is linked.");
|
||||
RNA_def_struct_ui_text(srna, "Library", "External .blend file from which data is linked");
|
||||
RNA_def_struct_ui_icon(srna, ICON_LIBRARY_DATA_DIRECT);
|
||||
|
||||
prop= RNA_def_property(srna, "filename", PROP_STRING, PROP_FILEPATH);
|
||||
RNA_def_property_string_sdna(prop, NULL, "name");
|
||||
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_ui_text(prop, "Filename", "Path to the library .blend file.");
|
||||
RNA_def_property_ui_text(prop, "Filename", "Path to the library .blend file");
|
||||
}
|
||||
void RNA_def_ID(BlenderRNA *brna)
|
||||
{
|
||||
@@ -402,11 +402,11 @@ void RNA_def_ID(BlenderRNA *brna)
|
||||
|
||||
/* built-in unknown type */
|
||||
srna= RNA_def_struct(brna, "UnknownType", NULL);
|
||||
RNA_def_struct_ui_text(srna, "Unknown Type", "Stub RNA type used for pointers to unknown or internal data.");
|
||||
RNA_def_struct_ui_text(srna, "Unknown Type", "Stub RNA type used for pointers to unknown or internal data");
|
||||
|
||||
/* built-in any type */
|
||||
srna= RNA_def_struct(brna, "AnyType", NULL);
|
||||
RNA_def_struct_ui_text(srna, "Any Type", "RNA type used for pointers to any possible data.");
|
||||
RNA_def_struct_ui_text(srna, "Any Type", "RNA type used for pointers to any possible data");
|
||||
|
||||
rna_def_ID(brna);
|
||||
rna_def_ID_properties(brna);
|
||||
|
||||
@@ -64,31 +64,31 @@ static void rna_def_dopesheet(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "DopeSheet", NULL);
|
||||
RNA_def_struct_sdna(srna, "bDopeSheet");
|
||||
RNA_def_struct_ui_text(srna, "DopeSheet", "Settings for filtering the channels shown in Animation Editors.");
|
||||
RNA_def_struct_ui_text(srna, "DopeSheet", "Settings for filtering the channels shown in Animation Editors");
|
||||
|
||||
/* Source of DopeSheet data */
|
||||
prop= RNA_def_property(srna, "source", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_struct_type(prop, "ID");
|
||||
RNA_def_property_ui_text(prop, "Source", "ID-Block representing source data, currently ID_SCE (for Dopesheet), and ID_SC (for Grease Pencil).");
|
||||
RNA_def_property_ui_text(prop, "Source", "ID-Block representing source data, currently ID_SCE (for Dopesheet), and ID_SC (for Grease Pencil)");
|
||||
|
||||
/* General Filtering Settings */
|
||||
prop= RNA_def_property(srna, "only_selected", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "filterflag", ADS_FILTER_ONLYSEL);
|
||||
RNA_def_property_ui_text(prop, "Only Selected", "Only include channels relating to selected objects and data.");
|
||||
RNA_def_property_ui_text(prop, "Only Selected", "Only include channels relating to selected objects and data");
|
||||
RNA_def_property_ui_icon(prop, ICON_RESTRICT_SELECT_OFF, 0);
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_ANIMCHAN_EDIT, NULL);
|
||||
|
||||
/* Object Group Filtering Settings */
|
||||
prop= RNA_def_property(srna, "only_group_objects", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "filterflag", ADS_FILTER_ONLYOBGROUP);
|
||||
RNA_def_property_ui_text(prop, "Only Objects in Group", "Only include channels from Objects in the specified Group.");
|
||||
RNA_def_property_ui_text(prop, "Only Objects in Group", "Only include channels from Objects in the specified Group");
|
||||
RNA_def_property_ui_icon(prop, ICON_GROUP, 0);
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_ANIMCHAN_EDIT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "filtering_group", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "filter_grp");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_ui_text(prop, "Filtering Group", "Group that included Object should be a member of.");
|
||||
RNA_def_property_ui_text(prop, "Filtering Group", "Group that included Object should be a member of");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_ANIMCHAN_EDIT, NULL);
|
||||
|
||||
/* NLA Specific Settings */
|
||||
@@ -114,73 +114,73 @@ static void rna_def_dopesheet(BlenderRNA *brna)
|
||||
/* General DataType Filtering Settings */
|
||||
prop= RNA_def_property(srna, "display_shapekeys", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "filterflag", ADS_FILTER_NOSHAPEKEYS);
|
||||
RNA_def_property_ui_text(prop, "Display Shapekeys", "Include visualization of ShapeKey related Animation data.");
|
||||
RNA_def_property_ui_text(prop, "Display Shapekeys", "Include visualization of ShapeKey related Animation data");
|
||||
RNA_def_property_ui_icon(prop, ICON_SHAPEKEY_DATA, 0);
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_ANIMCHAN_EDIT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "display_mesh", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "filterflag", ADS_FILTER_NOMESH);
|
||||
RNA_def_property_ui_text(prop, "Display Meshes", "Include visualization of Mesh related Animation data.");
|
||||
RNA_def_property_ui_text(prop, "Display Meshes", "Include visualization of Mesh related Animation data");
|
||||
RNA_def_property_ui_icon(prop, ICON_MESH_DATA, 0);
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_ANIMCHAN_EDIT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "display_camera", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "filterflag", ADS_FILTER_NOCAM);
|
||||
RNA_def_property_ui_text(prop, "Display Camera", "Include visualization of Camera related Animation data.");
|
||||
RNA_def_property_ui_text(prop, "Display Camera", "Include visualization of Camera related Animation data");
|
||||
RNA_def_property_ui_icon(prop, ICON_CAMERA_DATA, 0);
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_ANIMCHAN_EDIT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "display_material", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "filterflag", ADS_FILTER_NOMAT);
|
||||
RNA_def_property_ui_text(prop, "Display Material", "Include visualization of Material related Animation data.");
|
||||
RNA_def_property_ui_text(prop, "Display Material", "Include visualization of Material related Animation data");
|
||||
RNA_def_property_ui_icon(prop, ICON_MATERIAL_DATA, 0);
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_ANIMCHAN_EDIT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "display_lamp", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "filterflag", ADS_FILTER_NOLAM);
|
||||
RNA_def_property_ui_text(prop, "Display Lamp", "Include visualization of Lamp related Animation data.");
|
||||
RNA_def_property_ui_text(prop, "Display Lamp", "Include visualization of Lamp related Animation data");
|
||||
RNA_def_property_ui_icon(prop, ICON_LAMP_DATA, 0);
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_ANIMCHAN_EDIT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "display_curve", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "filterflag", ADS_FILTER_NOCUR);
|
||||
RNA_def_property_ui_text(prop, "Display Curve", "Include visualization of Curve related Animation data.");
|
||||
RNA_def_property_ui_text(prop, "Display Curve", "Include visualization of Curve related Animation data");
|
||||
RNA_def_property_ui_icon(prop, ICON_CURVE_DATA, 0);
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_ANIMCHAN_EDIT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "display_world", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "filterflag", ADS_FILTER_NOWOR);
|
||||
RNA_def_property_ui_text(prop, "Display World", "Include visualization of World related Animation data.");
|
||||
RNA_def_property_ui_text(prop, "Display World", "Include visualization of World related Animation data");
|
||||
RNA_def_property_ui_icon(prop, ICON_WORLD_DATA, 0);
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_ANIMCHAN_EDIT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "display_scene", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "filterflag", ADS_FILTER_NOSCE);
|
||||
RNA_def_property_ui_text(prop, "Display Scene", "Include visualization of Scene related Animation data.");
|
||||
RNA_def_property_ui_text(prop, "Display Scene", "Include visualization of Scene related Animation data");
|
||||
RNA_def_property_ui_icon(prop, ICON_SCENE_DATA, 0);
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_ANIMCHAN_EDIT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "display_particle", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "filterflag", ADS_FILTER_NOPART);
|
||||
RNA_def_property_ui_text(prop, "Display Particle", "Include visualization of Particle related Animation data.");
|
||||
RNA_def_property_ui_text(prop, "Display Particle", "Include visualization of Particle related Animation data");
|
||||
RNA_def_property_ui_icon(prop, ICON_PARTICLE_DATA, 0);
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_ANIMCHAN_EDIT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "display_metaball", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "filterflag", ADS_FILTER_NOMBA);
|
||||
RNA_def_property_ui_text(prop, "Display Metaball", "Include visualization of Metaball related Animation data.");
|
||||
RNA_def_property_ui_text(prop, "Display Metaball", "Include visualization of Metaball related Animation data");
|
||||
RNA_def_property_ui_icon(prop, ICON_META_DATA, 0);
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_ANIMCHAN_EDIT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "display_armature", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "filterflag", ADS_FILTER_NOARM);
|
||||
RNA_def_property_ui_text(prop, "Display Armature", "Include visualization of Armature related Animation data.");
|
||||
RNA_def_property_ui_text(prop, "Display Armature", "Include visualization of Armature related Animation data");
|
||||
RNA_def_property_ui_icon(prop, ICON_ARMATURE_DATA, 0);
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_ANIMCHAN_EDIT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "display_node", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "filterflag", ADS_FILTER_NONTREE);
|
||||
RNA_def_property_ui_text(prop, "Display Node", "Include visualization of Node related Animation data.");
|
||||
RNA_def_property_ui_text(prop, "Display Node", "Include visualization of Node related Animation data");
|
||||
RNA_def_property_ui_icon(prop, ICON_NODETREE, 0);
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_ANIMCHAN_EDIT, NULL);
|
||||
}
|
||||
@@ -192,7 +192,7 @@ static void rna_def_action_group(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "ActionGroup", NULL);
|
||||
RNA_def_struct_sdna(srna, "bActionGroup");
|
||||
RNA_def_struct_ui_text(srna, "Action Group", "Groups of F-Curves.");
|
||||
RNA_def_struct_ui_text(srna, "Action Group", "Groups of F-Curves");
|
||||
|
||||
prop= RNA_def_property(srna, "name", PROP_STRING, PROP_NONE);
|
||||
RNA_def_property_ui_text(prop, "Name", "");
|
||||
@@ -210,26 +210,26 @@ static void rna_def_action_group(BlenderRNA *brna)
|
||||
RNA_def_property_collection_sdna(prop, NULL, "channels", NULL);
|
||||
RNA_def_property_struct_type(prop, "FCurve");
|
||||
RNA_def_property_collection_funcs(prop, 0, "rna_ActionGroup_channels_next", 0, 0, 0, 0, 0);
|
||||
RNA_def_property_ui_text(prop, "Channels", "F-Curves in this group.");
|
||||
RNA_def_property_ui_text(prop, "Channels", "F-Curves in this group");
|
||||
|
||||
prop= RNA_def_property(srna, "selected", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", AGRP_SELECTED);
|
||||
RNA_def_property_ui_text(prop, "Selected", "Action Group is selected.");
|
||||
RNA_def_property_ui_text(prop, "Selected", "Action Group is selected");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_ANIMCHAN_SELECT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "locked", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", AGRP_PROTECTED);
|
||||
RNA_def_property_ui_text(prop, "Locked", "Action Group is locked.");
|
||||
RNA_def_property_ui_text(prop, "Locked", "Action Group is locked");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_ANIMCHAN_EDIT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "expanded", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", AGRP_EXPANDED);
|
||||
RNA_def_property_ui_text(prop, "Expanded", "Action Group is expanded.");
|
||||
RNA_def_property_ui_text(prop, "Expanded", "Action Group is expanded");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_ANIMCHAN_EDIT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "custom_color", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "customCol");
|
||||
RNA_def_property_ui_text(prop, "Custom Color", "Index of custom color set.");
|
||||
RNA_def_property_ui_text(prop, "Custom Color", "Index of custom color set");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_ANIMCHAN_EDIT, NULL);
|
||||
}
|
||||
|
||||
@@ -240,23 +240,23 @@ static void rna_def_action(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "Action", "ID");
|
||||
RNA_def_struct_sdna(srna, "bAction");
|
||||
RNA_def_struct_ui_text(srna, "Action", "A collection of F-Curves for animation.");
|
||||
RNA_def_struct_ui_text(srna, "Action", "A collection of F-Curves for animation");
|
||||
RNA_def_struct_ui_icon(srna, ICON_ACTION);
|
||||
|
||||
prop= RNA_def_property(srna, "fcurves", PROP_COLLECTION, PROP_NONE);
|
||||
RNA_def_property_collection_sdna(prop, NULL, "curves", NULL);
|
||||
RNA_def_property_struct_type(prop, "FCurve");
|
||||
RNA_def_property_ui_text(prop, "F-Curves", "The individual F-Curves that make up the Action.");
|
||||
RNA_def_property_ui_text(prop, "F-Curves", "The individual F-Curves that make up the Action");
|
||||
|
||||
prop= RNA_def_property(srna, "groups", PROP_COLLECTION, PROP_NONE);
|
||||
RNA_def_property_collection_sdna(prop, NULL, "groups", NULL);
|
||||
RNA_def_property_struct_type(prop, "ActionGroup");
|
||||
RNA_def_property_ui_text(prop, "Groups", "Convenient groupings of F-Curves.");
|
||||
RNA_def_property_ui_text(prop, "Groups", "Convenient groupings of F-Curves");
|
||||
|
||||
prop= RNA_def_property(srna, "pose_markers", PROP_COLLECTION, PROP_NONE);
|
||||
RNA_def_property_collection_sdna(prop, NULL, "markers", NULL);
|
||||
RNA_def_property_struct_type(prop, "TimelineMarker");
|
||||
RNA_def_property_ui_text(prop, "Pose Markers", "Markers specific to this Action, for labeling poses.");
|
||||
RNA_def_property_ui_text(prop, "Pose Markers", "Markers specific to this Action, for labeling poses");
|
||||
|
||||
RNA_api_action(srna);
|
||||
}
|
||||
|
||||
@@ -111,7 +111,7 @@ void rna_def_actuator(BlenderRNA *brna)
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "Actuator", NULL);
|
||||
RNA_def_struct_ui_text(srna, "Actuator", "Actuator to apply actions in the game engine.");
|
||||
RNA_def_struct_ui_text(srna, "Actuator", "Actuator to apply actions in the game engine");
|
||||
RNA_def_struct_sdna(srna, "bActuator");
|
||||
RNA_def_struct_refine_func(srna, "rna_Actuator_refine");
|
||||
|
||||
@@ -137,7 +137,7 @@ static void rna_def_object_actuator(BlenderRNA *brna)
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "ObjectActuator", "Actuator");
|
||||
RNA_def_struct_ui_text(srna, "Motion Actuator", "Actuator to control the object movement.");
|
||||
RNA_def_struct_ui_text(srna, "Motion Actuator", "Actuator to control the object movement");
|
||||
RNA_def_struct_sdna_from(srna, "bObjectActuator", "data");
|
||||
|
||||
|
||||
@@ -310,13 +310,13 @@ static void rna_def_ipo_actuator(BlenderRNA *brna)
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "IpoActuator", "Actuator");
|
||||
RNA_def_struct_ui_text(srna, "Ipo Actuator", "Actuator to animate the object.");
|
||||
RNA_def_struct_ui_text(srna, "Ipo Actuator", "Actuator to animate the object");
|
||||
RNA_def_struct_sdna_from(srna, "bIpoActuator", "data");
|
||||
|
||||
prop= RNA_def_property(srna, "play_type", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "type");
|
||||
RNA_def_property_enum_items(prop, prop_type_items);
|
||||
RNA_def_property_ui_text(prop, "Ipo Type", "Specify the way you want to play the animation.");
|
||||
RNA_def_property_ui_text(prop, "Ipo Type", "Specify the way you want to play the animation");
|
||||
RNA_def_property_update(prop, NC_LOGIC, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "start_frame", PROP_INT, PROP_NONE);
|
||||
@@ -350,7 +350,7 @@ static void rna_def_ipo_actuator(BlenderRNA *brna)
|
||||
|
||||
prop= RNA_def_property(srna, "local", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", ACT_IPOLOCAL);
|
||||
RNA_def_property_ui_text(prop, "L", "Let the ipo acts in local coordinates, used in Force and Add mode.");
|
||||
RNA_def_property_ui_text(prop, "L", "Let the ipo acts in local coordinates, used in Force and Add mode");
|
||||
RNA_def_property_update(prop, NC_LOGIC, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "child", PROP_BOOLEAN, PROP_NONE);
|
||||
@@ -377,7 +377,7 @@ static void rna_def_camera_actuator(BlenderRNA *brna)
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "CameraActuator", "Actuator");
|
||||
RNA_def_struct_ui_text(srna, "Camera Actuator", "Actuator to ...");
|
||||
RNA_def_struct_ui_text(srna, "Camera Actuator", "Actuator to ..");
|
||||
RNA_def_struct_sdna_from(srna, "bCameraActuator", "data");
|
||||
|
||||
prop= RNA_def_property(srna, "object", PROP_POINTER, PROP_NONE);
|
||||
@@ -408,7 +408,7 @@ static void rna_def_camera_actuator(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "axis", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "axis");
|
||||
RNA_def_property_enum_items(prop, prop_axis_items);
|
||||
RNA_def_property_ui_text(prop, "Axis", "Specify the axy the Camera will try to get behind.");
|
||||
RNA_def_property_ui_text(prop, "Axis", "Specify the axy the Camera will try to get behind");
|
||||
RNA_def_property_update(prop, NC_LOGIC, NULL);
|
||||
}
|
||||
|
||||
@@ -487,19 +487,19 @@ static void rna_def_sound_actuator(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "cone_outer_gain_3d", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "sound3D.cone_outer_gain");
|
||||
RNA_def_property_ui_range(prop, 0.0, 1.0, 0.1, 0.01);
|
||||
RNA_def_property_ui_text(prop, "Cone Outer Gain", "The gain outside the outer cone. The gain in the outer cone will be interpolated between this value and the normal gain in the inner cone.");
|
||||
RNA_def_property_ui_text(prop, "Cone Outer Gain", "The gain outside the outer cone. The gain in the outer cone will be interpolated between this value and the normal gain in the inner cone");
|
||||
RNA_def_property_update(prop, NC_LOGIC, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "cone_outer_angle_3d", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "sound3D.cone_outer_angle");
|
||||
RNA_def_property_ui_range(prop, 0.0, 360.0, 1.0, 0.01);
|
||||
RNA_def_property_ui_text(prop, "Cone Outer Angle", "The angle of the outer cone.");
|
||||
RNA_def_property_ui_text(prop, "Cone Outer Angle", "The angle of the outer cone");
|
||||
RNA_def_property_update(prop, NC_LOGIC, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "cone_inner_angle_3d", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "sound3D.cone_inner_angle");
|
||||
RNA_def_property_ui_range(prop, 0.0, 360.0, 1.0, 0.01);
|
||||
RNA_def_property_ui_text(prop, "Cone Inner Angle", "The angle of the inner cone.");
|
||||
RNA_def_property_ui_text(prop, "Cone Inner Angle", "The angle of the inner cone");
|
||||
RNA_def_property_update(prop, NC_LOGIC, NULL);
|
||||
|
||||
/* booleans */
|
||||
@@ -547,7 +547,7 @@ static void rna_def_constraint_actuator(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
srna= RNA_def_struct(brna, "ConstraintActuator", "Actuator");
|
||||
RNA_def_struct_ui_text(srna, "Constraint Actuator", "Actuator to ...");
|
||||
RNA_def_struct_ui_text(srna, "Constraint Actuator", "Actuator to ..");
|
||||
RNA_def_struct_sdna_from(srna, "bConstraintActuator", "data");
|
||||
|
||||
//XXX
|
||||
@@ -590,7 +590,7 @@ static void rna_def_scene_actuator(BlenderRNA *brna)
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "SceneActuator", "Actuator");
|
||||
RNA_def_struct_ui_text(srna, "Scene Actuator", "Actuator to ...");
|
||||
RNA_def_struct_ui_text(srna, "Scene Actuator", "Actuator to ..");
|
||||
RNA_def_struct_sdna_from(srna, "bSceneActuator", "data");
|
||||
|
||||
prop= RNA_def_property(srna, "type", PROP_ENUM, PROP_NONE);
|
||||
@@ -646,7 +646,7 @@ static void rna_def_random_actuator(BlenderRNA *brna)
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "RandomActuator", "Actuator");
|
||||
RNA_def_struct_ui_text(srna, "Random Actuator", "Actuator to ...");
|
||||
RNA_def_struct_ui_text(srna, "Random Actuator", "Actuator to ..");
|
||||
RNA_def_struct_sdna_from(srna, "bRandomActuator", "data");
|
||||
|
||||
prop= RNA_def_property(srna, "seed", PROP_INT, PROP_NONE);
|
||||
@@ -763,7 +763,7 @@ static void rna_def_message_actuator(BlenderRNA *brna)
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "MessageActuator", "Actuator");
|
||||
RNA_def_struct_ui_text(srna, "Message Actuator", "Actuator to ...");
|
||||
RNA_def_struct_ui_text(srna, "Message Actuator", "Actuator to ..");
|
||||
RNA_def_struct_sdna_from(srna, "bMessageActuator", "data");
|
||||
|
||||
prop= RNA_def_property(srna, "to_property", PROP_STRING, PROP_NONE);
|
||||
@@ -875,7 +875,7 @@ static void rna_def_twodfilter_actuator(BlenderRNA *brna)
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "TwoDFilterActuator", "Actuator");
|
||||
RNA_def_struct_ui_text(srna, "2D Filter Actuator", "Actuator to ...");
|
||||
RNA_def_struct_ui_text(srna, "2D Filter Actuator", "Actuator to ..");
|
||||
RNA_def_struct_sdna_from(srna, "bTwoDFilterActuator", "data");
|
||||
|
||||
prop= RNA_def_property(srna, "type", PROP_ENUM, PROP_NONE);
|
||||
@@ -955,7 +955,7 @@ static void rna_def_shape_action_actuator(BlenderRNA *brna)
|
||||
StructRNA *srna;
|
||||
|
||||
srna= RNA_def_struct(brna, "ShapeActionActuator", "Actuator");
|
||||
RNA_def_struct_ui_text(srna, "Shape Action Actuator", "Actuator to ...");
|
||||
RNA_def_struct_ui_text(srna, "Shape Action Actuator", "Actuator to ..");
|
||||
RNA_def_struct_sdna_from(srna, "bShapeActionActuator", "data");
|
||||
|
||||
//XXX
|
||||
@@ -1007,7 +1007,7 @@ static void rna_def_armature_actuator(BlenderRNA *brna)
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "ArmatureActuator", "Actuator");
|
||||
RNA_def_struct_ui_text(srna, "Armature Actuator", "Actuator to ...");
|
||||
RNA_def_struct_ui_text(srna, "Armature Actuator", "Actuator to ..");
|
||||
RNA_def_struct_sdna_from(srna, "bArmatureActuator", "data");
|
||||
|
||||
prop= RNA_def_property(srna, "contraint_type", PROP_ENUM, PROP_NONE);
|
||||
|
||||
@@ -175,7 +175,7 @@ static void rna_def_keyingset_path(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "KeyingSetPath", NULL);
|
||||
RNA_def_struct_sdna(srna, "KS_Path");
|
||||
RNA_def_struct_ui_text(srna, "Keying Set Path", "Path to a setting for use in a Keying Set.");
|
||||
RNA_def_struct_ui_text(srna, "Keying Set Path", "Path to a setting for use in a Keying Set");
|
||||
|
||||
/* ID */
|
||||
prop= RNA_def_property(srna, "id", PROP_POINTER, PROP_NONE);
|
||||
@@ -183,38 +183,38 @@ static void rna_def_keyingset_path(BlenderRNA *brna)
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_editable_func(prop, "rna_ksPath_id_editable");
|
||||
RNA_def_property_pointer_funcs(prop, NULL, NULL, "rna_ksPath_id_typef");
|
||||
RNA_def_property_ui_text(prop, "ID-Block", "ID-Block that keyframes for Keying Set should be added to (for Absolute Keying Sets only).");
|
||||
RNA_def_property_ui_text(prop, "ID-Block", "ID-Block that keyframes for Keying Set should be added to (for Absolute Keying Sets only)");
|
||||
|
||||
prop= RNA_def_property(srna, "id_type", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "idtype");
|
||||
RNA_def_property_enum_items(prop, id_type_items);
|
||||
RNA_def_property_enum_default(prop, ID_OB);
|
||||
RNA_def_property_enum_funcs(prop, NULL, "rna_ksPath_id_type_set", NULL);
|
||||
RNA_def_property_ui_text(prop, "ID Type", "Type of ID-block that can be used.");
|
||||
RNA_def_property_ui_text(prop, "ID Type", "Type of ID-block that can be used");
|
||||
|
||||
/* Group */
|
||||
prop= RNA_def_property(srna, "group", PROP_STRING, PROP_NONE);
|
||||
RNA_def_property_ui_text(prop, "Group Name", "Name of Action Group to assign setting(s) for this path to.");
|
||||
RNA_def_property_ui_text(prop, "Group Name", "Name of Action Group to assign setting(s) for this path to");
|
||||
|
||||
/* Grouping */
|
||||
prop= RNA_def_property(srna, "grouping", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "groupmode");
|
||||
RNA_def_property_enum_items(prop, keyingset_path_grouping_items);
|
||||
RNA_def_property_ui_text(prop, "Grouping Method", "Method used to define which Group-name to use.");
|
||||
RNA_def_property_ui_text(prop, "Grouping Method", "Method used to define which Group-name to use");
|
||||
|
||||
/* Path + Array Index */
|
||||
prop= RNA_def_property(srna, "data_path", PROP_STRING, PROP_NONE);
|
||||
RNA_def_property_string_funcs(prop, "rna_ksPath_RnaPath_get", "rna_ksPath_RnaPath_length", "rna_ksPath_RnaPath_set");
|
||||
RNA_def_property_ui_text(prop, "Data Path", "Path to property setting.");
|
||||
RNA_def_property_ui_text(prop, "Data Path", "Path to property setting");
|
||||
RNA_def_struct_name_property(srna, prop); // XXX this is the best indicator for now...
|
||||
|
||||
prop= RNA_def_property(srna, "array_index", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_ui_text(prop, "RNA Array Index", "Index to the specific setting if applicable.");
|
||||
RNA_def_property_ui_text(prop, "RNA Array Index", "Index to the specific setting if applicable");
|
||||
|
||||
/* Flags */
|
||||
prop= RNA_def_property(srna, "entire_array", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", KSP_FLAG_WHOLE_ARRAY);
|
||||
RNA_def_property_ui_text(prop, "Entire Array", "When an 'array/vector' type is chosen (Location, Rotation, Color, etc.), entire array is to be used.");
|
||||
RNA_def_property_ui_text(prop, "Entire Array", "When an 'array/vector' type is chosen (Location, Rotation, Color, etc.), entire array is to be used");
|
||||
}
|
||||
|
||||
static void rna_def_keyingset(BlenderRNA *brna)
|
||||
@@ -223,7 +223,7 @@ static void rna_def_keyingset(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
srna= RNA_def_struct(brna, "KeyingSet", NULL);
|
||||
RNA_def_struct_ui_text(srna, "Keying Set", "Settings that should be keyframed together.");
|
||||
RNA_def_struct_ui_text(srna, "Keying Set", "Settings that should be keyframed together");
|
||||
|
||||
/* Name */
|
||||
prop= RNA_def_property(srna, "name", PROP_STRING, PROP_NONE);
|
||||
@@ -234,25 +234,25 @@ static void rna_def_keyingset(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "paths", PROP_COLLECTION, PROP_NONE);
|
||||
RNA_def_property_collection_sdna(prop, NULL, "paths", NULL);
|
||||
RNA_def_property_struct_type(prop, "KeyingSetPath");
|
||||
RNA_def_property_ui_text(prop, "Paths", "Keying Set Paths to define settings that get keyframed together.");
|
||||
RNA_def_property_ui_text(prop, "Paths", "Keying Set Paths to define settings that get keyframed together");
|
||||
|
||||
prop= RNA_def_property(srna, "active_path", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_struct_type(prop, "KeyingSetPath");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_editable_func(prop, "rna_KeyingSet_active_ksPath_editable");
|
||||
RNA_def_property_pointer_funcs(prop, "rna_KeyingSet_active_ksPath_get", "rna_KeyingSet_active_ksPath_set", NULL);
|
||||
RNA_def_property_ui_text(prop, "Active Keying Set", "Active Keying Set used to insert/delete keyframes.");
|
||||
RNA_def_property_ui_text(prop, "Active Keying Set", "Active Keying Set used to insert/delete keyframes");
|
||||
|
||||
prop= RNA_def_property(srna, "active_path_index", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "active_path");
|
||||
RNA_def_property_int_funcs(prop, "rna_KeyingSet_active_ksPath_index_get", "rna_KeyingSet_active_ksPath_index_set", "rna_KeyingSet_active_ksPath_index_range");
|
||||
RNA_def_property_ui_text(prop, "Active Path Index", "Current Keying Set index.");
|
||||
RNA_def_property_ui_text(prop, "Active Path Index", "Current Keying Set index");
|
||||
|
||||
/* Flags */
|
||||
prop= RNA_def_property(srna, "builtin", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", KEYINGSET_BUILTIN);
|
||||
RNA_def_property_ui_text(prop, "Built-In", "Keying Set is a built-in to Blender.");
|
||||
RNA_def_property_ui_text(prop, "Built-In", "Keying Set is a built-in to Blender");
|
||||
|
||||
prop= RNA_def_property(srna, "absolute", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", KEYINGSET_ABSOLUTE);
|
||||
@@ -261,15 +261,15 @@ static void rna_def_keyingset(BlenderRNA *brna)
|
||||
/* Keyframing Flags */
|
||||
prop= RNA_def_property(srna, "insertkey_needed", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "keyingflag", INSERTKEY_NEEDED);
|
||||
RNA_def_property_ui_text(prop, "Insert Keyframes - Only Needed", "Only insert keyframes where they're needed in the relevant F-Curves.");
|
||||
RNA_def_property_ui_text(prop, "Insert Keyframes - Only Needed", "Only insert keyframes where they're needed in the relevant F-Curves");
|
||||
|
||||
prop= RNA_def_property(srna, "insertkey_visual", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "keyingflag", INSERTKEY_MATRIX);
|
||||
RNA_def_property_ui_text(prop, "Insert Keyframes - Visual", "Insert keyframes based on 'visual transforms'.");
|
||||
RNA_def_property_ui_text(prop, "Insert Keyframes - Visual", "Insert keyframes based on 'visual transforms'");
|
||||
|
||||
prop= RNA_def_property(srna, "insertkey_xyz_to_rgb", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "keyingflag", INSERTKEY_XYZ2RGB);
|
||||
RNA_def_property_ui_text(prop, "F-Curve Colors - XYZ to RGB", "Color for newly added transformation F-Curves (Location, Rotation, Scale) and also Color is based on the transform axis.");
|
||||
RNA_def_property_ui_text(prop, "F-Curve Colors - XYZ to RGB", "Color for newly added transformation F-Curves (Location, Rotation, Scale) and also Color is based on the transform axis");
|
||||
|
||||
/* Keying Set API */
|
||||
RNA_api_keyingset(srna);
|
||||
@@ -284,7 +284,7 @@ void rna_def_animdata_common(StructRNA *srna)
|
||||
prop= RNA_def_property(srna, "animation_data", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "adt");
|
||||
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_ui_text(prop, "Animation Data", "Animation data for this datablock.");
|
||||
RNA_def_property_ui_text(prop, "Animation Data", "Animation data for this datablock");
|
||||
}
|
||||
|
||||
void rna_def_animdata(BlenderRNA *brna)
|
||||
@@ -293,49 +293,49 @@ void rna_def_animdata(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
srna= RNA_def_struct(brna, "AnimData", NULL);
|
||||
RNA_def_struct_ui_text(srna, "Animation Data", "Animation data for datablock.");
|
||||
RNA_def_struct_ui_text(srna, "Animation Data", "Animation data for datablock");
|
||||
|
||||
/* NLA */
|
||||
prop= RNA_def_property(srna, "nla_tracks", PROP_COLLECTION, PROP_NONE);
|
||||
RNA_def_property_collection_sdna(prop, NULL, "nla_tracks", NULL);
|
||||
RNA_def_property_struct_type(prop, "NlaTrack");
|
||||
RNA_def_property_ui_text(prop, "NLA Tracks", "NLA Tracks (i.e. Animation Layers).");
|
||||
RNA_def_property_ui_text(prop, "NLA Tracks", "NLA Tracks (i.e. Animation Layers)");
|
||||
|
||||
/* Active Action */
|
||||
prop= RNA_def_property(srna, "action", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_funcs(prop, NULL, "rna_AnimData_action_set", NULL);
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE); /* this flag as well as the dynamic test must be defined for this to be editable... */
|
||||
RNA_def_property_editable_func(prop, "rna_AnimData_action_editable");
|
||||
RNA_def_property_ui_text(prop, "Action", "Active Action for this datablock.");
|
||||
RNA_def_property_ui_text(prop, "Action", "Active Action for this datablock");
|
||||
|
||||
|
||||
/* Active Action Settings */
|
||||
prop= RNA_def_property(srna, "action_extrapolation", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "act_extendmode");
|
||||
RNA_def_property_enum_items(prop, nla_mode_extend_items);
|
||||
RNA_def_property_ui_text(prop, "Action Extrapolation", "Action to take for gaps past the Active Action's range (when evaluating with NLA).");
|
||||
RNA_def_property_ui_text(prop, "Action Extrapolation", "Action to take for gaps past the Active Action's range (when evaluating with NLA)");
|
||||
|
||||
prop= RNA_def_property(srna, "action_blending", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "act_blendmode");
|
||||
RNA_def_property_enum_items(prop, nla_mode_blend_items);
|
||||
RNA_def_property_ui_text(prop, "Action Blending", "Method used for combining Active Action's result with result of NLA stack.");
|
||||
RNA_def_property_ui_text(prop, "Action Blending", "Method used for combining Active Action's result with result of NLA stack");
|
||||
|
||||
prop= RNA_def_property(srna, "action_influence", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "act_influence");
|
||||
RNA_def_property_float_default(prop, 1.0f);
|
||||
RNA_def_property_range(prop, 0.0f, 1.0f);
|
||||
RNA_def_property_ui_text(prop, "Action Influence", "Amount the Active Action contributes to the result of the NLA stack.");
|
||||
RNA_def_property_ui_text(prop, "Action Influence", "Amount the Active Action contributes to the result of the NLA stack");
|
||||
|
||||
/* Drivers */
|
||||
prop= RNA_def_property(srna, "drivers", PROP_COLLECTION, PROP_NONE);
|
||||
RNA_def_property_collection_sdna(prop, NULL, "drivers", NULL);
|
||||
RNA_def_property_struct_type(prop, "FCurve");
|
||||
RNA_def_property_ui_text(prop, "Drivers", "The Drivers/Expressions for this datablock.");
|
||||
RNA_def_property_ui_text(prop, "Drivers", "The Drivers/Expressions for this datablock");
|
||||
|
||||
/* General Settings */
|
||||
prop= RNA_def_property(srna, "nla_enabled", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", ADT_NLA_EVAL_OFF);
|
||||
RNA_def_property_ui_text(prop, "NLA Evaluation Enabled", "NLA stack is evaluated when evaluating this block.");
|
||||
RNA_def_property_ui_text(prop, "NLA Evaluation Enabled", "NLA stack is evaluated when evaluating this block");
|
||||
}
|
||||
|
||||
/* --- */
|
||||
|
||||
@@ -91,7 +91,7 @@ void rna_def_motionpath_common(StructRNA *srna)
|
||||
|
||||
prop= RNA_def_property(srna, "motion_path", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "mpath");
|
||||
RNA_def_property_ui_text(prop, "Motion Path", "Motion Path for this element.");
|
||||
RNA_def_property_ui_text(prop, "Motion Path", "Motion Path for this element");
|
||||
}
|
||||
|
||||
static void rna_def_animviz_motionpath_vert(BlenderRNA *brna)
|
||||
@@ -101,7 +101,7 @@ static void rna_def_animviz_motionpath_vert(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "MotionPathVert", NULL);
|
||||
RNA_def_struct_sdna(srna, "bMotionPathVert");
|
||||
RNA_def_struct_ui_text(srna, "Motion Path Cache Point", "Cached location on path.");
|
||||
RNA_def_struct_ui_text(srna, "Motion Path Cache Point", "Cached location on path");
|
||||
|
||||
prop= RNA_def_property(srna, "co", PROP_FLOAT, PROP_XYZ);
|
||||
RNA_def_property_array(prop, 3);
|
||||
@@ -109,7 +109,7 @@ static void rna_def_animviz_motionpath_vert(BlenderRNA *brna)
|
||||
|
||||
prop= RNA_def_property(srna, "selected", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", MOTIONPATH_VERT_SEL);
|
||||
RNA_def_property_ui_text(prop, "Selected", "Path point is selected for editing.");
|
||||
RNA_def_property_ui_text(prop, "Selected", "Path point is selected for editing");
|
||||
}
|
||||
|
||||
static void rna_def_animviz_motion_path(BlenderRNA *brna)
|
||||
@@ -119,7 +119,7 @@ static void rna_def_animviz_motion_path(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "MotionPath", NULL);
|
||||
RNA_def_struct_sdna(srna, "bMotionPath");
|
||||
RNA_def_struct_ui_text(srna, "Motion Path", "Cache of the worldspace positions of an element over a frame range.");
|
||||
RNA_def_struct_ui_text(srna, "Motion Path", "Cache of the worldspace positions of an element over a frame range");
|
||||
|
||||
/* Collections */
|
||||
prop= RNA_def_property(srna, "points", PROP_COLLECTION, PROP_NONE);
|
||||
@@ -130,25 +130,25 @@ static void rna_def_animviz_motion_path(BlenderRNA *brna)
|
||||
/* Playback Ranges */
|
||||
prop= RNA_def_property(srna, "start_frame", PROP_INT, PROP_TIME);
|
||||
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_ui_text(prop, "Start Frame", "Starting frame of the stored range.");
|
||||
RNA_def_property_ui_text(prop, "Start Frame", "Starting frame of the stored range");
|
||||
|
||||
prop= RNA_def_property(srna, "end_frame", PROP_INT, PROP_TIME);
|
||||
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_ui_text(prop, "End Frame", "End frame of the stored range.");
|
||||
RNA_def_property_ui_text(prop, "End Frame", "End frame of the stored range");
|
||||
|
||||
prop= RNA_def_property(srna, "length", PROP_INT, PROP_TIME);
|
||||
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_ui_text(prop, "Length", "Number of frames cached.");
|
||||
RNA_def_property_ui_text(prop, "Length", "Number of frames cached");
|
||||
|
||||
/* Settings */
|
||||
prop= RNA_def_property(srna, "use_bone_head", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", MOTIONPATH_FLAG_BHEAD);
|
||||
RNA_def_property_clear_flag(prop, PROP_EDITABLE); // xxx
|
||||
RNA_def_property_ui_text(prop, "Use Bone Heads", "For PoseBone paths, use the bone head location when calculating this path.");
|
||||
RNA_def_property_ui_text(prop, "Use Bone Heads", "For PoseBone paths, use the bone head location when calculating this path");
|
||||
|
||||
prop= RNA_def_property(srna, "editing", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", MOTIONPATH_FLAG_EDIT);
|
||||
RNA_def_property_ui_text(prop, "Edit Path", "Path is being edited.");
|
||||
RNA_def_property_ui_text(prop, "Edit Path", "Path is being edited");
|
||||
}
|
||||
|
||||
/* --- */
|
||||
@@ -169,51 +169,51 @@ static void rna_def_animviz_ghosts(BlenderRNA *brna)
|
||||
srna= RNA_def_struct(brna, "AnimVizOnionSkinning", NULL);
|
||||
RNA_def_struct_sdna(srna, "bAnimVizSettings");
|
||||
RNA_def_struct_nested(brna, srna, "AnimViz");
|
||||
RNA_def_struct_ui_text(srna, "Onion Skinning Settings", "Onion Skinning settings for animation visualisation.");
|
||||
RNA_def_struct_ui_text(srna, "Onion Skinning Settings", "Onion Skinning settings for animation visualisation");
|
||||
|
||||
/* Enums */
|
||||
prop= RNA_def_property(srna, "type", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "ghost_type");
|
||||
RNA_def_property_enum_items(prop, prop_type_items);
|
||||
RNA_def_property_ui_text(prop, "Type", "Method used for determining what ghosts get drawn.");
|
||||
RNA_def_property_ui_text(prop, "Type", "Method used for determining what ghosts get drawn");
|
||||
RNA_def_property_update(prop, NC_SPACE|ND_SPACE_VIEW3D, NULL); /* XXX since this is only for 3d-view drawing */
|
||||
|
||||
/* Settings */
|
||||
prop= RNA_def_property(srna, "only_selected", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "ghost_flag", GHOST_FLAG_ONLYSEL);
|
||||
RNA_def_property_ui_text(prop, "On Selected Bones Only", "For Pose-Mode drawing, only draw ghosts for selected bones.");
|
||||
RNA_def_property_ui_text(prop, "On Selected Bones Only", "For Pose-Mode drawing, only draw ghosts for selected bones");
|
||||
RNA_def_property_update(prop, NC_SPACE|ND_SPACE_VIEW3D, NULL); /* XXX since this is only for 3d-view drawing */
|
||||
|
||||
prop= RNA_def_property(srna, "frame_step", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "ghost_step");
|
||||
RNA_def_property_range(prop, 1, 20);
|
||||
RNA_def_property_ui_text(prop, "Frame Step", "Number of frames between ghosts shown (not for 'On Keyframes' Onion-skining method).");
|
||||
RNA_def_property_ui_text(prop, "Frame Step", "Number of frames between ghosts shown (not for 'On Keyframes' Onion-skining method)");
|
||||
RNA_def_property_update(prop, NC_SPACE|ND_SPACE_VIEW3D, NULL); /* XXX since this is only for 3d-view drawing */
|
||||
|
||||
/* Playback Ranges */
|
||||
prop= RNA_def_property(srna, "start_frame", PROP_INT, PROP_TIME);
|
||||
RNA_def_property_int_sdna(prop, NULL, "ghost_sf");
|
||||
RNA_def_property_int_funcs(prop, NULL, "rna_AnimViz_ghost_start_frame_set", NULL);
|
||||
RNA_def_property_ui_text(prop, "Start Frame", "Starting frame of range of Ghosts to display (not for 'Around Current Frame' Onion-skinning method).");
|
||||
RNA_def_property_ui_text(prop, "Start Frame", "Starting frame of range of Ghosts to display (not for 'Around Current Frame' Onion-skinning method)");
|
||||
RNA_def_property_update(prop, NC_SPACE|ND_SPACE_VIEW3D, NULL); /* XXX since this is only for 3d-view drawing */
|
||||
|
||||
prop= RNA_def_property(srna, "end_frame", PROP_INT, PROP_TIME);
|
||||
RNA_def_property_int_sdna(prop, NULL, "ghost_ef");
|
||||
RNA_def_property_int_funcs(prop, NULL, "rna_AnimViz_ghost_end_frame_set", NULL);
|
||||
RNA_def_property_ui_text(prop, "End Frame", "End frame of range of Ghosts to display (not for 'Around Current Frame' Onion-skinning method).");
|
||||
RNA_def_property_ui_text(prop, "End Frame", "End frame of range of Ghosts to display (not for 'Around Current Frame' Onion-skinning method)");
|
||||
RNA_def_property_update(prop, NC_SPACE|ND_SPACE_VIEW3D, NULL); /* XXX since this is only for 3d-view drawing */
|
||||
|
||||
/* Around Current Ranges */
|
||||
prop= RNA_def_property(srna, "before_current", PROP_INT, PROP_TIME);
|
||||
RNA_def_property_int_sdna(prop, NULL, "ghost_bc");
|
||||
RNA_def_property_range(prop, 0, 30);
|
||||
RNA_def_property_ui_text(prop, "Before Current", "Number of frames to show before the current frame (only for 'Around Current Frame' Onion-skinning method).");
|
||||
RNA_def_property_ui_text(prop, "Before Current", "Number of frames to show before the current frame (only for 'Around Current Frame' Onion-skinning method)");
|
||||
RNA_def_property_update(prop, NC_SPACE|ND_SPACE_VIEW3D, NULL); /* XXX since this is only for 3d-view drawing */
|
||||
|
||||
prop= RNA_def_property(srna, "after_current", PROP_INT, PROP_TIME);
|
||||
RNA_def_property_int_sdna(prop, NULL, "ghost_ac");
|
||||
RNA_def_property_range(prop, 0, 30);
|
||||
RNA_def_property_ui_text(prop, "After Current", "Number of frames to show after the current frame (only for 'Around Current Frame' Onion-skinning method).");
|
||||
RNA_def_property_ui_text(prop, "After Current", "Number of frames to show after the current frame (only for 'Around Current Frame' Onion-skinning method)");
|
||||
RNA_def_property_update(prop, NC_SPACE|ND_SPACE_VIEW3D, NULL); /* XXX since this is only for 3d-view drawing */
|
||||
}
|
||||
|
||||
@@ -234,7 +234,7 @@ static void rna_def_animviz_paths(BlenderRNA *brna)
|
||||
srna= RNA_def_struct(brna, "AnimVizMotionPaths", NULL);
|
||||
RNA_def_struct_sdna(srna, "bAnimVizSettings");
|
||||
RNA_def_struct_nested(brna, srna, "AnimViz");
|
||||
RNA_def_struct_ui_text(srna, "Motion Path Settings", "Motion Path settings for animation visualisation.");
|
||||
RNA_def_struct_ui_text(srna, "Motion Path Settings", "Motion Path settings for animation visualisation");
|
||||
|
||||
/* Enums */
|
||||
prop= RNA_def_property(srna, "type", PROP_ENUM, PROP_NONE);
|
||||
@@ -268,7 +268,7 @@ static void rna_def_animviz_paths(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "frame_step", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "path_step");
|
||||
RNA_def_property_range(prop, 1, 100);
|
||||
RNA_def_property_ui_text(prop, "Frame Step", "Number of frames between paths shown (not for 'On Keyframes' Onion-skining method).");
|
||||
RNA_def_property_ui_text(prop, "Frame Step", "Number of frames between paths shown (not for 'On Keyframes' Onion-skining method)");
|
||||
RNA_def_property_update(prop, NC_SPACE|ND_SPACE_VIEW3D, NULL); /* XXX since this is only for 3d-view drawing */
|
||||
|
||||
|
||||
@@ -276,26 +276,26 @@ static void rna_def_animviz_paths(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "start_frame", PROP_INT, PROP_TIME);
|
||||
RNA_def_property_int_sdna(prop, NULL, "path_sf");
|
||||
RNA_def_property_int_funcs(prop, NULL, "rna_AnimViz_path_start_frame_set", NULL);
|
||||
RNA_def_property_ui_text(prop, "Start Frame", "Starting frame of range of paths to display/calculate (not for 'Around Current Frame' Onion-skinning method).");
|
||||
RNA_def_property_ui_text(prop, "Start Frame", "Starting frame of range of paths to display/calculate (not for 'Around Current Frame' Onion-skinning method)");
|
||||
RNA_def_property_update(prop, NC_SPACE|ND_SPACE_VIEW3D, NULL); /* XXX since this is only for 3d-view drawing */
|
||||
|
||||
prop= RNA_def_property(srna, "end_frame", PROP_INT, PROP_TIME);
|
||||
RNA_def_property_int_sdna(prop, NULL, "path_ef");
|
||||
RNA_def_property_int_funcs(prop, NULL, "rna_AnimViz_path_end_frame_set", NULL);
|
||||
RNA_def_property_ui_text(prop, "End Frame", "End frame of range of paths to display/calculate (not for 'Around Current Frame' Onion-skinning method).");
|
||||
RNA_def_property_ui_text(prop, "End Frame", "End frame of range of paths to display/calculate (not for 'Around Current Frame' Onion-skinning method)");
|
||||
RNA_def_property_update(prop, NC_SPACE|ND_SPACE_VIEW3D, NULL); /* XXX since this is only for 3d-view drawing */
|
||||
|
||||
/* Around Current Ranges */
|
||||
prop= RNA_def_property(srna, "before_current", PROP_INT, PROP_TIME);
|
||||
RNA_def_property_int_sdna(prop, NULL, "path_bc");
|
||||
RNA_def_property_range(prop, 1, MAXFRAMEF/2);
|
||||
RNA_def_property_ui_text(prop, "Before Current", "Number of frames to show before the current frame (only for 'Around Current Frame' Onion-skinning method).");
|
||||
RNA_def_property_ui_text(prop, "Before Current", "Number of frames to show before the current frame (only for 'Around Current Frame' Onion-skinning method)");
|
||||
RNA_def_property_update(prop, NC_SPACE|ND_SPACE_VIEW3D, NULL); /* XXX since this is only for 3d-view drawing */
|
||||
|
||||
prop= RNA_def_property(srna, "after_current", PROP_INT, PROP_TIME);
|
||||
RNA_def_property_int_sdna(prop, NULL, "path_ac");
|
||||
RNA_def_property_range(prop, 1, MAXFRAMEF/2);
|
||||
RNA_def_property_ui_text(prop, "After Current", "Number of frames to show after the current frame (only for 'Around Current Frame' Onion-skinning method).");
|
||||
RNA_def_property_ui_text(prop, "After Current", "Number of frames to show after the current frame (only for 'Around Current Frame' Onion-skinning method)");
|
||||
RNA_def_property_update(prop, NC_SPACE|ND_SPACE_VIEW3D, NULL); /* XXX since this is only for 3d-view drawing */
|
||||
}
|
||||
|
||||
@@ -308,7 +308,7 @@ void rna_def_animviz_common(StructRNA *srna)
|
||||
prop= RNA_def_property(srna, "animation_visualisation", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_flag(prop, PROP_NEVER_NULL);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "avs");
|
||||
RNA_def_property_ui_text(prop, "Animation Visualisation", "Animation data for this datablock.");
|
||||
RNA_def_property_ui_text(prop, "Animation Visualisation", "Animation data for this datablock");
|
||||
}
|
||||
|
||||
static void rna_def_animviz(BlenderRNA *brna)
|
||||
@@ -318,21 +318,21 @@ static void rna_def_animviz(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "AnimViz", NULL);
|
||||
RNA_def_struct_sdna(srna, "bAnimVizSettings");
|
||||
RNA_def_struct_ui_text(srna, "Animation Visualisation", "Settings for the visualisation of motion.");
|
||||
RNA_def_struct_ui_text(srna, "Animation Visualisation", "Settings for the visualisation of motion");
|
||||
|
||||
/* onion-skinning settings (nested struct) */
|
||||
prop= RNA_def_property(srna, "onion_skinning", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_flag(prop, PROP_NEVER_NULL);
|
||||
RNA_def_property_struct_type(prop, "AnimVizOnionSkinning");
|
||||
RNA_def_property_pointer_funcs(prop, "rna_AnimViz_onion_skinning_get", NULL, NULL);
|
||||
RNA_def_property_ui_text(prop, "Onion Skinning", "Onion Skinning (ghosting) settings for visualisation.");
|
||||
RNA_def_property_ui_text(prop, "Onion Skinning", "Onion Skinning (ghosting) settings for visualisation");
|
||||
|
||||
/* motion path settings (nested struct) */
|
||||
prop= RNA_def_property(srna, "motion_paths", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_flag(prop, PROP_NEVER_NULL);
|
||||
RNA_def_property_struct_type(prop, "AnimVizMotionPaths");
|
||||
RNA_def_property_pointer_funcs(prop, "rna_AnimViz_motion_paths_get", NULL, NULL);
|
||||
RNA_def_property_ui_text(prop, "Motion Paths", "Motion Path settings for visualisation.");
|
||||
RNA_def_property_ui_text(prop, "Motion Paths", "Motion Path settings for visualisation");
|
||||
}
|
||||
|
||||
/* --- */
|
||||
|
||||
@@ -406,42 +406,42 @@ static void rna_def_bone_common(StructRNA *srna, int editbone)
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", BONE_CONNECTED);
|
||||
if(editbone) RNA_def_property_boolean_funcs(prop, NULL, "rna_EditBone_connected_set");
|
||||
else RNA_def_property_clear_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_ui_text(prop, "Connected", "When bone has a parent, bone's head is struck to the parent's tail.");
|
||||
RNA_def_property_ui_text(prop, "Connected", "When bone has a parent, bone's head is struck to the parent's tail");
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "hinge", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", BONE_HINGE);
|
||||
RNA_def_property_ui_text(prop, "Inherit Rotation", "Bone inherits rotation or scale from parent bone.");
|
||||
RNA_def_property_ui_text(prop, "Inherit Rotation", "Bone inherits rotation or scale from parent bone");
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "multiply_vertexgroup_with_envelope", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", BONE_MULT_VG_ENV);
|
||||
RNA_def_property_ui_text(prop, "Multiply Vertex Group with Envelope", "When deforming bone, multiply effects of Vertex Group weights with Envelope influence.");
|
||||
RNA_def_property_ui_text(prop, "Multiply Vertex Group with Envelope", "When deforming bone, multiply effects of Vertex Group weights with Envelope influence");
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "deform", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", BONE_NO_DEFORM);
|
||||
RNA_def_property_ui_text(prop, "Deform", "Bone does not deform any geometry.");
|
||||
RNA_def_property_ui_text(prop, "Deform", "Bone does not deform any geometry");
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "inherit_scale", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_ui_text(prop, "Inherit Scale", "Bone inherits scaling from parent bone.");
|
||||
RNA_def_property_ui_text(prop, "Inherit Scale", "Bone inherits scaling from parent bone");
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", BONE_NO_SCALE);
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "local_location", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_ui_text(prop, "Local Location", "Bone location is set in local space.");
|
||||
RNA_def_property_ui_text(prop, "Local Location", "Bone location is set in local space");
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", BONE_NO_LOCAL_LOCATION);
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "draw_wire", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", BONE_DRAWWIRE);
|
||||
RNA_def_property_ui_text(prop, "Draw Wire", "Bone is always drawn as Wireframe regardless of viewport draw mode. Useful for non-obstructive custom bone shapes.");
|
||||
RNA_def_property_ui_text(prop, "Draw Wire", "Bone is always drawn as Wireframe regardless of viewport draw mode. Useful for non-obstructive custom bone shapes");
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_redraw_data");
|
||||
|
||||
prop= RNA_def_property(srna, "cyclic_offset", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", BONE_NO_CYCLICOFFSET);
|
||||
RNA_def_property_ui_text(prop, "Cyclic Offset", "When bone doesn't have a parent, it receives cyclic offset effects.");
|
||||
RNA_def_property_ui_text(prop, "Cyclic Offset", "When bone doesn't have a parent, it receives cyclic offset effects");
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "restrict_select", PROP_BOOLEAN, PROP_NONE);
|
||||
@@ -454,44 +454,44 @@ static void rna_def_bone_common(StructRNA *srna, int editbone)
|
||||
prop= RNA_def_property(srna, "envelope_distance", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "dist");
|
||||
RNA_def_property_range(prop, 0.0f, 1000.0f);
|
||||
RNA_def_property_ui_text(prop, "Envelope Deform Distance", "Bone deformation distance (for Envelope deform only).");
|
||||
RNA_def_property_ui_text(prop, "Envelope Deform Distance", "Bone deformation distance (for Envelope deform only)");
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "envelope_weight", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "weight");
|
||||
RNA_def_property_range(prop, 0.0f, 1000.0f);
|
||||
RNA_def_property_ui_text(prop, "Envelope Deform Weight", "Bone deformation weight (for Envelope deform only).");
|
||||
RNA_def_property_ui_text(prop, "Envelope Deform Weight", "Bone deformation weight (for Envelope deform only)");
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "head_radius", PROP_FLOAT, PROP_NONE);
|
||||
if(editbone) RNA_def_property_update(prop, 0, "rna_Armature_editbone_transform_update");
|
||||
RNA_def_property_float_sdna(prop, NULL, "rad_head");
|
||||
//RNA_def_property_range(prop, 0, 1000); // XXX range is 0 to lim, where lim= 10000.0f*MAX2(1.0, view3d->grid);
|
||||
RNA_def_property_ui_text(prop, "Envelope Head Radius", "Radius of head of bone (for Envelope deform only).");
|
||||
RNA_def_property_ui_text(prop, "Envelope Head Radius", "Radius of head of bone (for Envelope deform only)");
|
||||
|
||||
prop= RNA_def_property(srna, "tail_radius", PROP_FLOAT, PROP_NONE);
|
||||
if(editbone) RNA_def_property_update(prop, 0, "rna_Armature_editbone_transform_update");
|
||||
RNA_def_property_float_sdna(prop, NULL, "rad_tail");
|
||||
//RNA_def_property_range(prop, 0, 1000); // XXX range is 0 to lim, where lim= 10000.0f*MAX2(1.0, view3d->grid);
|
||||
RNA_def_property_ui_text(prop, "Envelope Tail Radius", "Radius of tail of bone (for Envelope deform only).");
|
||||
RNA_def_property_ui_text(prop, "Envelope Tail Radius", "Radius of tail of bone (for Envelope deform only)");
|
||||
|
||||
/* b-bones deform settings */
|
||||
prop= RNA_def_property(srna, "bbone_segments", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "segments");
|
||||
RNA_def_property_range(prop, 1, 32);
|
||||
RNA_def_property_ui_text(prop, "B-Bone Segments", "Number of subdivisions of bone (for B-Bones only).");
|
||||
RNA_def_property_ui_text(prop, "B-Bone Segments", "Number of subdivisions of bone (for B-Bones only)");
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "bbone_in", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "ease1");
|
||||
RNA_def_property_range(prop, 0.0f, 2.0f);
|
||||
RNA_def_property_ui_text(prop, "B-Bone Ease In", "Length of first Bezier Handle (for B-Bones only).");
|
||||
RNA_def_property_ui_text(prop, "B-Bone Ease In", "Length of first Bezier Handle (for B-Bones only)");
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "bbone_out", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "ease2");
|
||||
RNA_def_property_range(prop, 0.0f, 2.0f);
|
||||
RNA_def_property_ui_text(prop, "B-Bone Ease Out", "Length of second Bezier Handle (for B-Bones only).");
|
||||
RNA_def_property_ui_text(prop, "B-Bone Ease Out", "Length of second Bezier Handle (for B-Bones only)");
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_update_data");
|
||||
}
|
||||
|
||||
@@ -502,7 +502,7 @@ static void rna_def_bone(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
srna= RNA_def_struct(brna, "Bone", NULL);
|
||||
RNA_def_struct_ui_text(srna, "Bone", "Bone in an Armature datablock.");
|
||||
RNA_def_struct_ui_text(srna, "Bone", "Bone in an Armature datablock");
|
||||
RNA_def_struct_ui_icon(srna, ICON_BONE_DATA);
|
||||
RNA_def_struct_path_func(srna, "rna_Bone_path");
|
||||
RNA_def_struct_idproperties_func(srna, "rna_Bone_idproperties");
|
||||
@@ -512,7 +512,7 @@ static void rna_def_bone(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "parent", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_struct_type(prop, "Bone");
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "parent");
|
||||
RNA_def_property_ui_text(prop, "Parent", "Parent bone (in same Armature).");
|
||||
RNA_def_property_ui_text(prop, "Parent", "Parent bone (in same Armature)");
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_redraw_data");
|
||||
|
||||
/* children (collection) */
|
||||
@@ -526,7 +526,7 @@ static void rna_def_bone(BlenderRNA *brna)
|
||||
// XXX should we define this in PoseChannel wrapping code instead? but PoseChannels directly get some of their flags from here...
|
||||
prop= RNA_def_property(srna, "hidden", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", BONE_HIDDEN_P);
|
||||
RNA_def_property_ui_text(prop, "Hidden", "Bone is not visible when it is not in Edit Mode (i.e. in Object or Pose Modes).");
|
||||
RNA_def_property_ui_text(prop, "Hidden", "Bone is not visible when it is not in Edit Mode (i.e. in Object or Pose Modes)");
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_redraw_data");
|
||||
|
||||
prop= RNA_def_property(srna, "selected", PROP_BOOLEAN, PROP_NONE);
|
||||
@@ -538,32 +538,32 @@ static void rna_def_bone(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "matrix", PROP_FLOAT, PROP_MATRIX);
|
||||
RNA_def_property_float_sdna(prop, NULL, "bone_mat");
|
||||
RNA_def_property_array(prop, 9);
|
||||
RNA_def_property_ui_text(prop, "Bone Matrix", "3x3 bone matrix.");
|
||||
RNA_def_property_ui_text(prop, "Bone Matrix", "3x3 bone matrix");
|
||||
|
||||
prop= RNA_def_property(srna, "matrix_local", PROP_FLOAT, PROP_MATRIX);
|
||||
RNA_def_property_float_sdna(prop, NULL, "arm_mat");
|
||||
RNA_def_property_array(prop, 16);
|
||||
RNA_def_property_ui_text(prop, "Bone Armature-Relative Matrix", "4x4 bone matrix relative to armature.");
|
||||
RNA_def_property_ui_text(prop, "Bone Armature-Relative Matrix", "4x4 bone matrix relative to armature");
|
||||
|
||||
prop= RNA_def_property(srna, "tail", PROP_FLOAT, PROP_TRANSLATION);
|
||||
RNA_def_property_float_sdna(prop, NULL, "tail");
|
||||
RNA_def_property_array(prop, 3);
|
||||
RNA_def_property_ui_text(prop, "Tail", "Location of tail end of the bone.");
|
||||
RNA_def_property_ui_text(prop, "Tail", "Location of tail end of the bone");
|
||||
|
||||
prop= RNA_def_property(srna, "tail_local", PROP_FLOAT, PROP_TRANSLATION);
|
||||
RNA_def_property_float_sdna(prop, NULL, "arm_tail");
|
||||
RNA_def_property_array(prop, 3);
|
||||
RNA_def_property_ui_text(prop, "Armature-Relative Tail", "Location of tail end of the bone relative to armature.");
|
||||
RNA_def_property_ui_text(prop, "Armature-Relative Tail", "Location of tail end of the bone relative to armature");
|
||||
|
||||
prop= RNA_def_property(srna, "head", PROP_FLOAT, PROP_TRANSLATION);
|
||||
RNA_def_property_float_sdna(prop, NULL, "head");
|
||||
RNA_def_property_array(prop, 3);
|
||||
RNA_def_property_ui_text(prop, "Head", "Location of head end of the bone relative to its parent.");
|
||||
RNA_def_property_ui_text(prop, "Head", "Location of head end of the bone relative to its parent");
|
||||
|
||||
prop= RNA_def_property(srna, "head_local", PROP_FLOAT, PROP_TRANSLATION);
|
||||
RNA_def_property_float_sdna(prop, NULL, "arm_head");
|
||||
RNA_def_property_array(prop, 3);
|
||||
RNA_def_property_ui_text(prop, "Armature-Relative Head", "Location of head end of the bone relative to armature.");
|
||||
RNA_def_property_ui_text(prop, "Armature-Relative Head", "Location of head end of the bone relative to armature");
|
||||
}
|
||||
|
||||
static void rna_def_edit_bone(BlenderRNA *brna)
|
||||
@@ -574,7 +574,7 @@ static void rna_def_edit_bone(BlenderRNA *brna)
|
||||
srna= RNA_def_struct(brna, "EditBone", NULL);
|
||||
RNA_def_struct_sdna(srna, "EditBone");
|
||||
RNA_def_struct_idproperties_func(srna, "rna_EditBone_idproperties");
|
||||
RNA_def_struct_ui_text(srna, "Edit Bone", "Editmode bone in an Armature datablock.");
|
||||
RNA_def_struct_ui_text(srna, "Edit Bone", "Editmode bone in an Armature datablock");
|
||||
RNA_def_struct_ui_icon(srna, ICON_BONE_DATA);
|
||||
|
||||
RNA_define_verify_sdna(0); // not in sdna
|
||||
@@ -583,24 +583,24 @@ static void rna_def_edit_bone(BlenderRNA *brna)
|
||||
RNA_def_property_struct_type(prop, "EditBone");
|
||||
RNA_def_property_pointer_funcs(prop, "rna_EditBone_parent_get", "rna_EditBone_parent_set", NULL);
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_ui_text(prop, "Parent", "Parent edit bone (in same Armature).");
|
||||
RNA_def_property_ui_text(prop, "Parent", "Parent edit bone (in same Armature)");
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_redraw_data");
|
||||
|
||||
prop= RNA_def_property(srna, "roll", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "roll");
|
||||
RNA_def_property_ui_text(prop, "Roll", "Bone rotation around head-tail axis.");
|
||||
RNA_def_property_ui_text(prop, "Roll", "Bone rotation around head-tail axis");
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_editbone_transform_update");
|
||||
|
||||
prop= RNA_def_property(srna, "head", PROP_FLOAT, PROP_TRANSLATION);
|
||||
RNA_def_property_float_sdna(prop, NULL, "head");
|
||||
RNA_def_property_array(prop, 3);
|
||||
RNA_def_property_ui_text(prop, "Head", "Location of head end of the bone.");
|
||||
RNA_def_property_ui_text(prop, "Head", "Location of head end of the bone");
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_editbone_transform_update");
|
||||
|
||||
prop= RNA_def_property(srna, "tail", PROP_FLOAT, PROP_TRANSLATION);
|
||||
RNA_def_property_float_sdna(prop, NULL, "tail");
|
||||
RNA_def_property_array(prop, 3);
|
||||
RNA_def_property_ui_text(prop, "Tail", "Location of tail end of the bone.");
|
||||
RNA_def_property_ui_text(prop, "Tail", "Location of tail end of the bone");
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_editbone_transform_update");
|
||||
|
||||
rna_def_bone_common(srna, 1);
|
||||
@@ -612,7 +612,7 @@ static void rna_def_edit_bone(BlenderRNA *brna)
|
||||
|
||||
prop= RNA_def_property(srna, "locked", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", BONE_EDITMODE_LOCKED);
|
||||
RNA_def_property_ui_text(prop, "Locked", "Bone is not able to be transformed when in Edit Mode.");
|
||||
RNA_def_property_ui_text(prop, "Locked", "Bone is not able to be transformed when in Edit Mode");
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_redraw_data");
|
||||
|
||||
prop= RNA_def_property(srna, "selected", PROP_BOOLEAN, PROP_NONE);
|
||||
@@ -636,7 +636,7 @@ static void rna_def_edit_bone(BlenderRNA *brna)
|
||||
RNA_def_property_array(prop, 16);
|
||||
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_flag(prop, PROP_THICK_WRAP); /* no reference to original data */
|
||||
RNA_def_property_ui_text(prop, "Editbone Matrix", "Read-only matrix calculated from the roll (armature space).");
|
||||
RNA_def_property_ui_text(prop, "Editbone Matrix", "Read-only matrix calculated from the roll (armature space)");
|
||||
RNA_def_property_float_funcs(prop, "rna_EditBone_matrix_get", NULL, NULL); // TODO - this could be made writable also
|
||||
|
||||
RNA_api_armature_edit_bone(srna);
|
||||
@@ -657,14 +657,14 @@ static void rna_def_armature_bones(BlenderRNA *brna, PropertyRNA *cprop)
|
||||
RNA_def_property_srna(cprop, "ArmatureBones");
|
||||
srna= RNA_def_struct(brna, "ArmatureBones", NULL);
|
||||
RNA_def_struct_sdna(srna, "bArmature");
|
||||
RNA_def_struct_ui_text(srna, "Armature Bones", "Collection of armature bones.");
|
||||
RNA_def_struct_ui_text(srna, "Armature Bones", "Collection of armature bones");
|
||||
|
||||
|
||||
prop= RNA_def_property(srna, "active", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_struct_type(prop, "Bone");
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "act_bone");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_ui_text(prop, "Active Bone", "Armatures active bone.");
|
||||
RNA_def_property_ui_text(prop, "Active Bone", "Armatures active bone");
|
||||
RNA_def_property_pointer_funcs(prop, NULL, "rna_Armature_act_bone_set", NULL);
|
||||
|
||||
/* todo, redraw */
|
||||
@@ -683,13 +683,13 @@ static void rna_def_armature_edit_bones(BlenderRNA *brna, PropertyRNA *cprop)
|
||||
RNA_def_property_srna(cprop, "ArmatureEditBones");
|
||||
srna= RNA_def_struct(brna, "ArmatureEditBones", NULL);
|
||||
RNA_def_struct_sdna(srna, "bArmature");
|
||||
RNA_def_struct_ui_text(srna, "Armature EditBones", "Collection of armature edit bones.");
|
||||
RNA_def_struct_ui_text(srna, "Armature EditBones", "Collection of armature edit bones");
|
||||
|
||||
prop= RNA_def_property(srna, "active", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_struct_type(prop, "EditBone");
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "act_edbone");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_ui_text(prop, "Active EditBone", "Armatures active edit bone.");
|
||||
RNA_def_property_ui_text(prop, "Active EditBone", "Armatures active edit bone");
|
||||
//RNA_def_property_update(prop, 0, "rna_Armature_act_editbone_update");
|
||||
RNA_def_property_pointer_funcs(prop, NULL, "rna_Armature_act_edit_bone_set", NULL);
|
||||
|
||||
@@ -738,7 +738,7 @@ static void rna_def_armature(BlenderRNA *brna)
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "Armature", "ID");
|
||||
RNA_def_struct_ui_text(srna, "Armature", "Armature datablock containing a hierarchy of bones, usually used for rigging characters.");
|
||||
RNA_def_struct_ui_text(srna, "Armature", "Armature datablock containing a hierarchy of bones, usually used for rigging characters");
|
||||
RNA_def_struct_ui_icon(srna, ICON_ARMATURE_DATA);
|
||||
RNA_def_struct_sdna(srna, "bArmature");
|
||||
|
||||
@@ -763,7 +763,7 @@ static void rna_def_armature(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "pose_position", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_bitflag_sdna(prop, NULL, "flag");
|
||||
RNA_def_property_enum_items(prop, prop_pose_position_items);
|
||||
RNA_def_property_ui_text(prop, "Pose Position", "Show armature in binding pose or final posed state.");
|
||||
RNA_def_property_ui_text(prop, "Pose Position", "Show armature in binding pose or final posed state");
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "drawtype", PROP_ENUM, PROP_NONE);
|
||||
@@ -786,7 +786,7 @@ static void rna_def_armature(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "layer", PROP_BOOLEAN, PROP_LAYER_MEMBER);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "layer", 1);
|
||||
RNA_def_property_array(prop, 32);
|
||||
RNA_def_property_ui_text(prop, "Visible Layers", "Armature layer visibility.");
|
||||
RNA_def_property_ui_text(prop, "Visible Layers", "Armature layer visibility");
|
||||
RNA_def_property_boolean_funcs(prop, NULL, "rna_Armature_layer_set");
|
||||
RNA_def_property_update(prop, NC_OBJECT|ND_POSE, "rna_Armature_redraw_data");
|
||||
RNA_def_property_flag(prop, PROP_LIB_EXCEPTION);
|
||||
@@ -795,19 +795,19 @@ static void rna_def_armature(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "layer_protection", PROP_BOOLEAN, PROP_LAYER);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "layer_protected", 1);
|
||||
RNA_def_property_array(prop, 32);
|
||||
RNA_def_property_ui_text(prop, "Layer Proxy Protection", "Protected layers in Proxy Instances are restored to Proxy settings on file reload and undo.");
|
||||
RNA_def_property_ui_text(prop, "Layer Proxy Protection", "Protected layers in Proxy Instances are restored to Proxy settings on file reload and undo");
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_redraw_data");
|
||||
|
||||
/* flag */
|
||||
prop= RNA_def_property(srna, "draw_axes", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", ARM_DRAWAXES);
|
||||
RNA_def_property_ui_text(prop, "Draw Axes", "Draw bone axes.");
|
||||
RNA_def_property_ui_text(prop, "Draw Axes", "Draw bone axes");
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_redraw_data");
|
||||
RNA_def_property_flag(prop, PROP_LIB_EXCEPTION);
|
||||
|
||||
prop= RNA_def_property(srna, "draw_names", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", ARM_DRAWNAMES);
|
||||
RNA_def_property_ui_text(prop, "Draw Names", "Draw bone names.");
|
||||
RNA_def_property_ui_text(prop, "Draw Names", "Draw bone names");
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_redraw_data");
|
||||
RNA_def_property_flag(prop, PROP_LIB_EXCEPTION);
|
||||
|
||||
@@ -818,24 +818,24 @@ static void rna_def_armature(BlenderRNA *brna)
|
||||
|
||||
prop= RNA_def_property(srna, "x_axis_mirror", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", ARM_MIRROR_EDIT);
|
||||
RNA_def_property_ui_text(prop, "X-Axis Mirror", "Apply changes to matching bone on opposite side of X-Axis.");
|
||||
RNA_def_property_ui_text(prop, "X-Axis Mirror", "Apply changes to matching bone on opposite side of X-Axis");
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_redraw_data");
|
||||
RNA_def_property_flag(prop, PROP_LIB_EXCEPTION);
|
||||
|
||||
prop= RNA_def_property(srna, "auto_ik", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", ARM_AUTO_IK);
|
||||
RNA_def_property_ui_text(prop, "Auto IK", "Add temporaral IK constraints while grabbing bones in Pose Mode.");
|
||||
RNA_def_property_ui_text(prop, "Auto IK", "Add temporaral IK constraints while grabbing bones in Pose Mode");
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_redraw_data");
|
||||
RNA_def_property_flag(prop, PROP_LIB_EXCEPTION);
|
||||
|
||||
prop= RNA_def_property(srna, "draw_custom_bone_shapes", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", ARM_NO_CUSTOM);
|
||||
RNA_def_property_ui_text(prop, "Draw Custom Bone Shapes", "Draw bones with their custom shapes.");
|
||||
RNA_def_property_ui_text(prop, "Draw Custom Bone Shapes", "Draw bones with their custom shapes");
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_redraw_data");
|
||||
|
||||
prop= RNA_def_property(srna, "draw_group_colors", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", ARM_COL_CUSTOM);
|
||||
RNA_def_property_ui_text(prop, "Draw Bone Group Colors", "Draw bone group colors.");
|
||||
RNA_def_property_ui_text(prop, "Draw Bone Group Colors", "Draw bone group colors");
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_redraw_data");
|
||||
|
||||
// XXX depreceated ....... old animviz for armatures only
|
||||
@@ -878,28 +878,28 @@ static void rna_def_armature(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "ghost_step", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "ghostep");
|
||||
RNA_def_property_range(prop, 0, 30);
|
||||
RNA_def_property_ui_text(prop, "Ghosting Step", "Number of frame steps on either side of current frame to show as ghosts (only for 'Around Current Frame' Onion-skining method).");
|
||||
RNA_def_property_ui_text(prop, "Ghosting Step", "Number of frame steps on either side of current frame to show as ghosts (only for 'Around Current Frame' Onion-skining method)");
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_redraw_data");
|
||||
RNA_def_property_flag(prop, PROP_LIB_EXCEPTION);
|
||||
|
||||
prop= RNA_def_property(srna, "ghost_size", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "ghostsize");
|
||||
RNA_def_property_range(prop, 1, 20);
|
||||
RNA_def_property_ui_text(prop, "Ghosting Frame Step", "Frame step for Ghosts (not for 'On Keyframes' Onion-skining method).");
|
||||
RNA_def_property_ui_text(prop, "Ghosting Frame Step", "Frame step for Ghosts (not for 'On Keyframes' Onion-skining method)");
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_redraw_data");
|
||||
RNA_def_property_flag(prop, PROP_LIB_EXCEPTION);
|
||||
|
||||
prop= RNA_def_property(srna, "ghost_start_frame", PROP_INT, PROP_TIME);
|
||||
RNA_def_property_int_sdna(prop, NULL, "ghostsf");
|
||||
RNA_def_property_int_funcs(prop, NULL, "rna_Armature_ghost_start_frame_set", NULL);
|
||||
RNA_def_property_ui_text(prop, "Ghosting Start Frame", "Starting frame of range of Ghosts to display (not for 'Around Current Frame' Onion-skinning method).");
|
||||
RNA_def_property_ui_text(prop, "Ghosting Start Frame", "Starting frame of range of Ghosts to display (not for 'Around Current Frame' Onion-skinning method)");
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_redraw_data");
|
||||
RNA_def_property_flag(prop, PROP_LIB_EXCEPTION);
|
||||
|
||||
prop= RNA_def_property(srna, "ghost_end_frame", PROP_INT, PROP_TIME);
|
||||
RNA_def_property_int_sdna(prop, NULL, "ghostef");
|
||||
RNA_def_property_int_funcs(prop, NULL, "rna_Armature_ghost_end_frame_set", NULL);
|
||||
RNA_def_property_ui_text(prop, "Ghosting End Frame", "End frame of range of Ghosts to display (not for 'Around Current Frame' Onion-skinning method).");
|
||||
RNA_def_property_ui_text(prop, "Ghosting End Frame", "End frame of range of Ghosts to display (not for 'Around Current Frame' Onion-skinning method)");
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_redraw_data");
|
||||
RNA_def_property_flag(prop, PROP_LIB_EXCEPTION);
|
||||
// XXX depreceated ....... old animviz for armatures only
|
||||
|
||||
@@ -236,12 +236,12 @@ static void rna_def_boidrule_goal(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "object", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "ob");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_ui_text(prop, "Object", "Goal object.");
|
||||
RNA_def_property_ui_text(prop, "Object", "Goal object");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset_deps");
|
||||
|
||||
prop= RNA_def_property(srna, "predict", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "options", BRULE_GOAL_AVOID_PREDICT);
|
||||
RNA_def_property_ui_text(prop, "Predict", "Predict target movement.");
|
||||
RNA_def_property_ui_text(prop, "Predict", "Predict target movement");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
}
|
||||
|
||||
@@ -257,17 +257,17 @@ static void rna_def_boidrule_avoid(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "object", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "ob");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_ui_text(prop, "Object", "Object to avoid.");
|
||||
RNA_def_property_ui_text(prop, "Object", "Object to avoid");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset_deps");
|
||||
|
||||
prop= RNA_def_property(srna, "predict", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "options", BRULE_GOAL_AVOID_PREDICT);
|
||||
RNA_def_property_ui_text(prop, "Predict", "Predict target movement.");
|
||||
RNA_def_property_ui_text(prop, "Predict", "Predict target movement");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
|
||||
prop= RNA_def_property(srna, "fear_factor", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0f, 100.0f);
|
||||
RNA_def_property_ui_text(prop, "Fear factor", "Avoid object if danger from it is above this threshol.");
|
||||
RNA_def_property_ui_text(prop, "Fear factor", "Avoid object if danger from it is above this threshol");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
}
|
||||
|
||||
@@ -281,17 +281,17 @@ static void rna_def_boidrule_avoid_collision(BlenderRNA *brna)
|
||||
|
||||
prop= RNA_def_property(srna, "boids", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "options", BRULE_ACOLL_WITH_BOIDS);
|
||||
RNA_def_property_ui_text(prop, "Boids", "Avoid collision with other boids.");
|
||||
RNA_def_property_ui_text(prop, "Boids", "Avoid collision with other boids");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
|
||||
prop= RNA_def_property(srna, "deflectors", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "options", BRULE_ACOLL_WITH_DEFLECTORS);
|
||||
RNA_def_property_ui_text(prop, "Deflectors", "Avoid collision with deflector objects.");
|
||||
RNA_def_property_ui_text(prop, "Deflectors", "Avoid collision with deflector objects");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
|
||||
prop= RNA_def_property(srna, "look_ahead", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0f, 100.0f);
|
||||
RNA_def_property_ui_text(prop, "Look ahead", "Time to look ahead in seconds.");
|
||||
RNA_def_property_ui_text(prop, "Look ahead", "Time to look ahead in seconds");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
}
|
||||
|
||||
@@ -306,22 +306,22 @@ static void rna_def_boidrule_follow_leader(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "object", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "ob");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_ui_text(prop, "Object", "Follow this object instead of a boid.");
|
||||
RNA_def_property_ui_text(prop, "Object", "Follow this object instead of a boid");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset_deps");
|
||||
|
||||
prop= RNA_def_property(srna, "distance", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0f, 100.0f);
|
||||
RNA_def_property_ui_text(prop, "Distance", "Distance behind leader to follow.");
|
||||
RNA_def_property_ui_text(prop, "Distance", "Distance behind leader to follow");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
|
||||
prop= RNA_def_property(srna, "queue_size", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0f, 100.0f);
|
||||
RNA_def_property_ui_text(prop, "Queue Size", "How many boids in a line.");
|
||||
RNA_def_property_ui_text(prop, "Queue Size", "How many boids in a line");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
|
||||
prop= RNA_def_property(srna, "line", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "options", BRULE_LEADER_IN_LINE);
|
||||
RNA_def_property_ui_text(prop, "Line", "Follow leader in a line.");
|
||||
RNA_def_property_ui_text(prop, "Line", "Follow leader in a line");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
}
|
||||
|
||||
@@ -335,17 +335,17 @@ static void rna_def_boidrule_average_speed(BlenderRNA *brna)
|
||||
|
||||
prop= RNA_def_property(srna, "wander", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0f, 1.0f);
|
||||
RNA_def_property_ui_text(prop, "Wander", "How fast velocity's direction is randomized.");
|
||||
RNA_def_property_ui_text(prop, "Wander", "How fast velocity's direction is randomized");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
|
||||
prop= RNA_def_property(srna, "level", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0f, 1.0f);
|
||||
RNA_def_property_ui_text(prop, "Level", "How much velocity's z-component is kept constant.");
|
||||
RNA_def_property_ui_text(prop, "Level", "How much velocity's z-component is kept constant");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
|
||||
prop= RNA_def_property(srna, "speed", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0f, 1.0f);
|
||||
RNA_def_property_ui_text(prop, "Speed", "Percentage of maximum speed.");
|
||||
RNA_def_property_ui_text(prop, "Speed", "Percentage of maximum speed");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
}
|
||||
|
||||
@@ -359,12 +359,12 @@ static void rna_def_boidrule_fight(BlenderRNA *brna)
|
||||
|
||||
prop= RNA_def_property(srna, "distance", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0f, 100.0f);
|
||||
RNA_def_property_ui_text(prop, "Fight Distance", "Attack boids at max this distance.");
|
||||
RNA_def_property_ui_text(prop, "Fight Distance", "Attack boids at max this distance");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
|
||||
prop= RNA_def_property(srna, "flee_distance", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0f, 100.0f);
|
||||
RNA_def_property_ui_text(prop, "Flee Distance", "Flee to this distance.");
|
||||
RNA_def_property_ui_text(prop, "Flee Distance", "Flee to this distance");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
}
|
||||
|
||||
@@ -381,7 +381,7 @@ static void rna_def_boidrule(BlenderRNA *brna)
|
||||
|
||||
/* strings */
|
||||
prop= RNA_def_property(srna, "name", PROP_STRING, PROP_NONE);
|
||||
RNA_def_property_ui_text(prop, "Name", "Boid rule name.");
|
||||
RNA_def_property_ui_text(prop, "Name", "Boid rule name");
|
||||
RNA_def_struct_name_property(srna, prop);
|
||||
|
||||
/* enums */
|
||||
@@ -394,17 +394,17 @@ static void rna_def_boidrule(BlenderRNA *brna)
|
||||
/* flags */
|
||||
prop= RNA_def_property(srna, "in_air", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", BOIDRULE_IN_AIR);
|
||||
RNA_def_property_ui_text(prop, "In Air", "Use rule when boid is flying.");
|
||||
RNA_def_property_ui_text(prop, "In Air", "Use rule when boid is flying");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
|
||||
prop= RNA_def_property(srna, "on_land", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", BOIDRULE_ON_LAND);
|
||||
RNA_def_property_ui_text(prop, "On Land", "Use rule when boid is on land.");
|
||||
RNA_def_property_ui_text(prop, "On Land", "Use rule when boid is on land");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
|
||||
//prop= RNA_def_property(srna, "expanded", PROP_BOOLEAN, PROP_NONE);
|
||||
//RNA_def_property_boolean_sdna(prop, NULL, "mode", eModifierMode_Expanded);
|
||||
//RNA_def_property_ui_text(prop, "Expanded", "Set modifier expanded in the user interface.");
|
||||
//RNA_def_property_ui_text(prop, "Expanded", "Set modifier expanded in the user interface");
|
||||
|
||||
/* types */
|
||||
rna_def_boidrule_goal(brna);
|
||||
@@ -421,15 +421,15 @@ static void rna_def_boidstate(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
srna = RNA_def_struct(brna, "BoidState", NULL);
|
||||
RNA_def_struct_ui_text(srna, "Boid State", "Boid state for boid physics.");
|
||||
RNA_def_struct_ui_text(srna, "Boid State", "Boid state for boid physics");
|
||||
|
||||
prop= RNA_def_property(srna, "name", PROP_STRING, PROP_NONE);
|
||||
RNA_def_property_ui_text(prop, "Name", "Boid state name.");
|
||||
RNA_def_property_ui_text(prop, "Name", "Boid state name");
|
||||
RNA_def_struct_name_property(srna, prop);
|
||||
|
||||
prop= RNA_def_property(srna, "ruleset_type", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_items(prop, boidruleset_type_items);
|
||||
RNA_def_property_ui_text(prop, "Rule Evaluation", "How the rules in the list are evaluated.");
|
||||
RNA_def_property_ui_text(prop, "Rule Evaluation", "How the rules in the list are evaluated");
|
||||
|
||||
prop= RNA_def_property(srna, "rules", PROP_COLLECTION, PROP_NONE);
|
||||
RNA_def_property_struct_type(prop, "BoidRule");
|
||||
@@ -465,21 +465,21 @@ static void rna_def_boid_settings(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
srna = RNA_def_struct(brna, "BoidSettings", NULL);
|
||||
RNA_def_struct_ui_text(srna, "Boid Settings", "Settings for boid physics.");
|
||||
RNA_def_struct_ui_text(srna, "Boid Settings", "Settings for boid physics");
|
||||
|
||||
prop= RNA_def_property(srna, "landing_smoothness", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0, 10.0);
|
||||
RNA_def_property_ui_text(prop, "Landing Smoothness", "How smoothly the boids land.");
|
||||
RNA_def_property_ui_text(prop, "Landing Smoothness", "How smoothly the boids land");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
|
||||
prop= RNA_def_property(srna, "banking", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0, 2.0);
|
||||
RNA_def_property_ui_text(prop, "Banking", "Amount of rotation around velocity vector on turns.");
|
||||
RNA_def_property_ui_text(prop, "Banking", "Amount of rotation around velocity vector on turns");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
|
||||
prop= RNA_def_property(srna, "height", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0, 2.0);
|
||||
RNA_def_property_ui_text(prop, "Height", "Boid height relative to particle size.");
|
||||
RNA_def_property_ui_text(prop, "Height", "Boid height relative to particle size");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
|
||||
/* states */
|
||||
@@ -499,99 +499,99 @@ static void rna_def_boid_settings(BlenderRNA *brna)
|
||||
/* character properties */
|
||||
prop= RNA_def_property(srna, "health", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0, 100.0);
|
||||
RNA_def_property_ui_text(prop, "Health", "Initial boid health when born.");
|
||||
RNA_def_property_ui_text(prop, "Health", "Initial boid health when born");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
|
||||
prop= RNA_def_property(srna, "strength", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0, 100.0);
|
||||
RNA_def_property_ui_text(prop, "Strength", "Maximum caused damage on attack per second.");
|
||||
RNA_def_property_ui_text(prop, "Strength", "Maximum caused damage on attack per second");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
|
||||
prop= RNA_def_property(srna, "aggression", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0, 100.0);
|
||||
RNA_def_property_ui_text(prop, "Aggression", "Boid will fight this times stronger enemy.");
|
||||
RNA_def_property_ui_text(prop, "Aggression", "Boid will fight this times stronger enemy");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
|
||||
prop= RNA_def_property(srna, "accuracy", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0, 1.0);
|
||||
RNA_def_property_ui_text(prop, "Accuracy", "Accuracy of attack.");
|
||||
RNA_def_property_ui_text(prop, "Accuracy", "Accuracy of attack");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
|
||||
prop= RNA_def_property(srna, "range", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0, 100.0);
|
||||
RNA_def_property_ui_text(prop, "Range", "The maximum distance from which a boid can attack.");
|
||||
RNA_def_property_ui_text(prop, "Range", "The maximum distance from which a boid can attack");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
|
||||
/* physical properties */
|
||||
prop= RNA_def_property(srna, "air_min_speed", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0, 1.0);
|
||||
RNA_def_property_ui_text(prop, "Min Air Speed", "Minimum speed in air (relative to maximum speed).");
|
||||
RNA_def_property_ui_text(prop, "Min Air Speed", "Minimum speed in air (relative to maximum speed)");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
|
||||
prop= RNA_def_property(srna, "air_max_speed", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0, 100.0);
|
||||
RNA_def_property_ui_text(prop, "Max Air Speed", "Maximum speed in air.");
|
||||
RNA_def_property_ui_text(prop, "Max Air Speed", "Maximum speed in air");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
|
||||
prop= RNA_def_property(srna, "air_max_acc", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0, 1.0);
|
||||
RNA_def_property_ui_text(prop, "Max Air Acceleration", "Maximum acceleration in air (relative to maximum speed).");
|
||||
RNA_def_property_ui_text(prop, "Max Air Acceleration", "Maximum acceleration in air (relative to maximum speed)");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
|
||||
prop= RNA_def_property(srna, "air_max_ave", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0, 1.0);
|
||||
RNA_def_property_ui_text(prop, "Max Air Angular Velocity", "Maximum angular velocity in air (relative to 180 degrees).");
|
||||
RNA_def_property_ui_text(prop, "Max Air Angular Velocity", "Maximum angular velocity in air (relative to 180 degrees)");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
|
||||
prop= RNA_def_property(srna, "air_personal_space", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0, 10.0);
|
||||
RNA_def_property_ui_text(prop, "Air Personal Space", "Radius of boids personal space in air (% of particle size).");
|
||||
RNA_def_property_ui_text(prop, "Air Personal Space", "Radius of boids personal space in air (% of particle size)");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
|
||||
prop= RNA_def_property(srna, "land_jump_speed", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0, 100.0);
|
||||
RNA_def_property_ui_text(prop, "Jump Speed", "Maximum speed for jumping.");
|
||||
RNA_def_property_ui_text(prop, "Jump Speed", "Maximum speed for jumping");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
|
||||
prop= RNA_def_property(srna, "land_max_speed", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0, 100.0);
|
||||
RNA_def_property_ui_text(prop, "Max Land Speed", "Maximum speed on land.");
|
||||
RNA_def_property_ui_text(prop, "Max Land Speed", "Maximum speed on land");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
|
||||
prop= RNA_def_property(srna, "land_max_acc", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0, 1.0);
|
||||
RNA_def_property_ui_text(prop, "Max Land Acceleration", "Maximum acceleration on land (relative to maximum speed).");
|
||||
RNA_def_property_ui_text(prop, "Max Land Acceleration", "Maximum acceleration on land (relative to maximum speed)");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
|
||||
prop= RNA_def_property(srna, "land_max_ave", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0, 1.0);
|
||||
RNA_def_property_ui_text(prop, "Max Land Angular Velocity", "Maximum angular velocity on land (relative to 180 degrees).");
|
||||
RNA_def_property_ui_text(prop, "Max Land Angular Velocity", "Maximum angular velocity on land (relative to 180 degrees)");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
|
||||
prop= RNA_def_property(srna, "land_personal_space", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0, 10.0);
|
||||
RNA_def_property_ui_text(prop, "Land Personal Space", "Radius of boids personal space on land (% of particle size).");
|
||||
RNA_def_property_ui_text(prop, "Land Personal Space", "Radius of boids personal space on land (% of particle size)");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
|
||||
prop= RNA_def_property(srna, "land_stick_force", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0, 1000.0);
|
||||
RNA_def_property_ui_text(prop, "Land Stick Force", "How strong a force must be to start effecting a boid on land.");
|
||||
RNA_def_property_ui_text(prop, "Land Stick Force", "How strong a force must be to start effecting a boid on land");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
|
||||
/* options */
|
||||
prop= RNA_def_property(srna, "allow_flight", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "options", BOID_ALLOW_FLIGHT);
|
||||
RNA_def_property_ui_text(prop, "Allow Flight", "Allow boids to move in air.");
|
||||
RNA_def_property_ui_text(prop, "Allow Flight", "Allow boids to move in air");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
|
||||
prop= RNA_def_property(srna, "allow_land", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "options", BOID_ALLOW_LAND);
|
||||
RNA_def_property_ui_text(prop, "Allow Land", "Allow boids to move on land.");
|
||||
RNA_def_property_ui_text(prop, "Allow Land", "Allow boids to move on land");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
|
||||
prop= RNA_def_property(srna, "allow_climb", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "options", BOID_ALLOW_CLIMB);
|
||||
RNA_def_property_ui_text(prop, "Allow Climbing", "Allow boids to climb goal objects.");
|
||||
RNA_def_property_ui_text(prop, "Allow Climbing", "Allow boids to climb goal objects");
|
||||
RNA_def_property_update(prop, 0, "rna_Boids_reset");
|
||||
}
|
||||
|
||||
|
||||
@@ -67,12 +67,12 @@ static void rna_def_brush_texture_slot(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "BrushTextureSlot", "TextureSlot");
|
||||
RNA_def_struct_sdna(srna, "MTex");
|
||||
RNA_def_struct_ui_text(srna, "Brush Texture Slot", "Texture slot for textures in a Brush datablock.");
|
||||
RNA_def_struct_ui_text(srna, "Brush Texture Slot", "Texture slot for textures in a Brush datablock");
|
||||
|
||||
prop= RNA_def_property(srna, "angle", PROP_FLOAT, PROP_ANGLE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "rot");
|
||||
RNA_def_property_range(prop, 0, M_PI*2);
|
||||
RNA_def_property_ui_text(prop, "Angle", "Defines brush texture rotation.");
|
||||
RNA_def_property_ui_text(prop, "Angle", "Defines brush texture rotation");
|
||||
RNA_def_property_update(prop, 0, "rna_TextureSlot_update");
|
||||
|
||||
prop= RNA_def_property(srna, "map_mode", PROP_ENUM, PROP_NONE);
|
||||
@@ -132,13 +132,13 @@ static void rna_def_brush(BlenderRNA *brna)
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "Brush", "ID");
|
||||
RNA_def_struct_ui_text(srna, "Brush", "Brush datablock for storing brush settings for painting and sculpting.");
|
||||
RNA_def_struct_ui_text(srna, "Brush", "Brush datablock for storing brush settings for painting and sculpting");
|
||||
RNA_def_struct_ui_icon(srna, ICON_BRUSH_DATA);
|
||||
|
||||
/* enums */
|
||||
prop= RNA_def_property(srna, "blend", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_items(prop, prop_blend_items);
|
||||
RNA_def_property_ui_text(prop, "Blending mode", "Brush blending mode.");
|
||||
RNA_def_property_ui_text(prop, "Blending mode", "Brush blending mode");
|
||||
RNA_def_property_update(prop, 0, "rna_Brush_update");
|
||||
|
||||
prop= RNA_def_property(srna, "sculpt_tool", PROP_ENUM, PROP_NONE);
|
||||
@@ -159,41 +159,41 @@ static void rna_def_brush(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "direction", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_bitflag_sdna(prop, NULL, "flag");
|
||||
RNA_def_property_enum_items(prop, prop_flip_direction_items);
|
||||
RNA_def_property_ui_text(prop, "Direction", "Mapping type to use for this image in the game engine.");
|
||||
RNA_def_property_ui_text(prop, "Direction", "Mapping type to use for this image in the game engine");
|
||||
RNA_def_property_update(prop, 0, "rna_Brush_update");
|
||||
|
||||
/* number values */
|
||||
prop= RNA_def_property(srna, "size", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 1, 200);
|
||||
RNA_def_property_ui_text(prop, "Size", "Diameter of the brush.");
|
||||
RNA_def_property_ui_text(prop, "Size", "Diameter of the brush");
|
||||
RNA_def_property_update(prop, 0, "rna_Brush_update");
|
||||
|
||||
prop= RNA_def_property(srna, "jitter", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "jitter");
|
||||
RNA_def_property_range(prop, 0.0f, 1.0f);
|
||||
RNA_def_property_ui_text(prop, "Jitter", "Jitter the position of the brush while painting.");
|
||||
RNA_def_property_ui_text(prop, "Jitter", "Jitter the position of the brush while painting");
|
||||
RNA_def_property_update(prop, 0, "rna_Brush_update");
|
||||
|
||||
prop= RNA_def_property(srna, "spacing", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "spacing");
|
||||
RNA_def_property_range(prop, 1.0f, 100.0f);
|
||||
RNA_def_property_ui_text(prop, "Spacing", "Spacing between brush stamps.");
|
||||
RNA_def_property_ui_text(prop, "Spacing", "Spacing between brush stamps");
|
||||
RNA_def_property_update(prop, 0, "rna_Brush_update");
|
||||
|
||||
prop= RNA_def_property(srna, "smooth_stroke_radius", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 10, 200);
|
||||
RNA_def_property_ui_text(prop, "Smooth Stroke Radius", "Minimum distance from last point before stroke continues.");
|
||||
RNA_def_property_ui_text(prop, "Smooth Stroke Radius", "Minimum distance from last point before stroke continues");
|
||||
RNA_def_property_update(prop, 0, "rna_Brush_update");
|
||||
|
||||
prop= RNA_def_property(srna, "smooth_stroke_factor", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.5, 0.99);
|
||||
RNA_def_property_ui_text(prop, "Smooth Stroke Factor", "Higher values give a smoother stroke.");
|
||||
RNA_def_property_ui_text(prop, "Smooth Stroke Factor", "Higher values give a smoother stroke");
|
||||
RNA_def_property_update(prop, 0, "rna_Brush_update");
|
||||
|
||||
prop= RNA_def_property(srna, "rate", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "rate");
|
||||
RNA_def_property_range(prop, 0.010f, 1.0f);
|
||||
RNA_def_property_ui_text(prop, "Rate", "Number of paints per second for Airbrush.");
|
||||
RNA_def_property_ui_text(prop, "Rate", "Number of paints per second for Airbrush");
|
||||
RNA_def_property_update(prop, 0, "rna_Brush_update");
|
||||
|
||||
prop= RNA_def_property(srna, "color", PROP_FLOAT, PROP_COLOR_GAMMA);
|
||||
@@ -205,83 +205,83 @@ static void rna_def_brush(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "strength", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "alpha");
|
||||
RNA_def_property_range(prop, 0.0f, 1.0f);
|
||||
RNA_def_property_ui_text(prop, "Strength", "The amount of pressure on the brush.");
|
||||
RNA_def_property_ui_text(prop, "Strength", "The amount of pressure on the brush");
|
||||
RNA_def_property_update(prop, 0, "rna_Brush_update");
|
||||
|
||||
/* flag */
|
||||
prop= RNA_def_property(srna, "use_airbrush", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", BRUSH_AIRBRUSH);
|
||||
RNA_def_property_ui_text(prop, "Airbrush", "Keep applying paint effect while holding mouse (spray).");
|
||||
RNA_def_property_ui_text(prop, "Airbrush", "Keep applying paint effect while holding mouse (spray)");
|
||||
RNA_def_property_update(prop, 0, "rna_Brush_update");
|
||||
|
||||
prop= RNA_def_property(srna, "use_wrap", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", BRUSH_TORUS);
|
||||
RNA_def_property_ui_text(prop, "Wrap", "Enable torus wrapping while painting.");
|
||||
RNA_def_property_ui_text(prop, "Wrap", "Enable torus wrapping while painting");
|
||||
RNA_def_property_update(prop, 0, "rna_Brush_update");
|
||||
|
||||
prop= RNA_def_property(srna, "use_strength_pressure", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", BRUSH_ALPHA_PRESSURE);
|
||||
RNA_def_property_ui_icon(prop, ICON_STYLUS_PRESSURE, 0);
|
||||
RNA_def_property_ui_text(prop, "Strength Pressure", "Enable tablet pressure sensitivity for strength.");
|
||||
RNA_def_property_ui_text(prop, "Strength Pressure", "Enable tablet pressure sensitivity for strength");
|
||||
RNA_def_property_update(prop, 0, "rna_Brush_update");
|
||||
|
||||
prop= RNA_def_property(srna, "use_size_pressure", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", BRUSH_SIZE_PRESSURE);
|
||||
RNA_def_property_ui_icon(prop, ICON_STYLUS_PRESSURE, 0);
|
||||
RNA_def_property_ui_text(prop, "Size Pressure", "Enable tablet pressure sensitivity for size.");
|
||||
RNA_def_property_ui_text(prop, "Size Pressure", "Enable tablet pressure sensitivity for size");
|
||||
RNA_def_property_update(prop, 0, "rna_Brush_update");
|
||||
|
||||
prop= RNA_def_property(srna, "use_jitter_pressure", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", BRUSH_JITTER_PRESSURE);
|
||||
RNA_def_property_ui_icon(prop, ICON_STYLUS_PRESSURE, 0);
|
||||
RNA_def_property_ui_text(prop, "Jitter Pressure", "Enable tablet pressure sensitivity for jitter.");
|
||||
RNA_def_property_ui_text(prop, "Jitter Pressure", "Enable tablet pressure sensitivity for jitter");
|
||||
RNA_def_property_update(prop, 0, "rna_Brush_update");
|
||||
|
||||
prop= RNA_def_property(srna, "use_spacing_pressure", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", BRUSH_SPACING_PRESSURE);
|
||||
RNA_def_property_ui_icon(prop, ICON_STYLUS_PRESSURE, 0);
|
||||
RNA_def_property_ui_text(prop, "Spacing Pressure", "Enable tablet pressure sensitivity for spacing.");
|
||||
RNA_def_property_ui_text(prop, "Spacing Pressure", "Enable tablet pressure sensitivity for spacing");
|
||||
RNA_def_property_update(prop, 0, "rna_Brush_update");
|
||||
|
||||
prop= RNA_def_property(srna, "use_rake", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", BRUSH_RAKE);
|
||||
RNA_def_property_ui_text(prop, "Rake", "Rotate the brush texture to match the stroke direction.");
|
||||
RNA_def_property_ui_text(prop, "Rake", "Rotate the brush texture to match the stroke direction");
|
||||
RNA_def_property_update(prop, 0, "rna_Brush_update");
|
||||
|
||||
prop= RNA_def_property(srna, "use_anchor", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", BRUSH_ANCHORED);
|
||||
RNA_def_property_ui_text(prop, "Anchored", "Keep the brush anchored to the initial location.");
|
||||
RNA_def_property_ui_text(prop, "Anchored", "Keep the brush anchored to the initial location");
|
||||
RNA_def_property_update(prop, 0, "rna_Brush_update");
|
||||
|
||||
prop= RNA_def_property(srna, "use_space", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", BRUSH_SPACE);
|
||||
RNA_def_property_ui_text(prop, "Space", "Limit brush application to the distance specified by spacing.");
|
||||
RNA_def_property_ui_text(prop, "Space", "Limit brush application to the distance specified by spacing");
|
||||
RNA_def_property_update(prop, 0, "rna_Brush_update");
|
||||
|
||||
prop= RNA_def_property(srna, "use_smooth_stroke", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", BRUSH_SMOOTH_STROKE);
|
||||
RNA_def_property_ui_text(prop, "Smooth Stroke", "Brush lags behind mouse and follows a smoother path.");
|
||||
RNA_def_property_ui_text(prop, "Smooth Stroke", "Brush lags behind mouse and follows a smoother path");
|
||||
RNA_def_property_update(prop, 0, "rna_Brush_update");
|
||||
|
||||
prop= RNA_def_property(srna, "use_persistent", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", BRUSH_PERSISTENT);
|
||||
RNA_def_property_ui_text(prop, "Persistent", "Sculpts on a persistent layer of the mesh.");
|
||||
RNA_def_property_ui_text(prop, "Persistent", "Sculpts on a persistent layer of the mesh");
|
||||
RNA_def_property_update(prop, 0, "rna_Brush_update");
|
||||
|
||||
prop= RNA_def_property(srna, "use_accumulate", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", BRUSH_ACCUMULATE);
|
||||
RNA_def_property_ui_text(prop, "Accumulate", "Accumulate stroke dabs on top of each other.");
|
||||
RNA_def_property_ui_text(prop, "Accumulate", "Accumulate stroke dabs on top of each other");
|
||||
RNA_def_property_update(prop, 0, "rna_Brush_update");
|
||||
|
||||
/* not exposed in the interface yet
|
||||
prop= RNA_def_property(srna, "fixed_tex", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", BRUSH_FIXED_TEX);
|
||||
RNA_def_property_ui_text(prop, "Fixed Texture", "Keep texture origin in fixed position.");
|
||||
RNA_def_property_ui_text(prop, "Fixed Texture", "Keep texture origin in fixed position");
|
||||
RNA_def_property_update(prop, 0, "rna_Brush_update"); */
|
||||
|
||||
prop= RNA_def_property(srna, "curve", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_flag(prop, PROP_NEVER_NULL);
|
||||
RNA_def_property_ui_text(prop, "Curve", "Editable falloff curve.");
|
||||
RNA_def_property_ui_text(prop, "Curve", "Editable falloff curve");
|
||||
RNA_def_property_update(prop, 0, "rna_Brush_update");
|
||||
|
||||
/* texture */
|
||||
@@ -301,13 +301,13 @@ static void rna_def_brush(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "clone_image", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "clone.image");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_ui_text(prop, "Clone Image", "Image for clone tool.");
|
||||
RNA_def_property_ui_text(prop, "Clone Image", "Image for clone tool");
|
||||
RNA_def_property_update(prop, NC_SPACE|ND_SPACE_IMAGE, "rna_Brush_update");
|
||||
|
||||
prop= RNA_def_property(srna, "clone_alpha", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "clone.alpha");
|
||||
RNA_def_property_range(prop, 0.0f, 1.0f);
|
||||
RNA_def_property_ui_text(prop, "Clone Alpha", "Opacity of clone image display.");
|
||||
RNA_def_property_ui_text(prop, "Clone Alpha", "Opacity of clone image display");
|
||||
RNA_def_property_update(prop, NC_SPACE|ND_SPACE_IMAGE, "rna_Brush_update");
|
||||
|
||||
prop= RNA_def_property(srna, "clone_offset", PROP_FLOAT, PROP_XYZ);
|
||||
@@ -349,7 +349,7 @@ static void rna_def_operator_stroke_element(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "pressure", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_flag(prop, PROP_IDPROPERTY);
|
||||
RNA_def_property_range(prop, 0.0f, 1.0f);
|
||||
RNA_def_property_ui_text(prop, "Pressure", "Tablet pressure.");
|
||||
RNA_def_property_ui_text(prop, "Pressure", "Tablet pressure");
|
||||
|
||||
prop= RNA_def_property(srna, "time", PROP_FLOAT, PROP_UNSIGNED);
|
||||
RNA_def_property_flag(prop, PROP_IDPROPERTY);
|
||||
|
||||
@@ -159,7 +159,7 @@ void RNA_def_camera(BlenderRNA *brna)
|
||||
|
||||
prop= RNA_def_property(srna, "show_mist", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", CAM_SHOWMIST);
|
||||
RNA_def_property_ui_text(prop, "Show Mist", "Draw a line from the Camera to indicate the mist area.");
|
||||
RNA_def_property_ui_text(prop, "Show Mist", "Draw a line from the Camera to indicate the mist area");
|
||||
RNA_def_property_update(prop, NC_OBJECT|ND_DRAW, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "show_passepartout", PROP_BOOLEAN, PROP_NONE);
|
||||
|
||||
@@ -183,7 +183,7 @@ static void rna_def_cloth_sim_settings(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
srna = RNA_def_struct(brna, "ClothSettings", NULL);
|
||||
RNA_def_struct_ui_text(srna, "Cloth Settings", "Cloth simulation settings for an object.");
|
||||
RNA_def_struct_ui_text(srna, "Cloth Settings", "Cloth simulation settings for an object");
|
||||
RNA_def_struct_sdna(srna, "ClothSimSettings");
|
||||
RNA_def_struct_path_func(srna, "rna_ClothSettings_path");
|
||||
|
||||
@@ -192,31 +192,31 @@ static void rna_def_cloth_sim_settings(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "goal_min", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "mingoal");
|
||||
RNA_def_property_range(prop, 0.0f, 1.0f);
|
||||
RNA_def_property_ui_text(prop, "Goal Minimum", "Goal minimum, vertex group weights are scaled to match this range.");
|
||||
RNA_def_property_ui_text(prop, "Goal Minimum", "Goal minimum, vertex group weights are scaled to match this range");
|
||||
RNA_def_property_update(prop, 0, "rna_cloth_update");
|
||||
|
||||
prop= RNA_def_property(srna, "goal_max", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "maxgoal");
|
||||
RNA_def_property_range(prop, 0.0f, 1.0f);
|
||||
RNA_def_property_ui_text(prop, "Goal Maximum", "Goal maximum, vertex group weights are scaled to match this range.");
|
||||
RNA_def_property_ui_text(prop, "Goal Maximum", "Goal maximum, vertex group weights are scaled to match this range");
|
||||
RNA_def_property_update(prop, 0, "rna_cloth_update");
|
||||
|
||||
prop= RNA_def_property(srna, "goal_default", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "defgoal");
|
||||
RNA_def_property_range(prop, 0.0f, 1.0f);
|
||||
RNA_def_property_ui_text(prop, "Goal Default", "Default Goal (vertex target position) value, when no Vertex Group used.");
|
||||
RNA_def_property_ui_text(prop, "Goal Default", "Default Goal (vertex target position) value, when no Vertex Group used");
|
||||
RNA_def_property_update(prop, 0, "rna_cloth_update");
|
||||
|
||||
prop= RNA_def_property(srna, "goal_spring", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "goalspring");
|
||||
RNA_def_property_range(prop, 0.0f, 0.999f);
|
||||
RNA_def_property_ui_text(prop, "Goal Stiffness", "Goal (vertex target position) spring stiffness.");
|
||||
RNA_def_property_ui_text(prop, "Goal Stiffness", "Goal (vertex target position) spring stiffness");
|
||||
RNA_def_property_update(prop, 0, "rna_cloth_update");
|
||||
|
||||
prop= RNA_def_property(srna, "goal_friction", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "goalfrict");
|
||||
RNA_def_property_range(prop, 0.0f, 50.0f);
|
||||
RNA_def_property_ui_text(prop, "Goal Damping", "Goal (vertex target position) friction.");
|
||||
RNA_def_property_ui_text(prop, "Goal Damping", "Goal (vertex target position) friction");
|
||||
RNA_def_property_update(prop, 0, "rna_cloth_update");
|
||||
|
||||
prop= RNA_def_property(srna, "internal_friction", PROP_FLOAT, PROP_NONE);
|
||||
@@ -229,19 +229,19 @@ static void rna_def_cloth_sim_settings(BlenderRNA *brna)
|
||||
|
||||
prop= RNA_def_property(srna, "mass", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0f, 10.0f);
|
||||
RNA_def_property_ui_text(prop, "Mass", "Mass of cloth material.");
|
||||
RNA_def_property_ui_text(prop, "Mass", "Mass of cloth material");
|
||||
RNA_def_property_update(prop, 0, "rna_cloth_update");
|
||||
|
||||
prop= RNA_def_property(srna, "mass_vertex_group", PROP_STRING, PROP_NONE);
|
||||
RNA_def_property_string_funcs(prop, "rna_ClothSettings_mass_vgroup_get", "rna_ClothSettings_mass_vgroup_length", "rna_ClothSettings_mass_vgroup_set");
|
||||
RNA_def_property_ui_text(prop, "Mass Vertex Group", "Vertex Group for pinning of vertices.");
|
||||
RNA_def_property_ui_text(prop, "Mass Vertex Group", "Vertex Group for pinning of vertices");
|
||||
RNA_def_property_update(prop, 0, "rna_cloth_update");
|
||||
|
||||
prop= RNA_def_property(srna, "gravity", PROP_FLOAT, PROP_ACCELERATION);
|
||||
RNA_def_property_array(prop, 3);
|
||||
RNA_def_property_range(prop, -100.0, 100.0);
|
||||
RNA_def_property_float_funcs(prop, "rna_ClothSettings_gravity_get", "rna_ClothSettings_gravity_set", NULL);
|
||||
RNA_def_property_ui_text(prop, "Gravity", "Gravity or external force vector.");
|
||||
RNA_def_property_ui_text(prop, "Gravity", "Gravity or external force vector");
|
||||
RNA_def_property_update(prop, 0, "rna_cloth_update");
|
||||
|
||||
/* various */
|
||||
@@ -249,18 +249,18 @@ static void rna_def_cloth_sim_settings(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "air_damping", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "Cvi");
|
||||
RNA_def_property_range(prop, 0.0f, 10.0f);
|
||||
RNA_def_property_ui_text(prop, "Air Damping", "Air has normally some thickness which slows falling things down.");
|
||||
RNA_def_property_ui_text(prop, "Air Damping", "Air has normally some thickness which slows falling things down");
|
||||
RNA_def_property_update(prop, 0, "rna_cloth_update");
|
||||
|
||||
prop= RNA_def_property(srna, "pin_cloth", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flags", CLOTH_SIMSETTINGS_FLAG_GOAL);
|
||||
RNA_def_property_ui_text(prop, "Pin Cloth", "Enable pinning of cloth vertices to other objects/positions.");
|
||||
RNA_def_property_ui_text(prop, "Pin Cloth", "Enable pinning of cloth vertices to other objects/positions");
|
||||
RNA_def_property_update(prop, 0, "rna_cloth_update");
|
||||
|
||||
prop= RNA_def_property(srna, "pin_stiffness", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "goalspring");
|
||||
RNA_def_property_range(prop, 0.0f, 50.0);
|
||||
RNA_def_property_ui_text(prop, "Pin Stiffness", "Pin (vertex target position) spring stiffness.");
|
||||
RNA_def_property_ui_text(prop, "Pin Stiffness", "Pin (vertex target position) spring stiffness");
|
||||
RNA_def_property_update(prop, 0, "rna_cloth_update");
|
||||
|
||||
prop= RNA_def_property(srna, "quality", PROP_INT, PROP_NONE);
|
||||
@@ -273,7 +273,7 @@ static void rna_def_cloth_sim_settings(BlenderRNA *brna)
|
||||
|
||||
prop= RNA_def_property(srna, "stiffness_scaling", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flags", CLOTH_SIMSETTINGS_FLAG_SCALING);
|
||||
RNA_def_property_ui_text(prop, "Stiffness Scaling", "If enabled, stiffness can be scaled along a weight painted vertex group.");
|
||||
RNA_def_property_ui_text(prop, "Stiffness Scaling", "If enabled, stiffness can be scaled along a weight painted vertex group");
|
||||
RNA_def_property_update(prop, 0, "rna_cloth_update");
|
||||
|
||||
prop= RNA_def_property(srna, "spring_damping", PROP_FLOAT, PROP_NONE);
|
||||
@@ -285,19 +285,19 @@ static void rna_def_cloth_sim_settings(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "structural_stiffness", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "structural");
|
||||
RNA_def_property_range(prop, 0.0f, 10000.0f);
|
||||
RNA_def_property_ui_text(prop, "Structural Stiffness", "Overall stiffness of structure.");
|
||||
RNA_def_property_ui_text(prop, "Structural Stiffness", "Overall stiffness of structure");
|
||||
RNA_def_property_update(prop, 0, "rna_cloth_update");
|
||||
|
||||
prop= RNA_def_property(srna, "structural_stiffness_max", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "max_struct");
|
||||
RNA_def_property_range(prop, 0.0f, 10000.0f);
|
||||
RNA_def_property_float_funcs(prop, NULL, "rna_ClothSettings_max_struct_set", NULL);
|
||||
RNA_def_property_ui_text(prop, "Structural Stiffness Maximum", "Maximum structural stiffness value.");
|
||||
RNA_def_property_ui_text(prop, "Structural Stiffness Maximum", "Maximum structural stiffness value");
|
||||
RNA_def_property_update(prop, 0, "rna_cloth_update");
|
||||
|
||||
prop= RNA_def_property(srna, "structural_stiffness_vertex_group", PROP_STRING, PROP_NONE);
|
||||
RNA_def_property_string_funcs(prop, "rna_ClothSettings_struct_vgroup_get", "rna_ClothSettings_struct_vgroup_length", "rna_ClothSettings_struct_vgroup_set");
|
||||
RNA_def_property_ui_text(prop, "Structural Stiffness Vertex Group", "Vertex group for fine control over structural stiffness.");
|
||||
RNA_def_property_ui_text(prop, "Structural Stiffness Vertex Group", "Vertex group for fine control over structural stiffness");
|
||||
RNA_def_property_update(prop, 0, "rna_cloth_update");
|
||||
|
||||
prop= RNA_def_property(srna, "bending_stiffness", PROP_FLOAT, PROP_NONE);
|
||||
@@ -310,12 +310,12 @@ static void rna_def_cloth_sim_settings(BlenderRNA *brna)
|
||||
RNA_def_property_float_sdna(prop, NULL, "max_bend");
|
||||
RNA_def_property_range(prop, 0.0f, 10000.0f);
|
||||
RNA_def_property_float_funcs(prop, NULL, "rna_ClothSettings_max_bend_set", NULL);
|
||||
RNA_def_property_ui_text(prop, "Bending Stiffness Maximum", "Maximum bending stiffness value.");
|
||||
RNA_def_property_ui_text(prop, "Bending Stiffness Maximum", "Maximum bending stiffness value");
|
||||
RNA_def_property_update(prop, 0, "rna_cloth_update");
|
||||
|
||||
prop= RNA_def_property(srna, "bending_vertex_group", PROP_STRING, PROP_NONE);
|
||||
RNA_def_property_string_funcs(prop, "rna_ClothSettings_bend_vgroup_get", "rna_ClothSettings_bend_vgroup_length", "rna_ClothSettings_bend_vgroup_set");
|
||||
RNA_def_property_ui_text(prop, "Bending Stiffness Vertex Group", "Vertex group for fine control over bending stiffness.");
|
||||
RNA_def_property_ui_text(prop, "Bending Stiffness Vertex Group", "Vertex group for fine control over bending stiffness");
|
||||
RNA_def_property_update(prop, 0, "rna_cloth_update");
|
||||
|
||||
prop= RNA_def_property(srna, "effector_weights", PROP_POINTER, PROP_NONE);
|
||||
@@ -326,7 +326,7 @@ static void rna_def_cloth_sim_settings(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "pre_roll", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "preroll");
|
||||
RNA_def_property_range(prop, 0, 200);
|
||||
RNA_def_property_ui_text(prop, "Pre Roll", "Simulation starts on this frame.");
|
||||
RNA_def_property_ui_text(prop, "Pre Roll", "Simulation starts on this frame");
|
||||
RNA_def_property_update(prop, 0, "rna_cloth_reset");
|
||||
|
||||
|
||||
@@ -336,13 +336,13 @@ static void rna_def_cloth_sim_settings(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "shear_stiffness", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "shear");
|
||||
RNA_def_property_range(prop, 0.0f, 1000.0f);
|
||||
RNA_def_property_ui_text(prop, "Shear Stiffness", "Shear spring stiffness."); */
|
||||
RNA_def_property_ui_text(prop, "Shear Stiffness", "Shear spring stiffness"); */
|
||||
|
||||
/* unused still
|
||||
prop= RNA_def_property(srna, "shear_stiffness_max", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "max_shear");
|
||||
RNA_def_property_range(prop, 0.0f, upperLimitf);
|
||||
RNA_def_property_ui_text(prop, "Shear Stiffness Maximum", "Maximum shear scaling value."); */
|
||||
RNA_def_property_ui_text(prop, "Shear Stiffness Maximum", "Maximum shear scaling value"); */
|
||||
|
||||
/* unused still
|
||||
prop= RNA_def_property(srna, "effector_force_scale", PROP_FLOAT, PROP_NONE);
|
||||
@@ -365,7 +365,7 @@ static void rna_def_cloth_sim_settings(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "max_spring_extensions", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "maxspringlen");
|
||||
RNA_def_property_range(prop, 1.0, 1000.0);
|
||||
RNA_def_property_ui_text(prop, "Maximum Spring Extension", "Maximum extension before spring gets cut."); */
|
||||
RNA_def_property_ui_text(prop, "Maximum Spring Extension", "Maximum extension before spring gets cut"); */
|
||||
}
|
||||
|
||||
static void rna_def_cloth_collision_settings(BlenderRNA *brna)
|
||||
@@ -374,7 +374,7 @@ static void rna_def_cloth_collision_settings(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
srna = RNA_def_struct(brna, "ClothCollisionSettings", NULL);
|
||||
RNA_def_struct_ui_text(srna, "Cloth Collision Settings", "Cloth simulation settings for self collision and collision with other objects.");
|
||||
RNA_def_struct_ui_text(srna, "Cloth Collision Settings", "Cloth simulation settings for self collision and collision with other objects");
|
||||
RNA_def_struct_sdna(srna, "ClothCollSettings");
|
||||
RNA_def_struct_path_func(srna, "rna_ClothCollisionSettings_path");
|
||||
|
||||
@@ -382,13 +382,13 @@ static void rna_def_cloth_collision_settings(BlenderRNA *brna)
|
||||
|
||||
prop= RNA_def_property(srna, "enable_collision", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flags", CLOTH_COLLSETTINGS_FLAG_ENABLED);
|
||||
RNA_def_property_ui_text(prop, "Enable Collision", "Enable collisions with other objects.");
|
||||
RNA_def_property_ui_text(prop, "Enable Collision", "Enable collisions with other objects");
|
||||
RNA_def_property_update(prop, 0, "rna_cloth_update");
|
||||
|
||||
prop= RNA_def_property(srna, "min_distance", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "epsilon");
|
||||
RNA_def_property_range(prop, 0.001f, 1.0f);
|
||||
RNA_def_property_ui_text(prop, "Minimum Distance", "Minimum distance between collision objects before collision response takes in.");
|
||||
RNA_def_property_ui_text(prop, "Minimum Distance", "Minimum distance between collision objects before collision response takes in");
|
||||
RNA_def_property_update(prop, 0, "rna_cloth_update");
|
||||
|
||||
prop= RNA_def_property(srna, "friction", PROP_FLOAT, PROP_NONE);
|
||||
@@ -406,18 +406,18 @@ static void rna_def_cloth_collision_settings(BlenderRNA *brna)
|
||||
|
||||
prop= RNA_def_property(srna, "enable_self_collision", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flags", CLOTH_COLLSETTINGS_FLAG_SELF);
|
||||
RNA_def_property_ui_text(prop, "Enable Self Collision", "Enable self collisions.");
|
||||
RNA_def_property_ui_text(prop, "Enable Self Collision", "Enable self collisions");
|
||||
RNA_def_property_update(prop, 0, "rna_cloth_update");
|
||||
|
||||
prop= RNA_def_property(srna, "self_min_distance", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "selfepsilon");
|
||||
RNA_def_property_range(prop, 0.5f, 1.0f);
|
||||
RNA_def_property_ui_text(prop, "Self Minimum Distance", "0.5 means no distance at all, 1.0 is maximum distance.");
|
||||
RNA_def_property_ui_text(prop, "Self Minimum Distance", "0.5 means no distance at all, 1.0 is maximum distance");
|
||||
RNA_def_property_update(prop, 0, "rna_cloth_update");
|
||||
|
||||
prop= RNA_def_property(srna, "self_friction", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0f, 80.0f);
|
||||
RNA_def_property_ui_text(prop, "Self Friction", "Friction/damping with self contact.");
|
||||
RNA_def_property_ui_text(prop, "Self Friction", "Friction/damping with self contact");
|
||||
RNA_def_property_update(prop, 0, "rna_cloth_update");
|
||||
|
||||
prop= RNA_def_property(srna, "self_collision_quality", PROP_INT, PROP_NONE);
|
||||
|
||||
@@ -126,7 +126,7 @@ static void rna_def_curvemappoint(BlenderRNA *brna)
|
||||
};
|
||||
|
||||
srna= RNA_def_struct(brna, "CurveMapPoint", NULL);
|
||||
RNA_def_struct_ui_text(srna, "CurveMapPoint", "Point of a curve used for a curve mapping.");
|
||||
RNA_def_struct_ui_text(srna, "CurveMapPoint", "Point of a curve used for a curve mapping");
|
||||
|
||||
/* not editable for now, need to have CurveMapping to do curvemapping_changed */
|
||||
|
||||
@@ -134,17 +134,17 @@ static void rna_def_curvemappoint(BlenderRNA *brna)
|
||||
RNA_def_property_float_sdna(prop, NULL, "x");
|
||||
RNA_def_property_array(prop, 2);
|
||||
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_ui_text(prop, "Location", "X/Y coordinates of the curve point.");
|
||||
RNA_def_property_ui_text(prop, "Location", "X/Y coordinates of the curve point");
|
||||
|
||||
prop= RNA_def_property(srna, "handle_type", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_bitflag_sdna(prop, NULL, "flag");
|
||||
RNA_def_property_enum_items(prop, prop_handle_type_items);
|
||||
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_ui_text(prop, "Handle Type", "Curve interpolation at this point: bezier or vector.");
|
||||
RNA_def_property_ui_text(prop, "Handle Type", "Curve interpolation at this point: bezier or vector");
|
||||
|
||||
prop= RNA_def_property(srna, "selected", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", CUMA_SELECT);
|
||||
RNA_def_property_ui_text(prop, "Selected", "Selection state of the curve point.");
|
||||
RNA_def_property_ui_text(prop, "Selected", "Selection state of the curve point");
|
||||
}
|
||||
|
||||
static void rna_def_curvemap(BlenderRNA *brna)
|
||||
@@ -158,7 +158,7 @@ static void rna_def_curvemap(BlenderRNA *brna)
|
||||
};
|
||||
|
||||
srna= RNA_def_struct(brna, "CurveMap", NULL);
|
||||
RNA_def_struct_ui_text(srna, "CurveMap", "Curve in a curve mapping.");
|
||||
RNA_def_struct_ui_text(srna, "CurveMap", "Curve in a curve mapping");
|
||||
|
||||
/* not editable for now, need to have CurveMapping to do curvemapping_changed */
|
||||
|
||||
@@ -166,7 +166,7 @@ static void rna_def_curvemap(BlenderRNA *brna)
|
||||
RNA_def_property_enum_bitflag_sdna(prop, NULL, "flag");
|
||||
RNA_def_property_enum_items(prop, prop_extend_items);
|
||||
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_ui_text(prop, "Extend", "Extrapolate the curve or extend it horizontally.");
|
||||
RNA_def_property_ui_text(prop, "Extend", "Extrapolate the curve or extend it horizontally");
|
||||
|
||||
prop= RNA_def_property(srna, "points", PROP_COLLECTION, PROP_NONE);
|
||||
RNA_def_property_collection_sdna(prop, NULL, "curve", "totpoint");
|
||||
@@ -180,7 +180,7 @@ static void rna_def_curvemapping(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
srna= RNA_def_struct(brna, "CurveMapping", NULL);
|
||||
RNA_def_struct_ui_text(srna, "CurveMapping", "Curve mapping to map color, vector and scalar values to other values using a user defined curve.");
|
||||
RNA_def_struct_ui_text(srna, "CurveMapping", "Curve mapping to map color, vector and scalar values to other values using a user defined curve");
|
||||
|
||||
prop= RNA_def_property(srna, "clip", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", CUMA_DO_CLIP);
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -142,7 +142,7 @@ void RNA_def_context(BlenderRNA *brna)
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "Context", NULL);
|
||||
RNA_def_struct_ui_text(srna, "Context", "Current windowmanager and data context.");
|
||||
RNA_def_struct_ui_text(srna, "Context", "Current windowmanager and data context");
|
||||
RNA_def_struct_sdna(srna, "bContext");
|
||||
|
||||
/* WM */
|
||||
|
||||
@@ -80,7 +80,7 @@ void RNA_def_controller(BlenderRNA *brna)
|
||||
srna= RNA_def_struct(brna, "Controller", NULL);
|
||||
RNA_def_struct_sdna(srna, "bController");
|
||||
RNA_def_struct_refine_func(srna, "rna_Controller_refine");
|
||||
RNA_def_struct_ui_text(srna, "Controller", "Game engine logic brick to process events, connecting sensors to actuators.");
|
||||
RNA_def_struct_ui_text(srna, "Controller", "Game engine logic brick to process events, connecting sensors to actuators");
|
||||
|
||||
prop= RNA_def_property(srna, "name", PROP_STRING, PROP_NONE);
|
||||
RNA_def_property_ui_text(prop, "Name", "");
|
||||
@@ -95,7 +95,7 @@ void RNA_def_controller(BlenderRNA *brna)
|
||||
/* Expression Controller */
|
||||
srna= RNA_def_struct(brna, "ExpressionController", "Controller");
|
||||
RNA_def_struct_sdna_from(srna, "bExpressionCont", "data");
|
||||
RNA_def_struct_ui_text(srna, "Expression Controller", "Controller passing on events based on the evaluation of an expression.");
|
||||
RNA_def_struct_ui_text(srna, "Expression Controller", "Controller passing on events based on the evaluation of an expression");
|
||||
|
||||
prop= RNA_def_property(srna, "expression", PROP_STRING, PROP_NONE);
|
||||
RNA_def_property_string_sdna(prop, NULL, "str");
|
||||
@@ -105,12 +105,12 @@ void RNA_def_controller(BlenderRNA *brna)
|
||||
/* Python Controller */
|
||||
srna= RNA_def_struct(brna, "PythonController", "Controller" );
|
||||
RNA_def_struct_sdna_from(srna, "bPythonCont", "data");
|
||||
RNA_def_struct_ui_text(srna, "Python Controller", "Controller executing a python script.");
|
||||
RNA_def_struct_ui_text(srna, "Python Controller", "Controller executing a python script");
|
||||
|
||||
prop= RNA_def_property(srna, "text", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_struct_type(prop, "Text");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_ui_text(prop, "Text", "Text datablock with the python script.");
|
||||
RNA_def_property_ui_text(prop, "Text", "Text datablock with the python script");
|
||||
|
||||
prop= RNA_def_property(srna, "module", PROP_STRING, PROP_NONE);
|
||||
RNA_def_property_ui_text(prop, "Module", "Module name and function to run e.g. \"someModule.main\". Internal texts and external python files can be used");
|
||||
@@ -118,26 +118,26 @@ void RNA_def_controller(BlenderRNA *brna)
|
||||
|
||||
prop= RNA_def_property(srna, "debug", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", CONT_PY_DEBUG);
|
||||
RNA_def_property_ui_text(prop, "D", "Continuously reload the module from disk for editing external modules without restarting.");
|
||||
RNA_def_property_ui_text(prop, "D", "Continuously reload the module from disk for editing external modules without restarting");
|
||||
|
||||
/* Other Controllers */
|
||||
srna= RNA_def_struct(brna, "AndController", "Controller");
|
||||
RNA_def_struct_ui_text(srna, "And Controller", "Controller passing on events based on a logical AND operation.");
|
||||
RNA_def_struct_ui_text(srna, "And Controller", "Controller passing on events based on a logical AND operation");
|
||||
|
||||
srna= RNA_def_struct(brna, "OrController", "Controller");
|
||||
RNA_def_struct_ui_text(srna, "Or Controller", "Controller passing on events based on a logical OR operation.");
|
||||
RNA_def_struct_ui_text(srna, "Or Controller", "Controller passing on events based on a logical OR operation");
|
||||
|
||||
srna= RNA_def_struct(brna, "NorController", "Controller");
|
||||
RNA_def_struct_ui_text(srna, "Nor Controller", "Controller passing on events based on a logical NOR operation.");
|
||||
RNA_def_struct_ui_text(srna, "Nor Controller", "Controller passing on events based on a logical NOR operation");
|
||||
|
||||
srna= RNA_def_struct(brna, "NandController", "Controller");
|
||||
RNA_def_struct_ui_text(srna, "Nand Controller", "Controller passing on events based on a logical NAND operation.");
|
||||
RNA_def_struct_ui_text(srna, "Nand Controller", "Controller passing on events based on a logical NAND operation");
|
||||
|
||||
srna= RNA_def_struct(brna, "XorController", "Controller");
|
||||
RNA_def_struct_ui_text(srna, "Xor Controller", "Controller passing on events based on a logical XOR operation.");
|
||||
RNA_def_struct_ui_text(srna, "Xor Controller", "Controller passing on events based on a logical XOR operation");
|
||||
|
||||
srna= RNA_def_struct(brna, "XnorController", "Controller");
|
||||
RNA_def_struct_ui_text(srna, "Xnor Controller", "Controller passing on events based on a logical XNOR operation.");
|
||||
RNA_def_struct_ui_text(srna, "Xnor Controller", "Controller passing on events based on a logical XNOR operation");
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -325,7 +325,7 @@ static void rna_def_bpoint(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "SplinePoint", NULL);
|
||||
RNA_def_struct_sdna(srna, "BPoint");
|
||||
RNA_def_struct_ui_text(srna, "SplinePoint", "Spline point without handles.");
|
||||
RNA_def_struct_ui_text(srna, "SplinePoint", "Spline point without handles");
|
||||
|
||||
/* Boolean values */
|
||||
prop= RNA_def_property(srna, "selected", PROP_BOOLEAN, PROP_NONE);
|
||||
@@ -378,7 +378,7 @@ static void rna_def_beztriple(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "BezierSplinePoint", NULL);
|
||||
RNA_def_struct_sdna(srna, "BezTriple");
|
||||
RNA_def_struct_ui_text(srna, "Bezier Curve Point", "Bezier curve point with two handles.");
|
||||
RNA_def_struct_ui_text(srna, "Bezier Curve Point", "Bezier curve point with two handles");
|
||||
|
||||
/* Boolean values */
|
||||
prop= RNA_def_property(srna, "selected_handle1", PROP_BOOLEAN, PROP_NONE);
|
||||
@@ -461,33 +461,33 @@ static void rna_def_path(BlenderRNA *brna, StructRNA *srna)
|
||||
prop= RNA_def_property(srna, "path_length", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "pathlen");
|
||||
RNA_def_property_range(prop, 1, MAXFRAME);
|
||||
RNA_def_property_ui_text(prop, "Path Length", "The number of frames that are needed to traverse the path, defining the maximum value for the 'Evaluation Time' setting.");
|
||||
RNA_def_property_ui_text(prop, "Path Length", "The number of frames that are needed to traverse the path, defining the maximum value for the 'Evaluation Time' setting");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
|
||||
/* flags */
|
||||
prop= RNA_def_property(srna, "use_path", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", CU_PATH);
|
||||
RNA_def_property_ui_text(prop, "Path", "Enable the curve to become a translation path.");
|
||||
RNA_def_property_ui_text(prop, "Path", "Enable the curve to become a translation path");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "use_path_follow", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", CU_FOLLOW);
|
||||
RNA_def_property_ui_text(prop, "Follow", "Make curve path children to rotate along the path.");
|
||||
RNA_def_property_ui_text(prop, "Follow", "Make curve path children to rotate along the path");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "use_stretch", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", CU_STRETCH);
|
||||
RNA_def_property_ui_text(prop, "Stretch", "Option for curve-deform: makes deformed child to stretch along entire path.");
|
||||
RNA_def_property_ui_text(prop, "Stretch", "Option for curve-deform: makes deformed child to stretch along entire path");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "use_time_offset", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", CU_OFFS_PATHDIST);
|
||||
RNA_def_property_ui_text(prop, "Offset Path Distance", "Children will use TimeOffs value as path distance offset.");
|
||||
RNA_def_property_ui_text(prop, "Offset Path Distance", "Children will use TimeOffs value as path distance offset");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "use_radius", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", CU_PATH_RADIUS);
|
||||
RNA_def_property_ui_text(prop, "Radius", "Option for paths: apply the curve radius with path following it and deforming.");
|
||||
RNA_def_property_ui_text(prop, "Radius", "Option for paths: apply the curve radius with path following it and deforming");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
}
|
||||
|
||||
@@ -498,7 +498,7 @@ static void rna_def_nurbs(BlenderRNA *brna, StructRNA *srna)
|
||||
/* flags */
|
||||
prop= RNA_def_property(srna, "uv_orco", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", CU_UV_ORCO);
|
||||
RNA_def_property_ui_text(prop, "UV Orco", "Forces to use UV coordinates for texture mapping 'orco'.");
|
||||
RNA_def_property_ui_text(prop, "UV Orco", "Forces to use UV coordinates for texture mapping 'orco'");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "vertex_normal_flip", PROP_BOOLEAN, PROP_NONE);
|
||||
@@ -522,7 +522,7 @@ static void rna_def_font(BlenderRNA *brna, StructRNA *srna)
|
||||
/* Enums */
|
||||
prop= RNA_def_property(srna, "spacemode", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_items(prop, prop_align_items);
|
||||
RNA_def_property_ui_text(prop, "Text Align", "Text align from the object center.");
|
||||
RNA_def_property_ui_text(prop, "Text Align", "Text align from the object center");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
|
||||
/* number values */
|
||||
@@ -609,7 +609,7 @@ static void rna_def_font(BlenderRNA *brna, StructRNA *srna)
|
||||
prop= RNA_def_property(srna, "text_on_curve", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "textoncurve");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_ui_text(prop, "Text on Curve", "Curve deforming text object.");
|
||||
RNA_def_property_ui_text(prop, "Text on Curve", "Curve deforming text object");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_deps");
|
||||
|
||||
prop= RNA_def_property(srna, "font", PROP_POINTER, PROP_NONE);
|
||||
@@ -620,13 +620,13 @@ static void rna_def_font(BlenderRNA *brna, StructRNA *srna)
|
||||
|
||||
prop= RNA_def_property(srna, "edit_format", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "curinfo");
|
||||
RNA_def_property_ui_text(prop, "Edit Format", "Editing settings character formatting.");
|
||||
RNA_def_property_ui_text(prop, "Edit Format", "Editing settings character formatting");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
|
||||
/* flags */
|
||||
prop= RNA_def_property(srna, "fast", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", CU_FAST);
|
||||
RNA_def_property_ui_text(prop, "Fast", "Don't fill polygons while editing.");
|
||||
RNA_def_property_ui_text(prop, "Fast", "Don't fill polygons while editing");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
}
|
||||
|
||||
@@ -636,7 +636,7 @@ static void rna_def_textbox(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
srna= RNA_def_struct(brna, "TextBox", NULL);
|
||||
RNA_def_struct_ui_text(srna, "Text Box", "Text bounding box for layout.");
|
||||
RNA_def_struct_ui_text(srna, "Text Box", "Text bounding box for layout");
|
||||
|
||||
/* number values */
|
||||
prop= RNA_def_property(srna, "x", PROP_FLOAT, PROP_NONE);
|
||||
@@ -671,7 +671,7 @@ static void rna_def_charinfo(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "TextCharacterFormat", NULL);
|
||||
RNA_def_struct_sdna(srna, "CharInfo");
|
||||
RNA_def_struct_ui_text(srna, "Text Character Format", "Text character formatting settings.");
|
||||
RNA_def_struct_ui_text(srna, "Text Character Format", "Text character formatting settings");
|
||||
|
||||
/* flags */
|
||||
prop= RNA_def_property(srna, "style", PROP_BOOLEAN, PROP_NONE);
|
||||
@@ -706,7 +706,7 @@ static void rna_def_surface(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "SurfaceCurve", "Curve");
|
||||
RNA_def_struct_sdna(srna, "Curve");
|
||||
RNA_def_struct_ui_text(srna, "Surface Curve", "Curve datablock used for storing surfaces.");
|
||||
RNA_def_struct_ui_text(srna, "Surface Curve", "Curve datablock used for storing surfaces");
|
||||
RNA_def_struct_ui_icon(srna, ICON_SURFACE_DATA);
|
||||
|
||||
rna_def_nurbs(brna, srna);
|
||||
@@ -718,7 +718,7 @@ static void rna_def_text(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "TextCurve", "Curve");
|
||||
RNA_def_struct_sdna(srna, "Curve");
|
||||
RNA_def_struct_ui_text(srna, "Text Curve", "Curve datablock used for storing text.");
|
||||
RNA_def_struct_ui_text(srna, "Text Curve", "Curve datablock used for storing text");
|
||||
RNA_def_struct_ui_icon(srna, ICON_FONT_DATA);
|
||||
|
||||
rna_def_font(brna, srna);
|
||||
@@ -742,7 +742,7 @@ static void rna_def_curve(BlenderRNA *brna)
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "Curve", "ID");
|
||||
RNA_def_struct_ui_text(srna, "Curve", "Curve datablock storing curves, splines and NURBS.");
|
||||
RNA_def_struct_ui_text(srna, "Curve", "Curve datablock storing curves, splines and NURBS");
|
||||
RNA_def_struct_ui_icon(srna, ICON_CURVE_DATA);
|
||||
RNA_def_struct_refine_func(srna, "rna_Curve_refine");
|
||||
|
||||
@@ -756,7 +756,7 @@ static void rna_def_curve(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "splines", PROP_COLLECTION, PROP_NONE);
|
||||
RNA_def_property_collection_sdna(prop, NULL, "nurb", NULL);
|
||||
RNA_def_property_struct_type(prop, "Spline");
|
||||
RNA_def_property_ui_text(prop, "Splines", "Collection of splines in this curve data object.");
|
||||
RNA_def_property_ui_text(prop, "Splines", "Collection of splines in this curve data object");
|
||||
|
||||
prop= RNA_def_property(srna, "active_spline", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_struct_type(prop, "Spline");
|
||||
@@ -766,12 +766,12 @@ static void rna_def_curve(BlenderRNA *brna)
|
||||
|
||||
prop= RNA_def_property(srna, "draw_handles", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "drawflag", CU_HIDE_HANDLES);
|
||||
RNA_def_property_ui_text(prop, "Draw Handles", "Display bezier handles in editmode.");
|
||||
RNA_def_property_ui_text(prop, "Draw Handles", "Display bezier handles in editmode");
|
||||
RNA_def_property_update(prop, NC_GEOM|ND_DATA, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "draw_normals", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "drawflag", CU_HIDE_NORMALS);
|
||||
RNA_def_property_ui_text(prop, "Draw Normals", "Display 3D curve normals in editmode.");
|
||||
RNA_def_property_ui_text(prop, "Draw Normals", "Display 3D curve normals in editmode");
|
||||
RNA_def_property_update(prop, NC_GEOM|ND_DATA, NULL);
|
||||
|
||||
rna_def_path(brna, srna);
|
||||
@@ -781,71 +781,71 @@ static void rna_def_curve(BlenderRNA *brna)
|
||||
RNA_def_property_int_sdna(prop, NULL, "bevresol");
|
||||
RNA_def_property_range(prop, 0, 32);
|
||||
RNA_def_property_ui_range(prop, 0, 32, 1.0, 0);
|
||||
RNA_def_property_ui_text(prop, "Bevel Resolution", "Bevel resolution when depth is non-zero and no specific bevel object has been defined.");
|
||||
RNA_def_property_ui_text(prop, "Bevel Resolution", "Bevel resolution when depth is non-zero and no specific bevel object has been defined");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "width", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "width");
|
||||
RNA_def_property_ui_range(prop, 0, 2.0, 0.1, 0);
|
||||
RNA_def_property_ui_text(prop, "Width", "Scale the original width (1.0) based on given factor.");
|
||||
RNA_def_property_ui_text(prop, "Width", "Scale the original width (1.0) based on given factor");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "extrude", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "ext1");
|
||||
RNA_def_property_ui_range(prop, 0, 100.0, 0.1, 0);
|
||||
RNA_def_property_range(prop, 0.0, FLT_MAX);
|
||||
RNA_def_property_ui_text(prop, "Extrude", "Amount of curve extrusion when not using a bevel object.");
|
||||
RNA_def_property_ui_text(prop, "Extrude", "Amount of curve extrusion when not using a bevel object");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "bevel_depth", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "ext2");
|
||||
RNA_def_property_ui_range(prop, 0, 100.0, 0.1, 0);
|
||||
RNA_def_property_ui_text(prop, "Bevel Depth", "Bevel depth when not using a bevel object.");
|
||||
RNA_def_property_ui_text(prop, "Bevel Depth", "Bevel depth when not using a bevel object");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "resolution_u", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "resolu");
|
||||
RNA_def_property_ui_range(prop, 1, 1024, 1, 0);
|
||||
RNA_def_property_range(prop, 1, INT_MAX);
|
||||
RNA_def_property_ui_text(prop, "Resolution U", "Surface resolution in U direction.");
|
||||
RNA_def_property_ui_text(prop, "Resolution U", "Surface resolution in U direction");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_resolution_u_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "resolution_v", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "resolv");
|
||||
RNA_def_property_ui_range(prop, 1, 1024, 1, 0);
|
||||
RNA_def_property_range(prop, 1, INT_MAX);
|
||||
RNA_def_property_ui_text(prop, "Resolution V", "Surface resolution in V direction.");
|
||||
RNA_def_property_ui_text(prop, "Resolution V", "Surface resolution in V direction");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_resolution_v_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "render_resolution_u", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "resolu_ren");
|
||||
RNA_def_property_ui_range(prop, 0, 1024, 1, 0);
|
||||
RNA_def_property_range(prop, 0, INT_MAX);
|
||||
RNA_def_property_ui_text(prop, "Render Resolution U", "Surface resolution in U direction used while rendering. Zero skips this property.");
|
||||
RNA_def_property_ui_text(prop, "Render Resolution U", "Surface resolution in U direction used while rendering. Zero skips this property");
|
||||
|
||||
prop= RNA_def_property(srna, "render_resolution_v", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "resolv_ren");
|
||||
RNA_def_property_ui_range(prop, 0, 1024, 1, 0);
|
||||
RNA_def_property_range(prop, 0, INT_MAX);
|
||||
RNA_def_property_ui_text(prop, "Render Resolution V", "Surface resolution in V direction used while rendering. Zero skips this property.");
|
||||
RNA_def_property_ui_text(prop, "Render Resolution V", "Surface resolution in V direction used while rendering. Zero skips this property");
|
||||
|
||||
|
||||
prop= RNA_def_property(srna, "eval_time", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "ctime");
|
||||
RNA_def_property_ui_text(prop, "Evaluation Time", "Parametric position along the length of the curve that Objects 'following' it should be at. Position is evaluated by dividing by the 'Path Length' value.");
|
||||
RNA_def_property_ui_text(prop, "Evaluation Time", "Parametric position along the length of the curve that Objects 'following' it should be at. Position is evaluated by dividing by the 'Path Length' value");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
|
||||
/* pointers */
|
||||
prop= RNA_def_property(srna, "bevel_object", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "bevobj");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_ui_text(prop, "Bevel Object", "Curve object name that defines the bevel shape.");
|
||||
RNA_def_property_ui_text(prop, "Bevel Object", "Curve object name that defines the bevel shape");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_deps");
|
||||
|
||||
prop= RNA_def_property(srna, "taper_object", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "taperobj");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_ui_text(prop, "Taper Object", "Curve object name that defines the taper (width).");
|
||||
RNA_def_property_ui_text(prop, "Taper Object", "Curve object name that defines the taper (width)");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_deps");
|
||||
|
||||
/* Flags */
|
||||
@@ -854,23 +854,23 @@ static void rna_def_curve(BlenderRNA *brna)
|
||||
RNA_def_property_enum_bitflag_sdna(prop, NULL, "flag");
|
||||
RNA_def_property_enum_items(prop, curve_axis_items);
|
||||
RNA_def_property_enum_funcs(prop, NULL, "rna_Curve_dimension_set", NULL);
|
||||
RNA_def_property_ui_text(prop, "Dimensions", "Select 2D or 3D curve type.");
|
||||
RNA_def_property_ui_text(prop, "Dimensions", "Select 2D or 3D curve type");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "front", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", CU_FRONT);
|
||||
RNA_def_property_ui_text(prop, "Front", "Draw filled front for extruded/beveled curves.");
|
||||
RNA_def_property_ui_text(prop, "Front", "Draw filled front for extruded/beveled curves");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "back", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", CU_BACK);
|
||||
RNA_def_property_ui_text(prop, "Back", "Draw filled back for extruded/beveled curves.");
|
||||
RNA_def_property_ui_text(prop, "Back", "Draw filled back for extruded/beveled curves");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "twist_mode", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "twist_mode");
|
||||
RNA_def_property_enum_items(prop, curve_twist_mode_items);
|
||||
RNA_def_property_ui_text(prop, "Twist Method", "The type of tilt calculation for 3D Curves.");
|
||||
RNA_def_property_ui_text(prop, "Twist Method", "The type of tilt calculation for 3D Curves");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
|
||||
// XXX - would be nice to have a better way to do this, only add for testing.
|
||||
@@ -904,37 +904,37 @@ static void rna_def_curve_nurb(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "Spline", NULL);
|
||||
RNA_def_struct_sdna(srna, "Nurb");
|
||||
RNA_def_struct_ui_text(srna, "Spline", "Element of a curve, either Nurbs, Bezier or Polyline or a character with text objects.");
|
||||
RNA_def_struct_ui_text(srna, "Spline", "Element of a curve, either Nurbs, Bezier or Polyline or a character with text objects");
|
||||
|
||||
prop= RNA_def_property(srna, "points", PROP_COLLECTION, PROP_NONE);
|
||||
RNA_def_property_collection_sdna(prop, NULL, "bp", NULL);
|
||||
RNA_def_property_struct_type(prop, "SplinePoint");
|
||||
RNA_def_property_collection_funcs(prop, "rna_BPoint_array_begin", "rna_iterator_array_next", "rna_iterator_array_end", "rna_iterator_array_get", "rna_Nurb_length", 0, 0);
|
||||
RNA_def_property_ui_text(prop, "Points", "Collection of points that make up this poly or nurbs spline.");
|
||||
RNA_def_property_ui_text(prop, "Points", "Collection of points that make up this poly or nurbs spline");
|
||||
|
||||
prop= RNA_def_property(srna, "bezier_points", PROP_COLLECTION, PROP_NONE);
|
||||
RNA_def_property_struct_type(prop, "BezierSplinePoint");
|
||||
RNA_def_property_collection_sdna(prop, NULL, "bezt", "pntsu");
|
||||
RNA_def_property_ui_text(prop, "Bezier Points", "Collection of points for bezier curves only.");
|
||||
RNA_def_property_ui_text(prop, "Bezier Points", "Collection of points for bezier curves only");
|
||||
|
||||
|
||||
prop= RNA_def_property(srna, "tilt_interpolation", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "tilt_interp");
|
||||
RNA_def_property_enum_items(prop, spline_interpolation_items);
|
||||
RNA_def_property_ui_text(prop, "Tilt Interpolation", "The type of tilt interpolation for 3D, Bezier curves.");
|
||||
RNA_def_property_ui_text(prop, "Tilt Interpolation", "The type of tilt interpolation for 3D, Bezier curves");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "radius_interpolation", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "radius_interp");
|
||||
RNA_def_property_enum_items(prop, spline_interpolation_items);
|
||||
RNA_def_property_ui_text(prop, "Radius Interpolation", "The type of radius interpolation for Bezier curves.");
|
||||
RNA_def_property_ui_text(prop, "Radius Interpolation", "The type of radius interpolation for Bezier curves");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
|
||||
// XXX - switching type probably needs comprehensive recalc of data like in 2.4x
|
||||
prop= RNA_def_property(srna, "type", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_items(prop, curve_type_items);
|
||||
RNA_def_property_enum_funcs(prop, NULL, "rna_Nurb_type_set", NULL);
|
||||
RNA_def_property_ui_text(prop, "Type", "The interpolation type for this curve element.");
|
||||
RNA_def_property_ui_text(prop, "Type", "The interpolation type for this curve element");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "point_count_u", PROP_INT, PROP_NONE);
|
||||
@@ -977,45 +977,45 @@ static void rna_def_curve_nurb(BlenderRNA *brna)
|
||||
|
||||
prop= RNA_def_property(srna, "cyclic_u", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flagu", CU_CYCLIC);
|
||||
RNA_def_property_ui_text(prop, "Cyclic U", "Make this curve or surface a closed loop in the U direction.");
|
||||
RNA_def_property_ui_text(prop, "Cyclic U", "Make this curve or surface a closed loop in the U direction");
|
||||
RNA_def_property_update(prop, 0, "rna_Nurb_update_handle_data"); /* only needed for cyclic_u because cyclic_v cant do bezier */
|
||||
|
||||
prop= RNA_def_property(srna, "cyclic_v", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flagv", CU_CYCLIC);
|
||||
RNA_def_property_ui_text(prop, "Cyclic V", "Make this surface a closed loop in the V direction.");
|
||||
RNA_def_property_ui_text(prop, "Cyclic V", "Make this surface a closed loop in the V direction");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
|
||||
|
||||
/* Note, endpoint and bezier flags should never be on at the same time! */
|
||||
prop= RNA_def_property(srna, "endpoint_u", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flagu", 2);
|
||||
RNA_def_property_ui_text(prop, "Endpoint U", "Make this nurbs curve or surface meet the endpoints in the U direction (Cyclic U must be disabled).");
|
||||
RNA_def_property_ui_text(prop, "Endpoint U", "Make this nurbs curve or surface meet the endpoints in the U direction (Cyclic U must be disabled)");
|
||||
RNA_def_property_update(prop, 0, "rna_Nurb_update_knot_u");
|
||||
|
||||
prop= RNA_def_property(srna, "endpoint_v", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flagv", 2);
|
||||
RNA_def_property_ui_text(prop, "Endpoint V", "Make this nurbs surface meet the endpoints in the V direction (Cyclic V must be disabled).");
|
||||
RNA_def_property_ui_text(prop, "Endpoint V", "Make this nurbs surface meet the endpoints in the V direction (Cyclic V must be disabled)");
|
||||
RNA_def_property_update(prop, 0, "rna_Nurb_update_knot_v");
|
||||
|
||||
prop= RNA_def_property(srna, "bezier_u", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flagu", 4);
|
||||
RNA_def_property_ui_text(prop, "Bezier U", "Make this nurbs curve or surface act like a bezier spline in the U direction (Order U must be 3 or 4, Cyclic U must be disabled).");
|
||||
RNA_def_property_ui_text(prop, "Bezier U", "Make this nurbs curve or surface act like a bezier spline in the U direction (Order U must be 3 or 4, Cyclic U must be disabled)");
|
||||
RNA_def_property_update(prop, 0, "rna_Nurb_update_knot_u");
|
||||
|
||||
prop= RNA_def_property(srna, "bezier_v", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flagv", 4);
|
||||
RNA_def_property_ui_text(prop, "Bezier V", "Make this nurbs surface act like a bezier spline in the V direction (Order V must be 3 or 4, Cyclic V must be disabled).");
|
||||
RNA_def_property_ui_text(prop, "Bezier V", "Make this nurbs surface act like a bezier spline in the V direction (Order V must be 3 or 4, Cyclic V must be disabled)");
|
||||
RNA_def_property_update(prop, 0, "rna_Nurb_update_knot_v");
|
||||
|
||||
|
||||
prop= RNA_def_property(srna, "smooth", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", CU_SMOOTH);
|
||||
RNA_def_property_ui_text(prop, "Smooth", "Smooth the normals of the surface or beveled curve.");
|
||||
RNA_def_property_ui_text(prop, "Smooth", "Smooth the normals of the surface or beveled curve");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "hide", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "hide", 1);
|
||||
RNA_def_property_ui_text(prop, "Hide", "Hide this curve in editmode.");
|
||||
RNA_def_property_ui_text(prop, "Hide", "Hide this curve in editmode");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "material_index", PROP_INT, PROP_UNSIGNED);
|
||||
|
||||
@@ -650,7 +650,7 @@ StructRNA *RNA_def_struct(BlenderRNA *brna, const char *identifier, const char *
|
||||
/* define some builtin properties */
|
||||
prop= RNA_def_property(&srna->cont, "rna_properties", PROP_COLLECTION, PROP_NONE);
|
||||
RNA_def_property_flag(prop, PROP_BUILTIN);
|
||||
RNA_def_property_ui_text(prop, "Properties", "RNA property collection.");
|
||||
RNA_def_property_ui_text(prop, "Properties", "RNA property collection");
|
||||
|
||||
if(DefRNA.preprocess) {
|
||||
RNA_def_property_struct_type(prop, "Property");
|
||||
@@ -668,7 +668,7 @@ StructRNA *RNA_def_struct(BlenderRNA *brna, const char *identifier, const char *
|
||||
|
||||
prop= RNA_def_property(&srna->cont, "rna_type", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_flag(prop, PROP_HIDDEN);
|
||||
RNA_def_property_ui_text(prop, "RNA", "RNA type definition.");
|
||||
RNA_def_property_ui_text(prop, "RNA", "RNA type definition");
|
||||
|
||||
if(DefRNA.preprocess) {
|
||||
RNA_def_property_struct_type(prop, "Struct");
|
||||
|
||||
@@ -416,19 +416,19 @@ static void rna_def_fmodifier_generator(BlenderRNA *brna)
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "FModifierGenerator", "FModifier");
|
||||
RNA_def_struct_ui_text(srna, "Generator F-Curve Modifier", "Deterministically generates values for the modified F-Curve.");
|
||||
RNA_def_struct_ui_text(srna, "Generator F-Curve Modifier", "Deterministically generates values for the modified F-Curve");
|
||||
RNA_def_struct_sdna_from(srna, "FMod_Generator", "data");
|
||||
|
||||
/* define common props */
|
||||
prop= RNA_def_property(srna, "additive", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", FCM_GENERATOR_ADDITIVE);
|
||||
RNA_def_property_ui_text(prop, "Additive", "Values generated by this modifier are applied on top of the existing values instead of overwriting them.");
|
||||
RNA_def_property_ui_text(prop, "Additive", "Values generated by this modifier are applied on top of the existing values instead of overwriting them");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_EDIT, NULL);
|
||||
|
||||
// XXX this has a special validation func
|
||||
prop= RNA_def_property(srna, "mode", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_items(prop, generator_mode_items);
|
||||
RNA_def_property_ui_text(prop, "Mode", "Type of generator to use.");
|
||||
RNA_def_property_ui_text(prop, "Mode", "Type of generator to use");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_EDIT, NULL);
|
||||
|
||||
|
||||
@@ -444,7 +444,7 @@ static void rna_def_fmodifier_generator(BlenderRNA *brna)
|
||||
RNA_def_property_flag(prop, PROP_DYNAMIC);
|
||||
RNA_def_property_dynamic_array_funcs(prop, "rna_FModifierGenerator_coefficients_get_length");
|
||||
RNA_def_property_float_funcs(prop, "rna_FModifierGenerator_coefficients_get", "rna_FModifierGenerator_coefficients_set", NULL);
|
||||
RNA_def_property_ui_text(prop, "Coefficients", "Coefficients for 'x' (starting from lowest power of x^0).");
|
||||
RNA_def_property_ui_text(prop, "Coefficients", "Coefficients for 'x' (starting from lowest power of x^0)");
|
||||
}
|
||||
|
||||
/* --------- */
|
||||
@@ -464,36 +464,36 @@ static void rna_def_fmodifier_function_generator(BlenderRNA *brna)
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "FModifierFunctionGenerator", "FModifier");
|
||||
RNA_def_struct_ui_text(srna, "Built-In Function F-Modifier", "Generates values using a Built-In Function.");
|
||||
RNA_def_struct_ui_text(srna, "Built-In Function F-Modifier", "Generates values using a Built-In Function");
|
||||
RNA_def_struct_sdna_from(srna, "FMod_FunctionGenerator", "data");
|
||||
|
||||
/* coefficients */
|
||||
prop= RNA_def_property(srna, "amplitude", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_ui_text(prop, "Amplitude", "Scale factor determining the maximum/minimum values.");
|
||||
RNA_def_property_ui_text(prop, "Amplitude", "Scale factor determining the maximum/minimum values");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_EDIT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "phase_multiplier", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_ui_text(prop, "Phase Multiplier", "Scale factor determining the 'speed' of the function.");
|
||||
RNA_def_property_ui_text(prop, "Phase Multiplier", "Scale factor determining the 'speed' of the function");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_EDIT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "phase_offset", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_ui_text(prop, "Phase Offset", "Constant factor to offset time by for function.");
|
||||
RNA_def_property_ui_text(prop, "Phase Offset", "Constant factor to offset time by for function");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_EDIT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "value_offset", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_ui_text(prop, "Value Offset", "Constant factor to offset values by.");
|
||||
RNA_def_property_ui_text(prop, "Value Offset", "Constant factor to offset values by");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_EDIT, NULL);
|
||||
|
||||
/* flags */
|
||||
prop= RNA_def_property(srna, "additive", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", FCM_GENERATOR_ADDITIVE);
|
||||
RNA_def_property_ui_text(prop, "Additive", "Values generated by this modifier are applied on top of the existing values instead of overwriting them.");
|
||||
RNA_def_property_ui_text(prop, "Additive", "Values generated by this modifier are applied on top of the existing values instead of overwriting them");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_EDIT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "function_type", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "type");
|
||||
RNA_def_property_enum_items(prop, prop_type_items);
|
||||
RNA_def_property_ui_text(prop, "Type", "Type of built-in function to use.");
|
||||
RNA_def_property_ui_text(prop, "Type", "Type of built-in function to use");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_EDIT, NULL);
|
||||
}
|
||||
|
||||
@@ -505,7 +505,7 @@ static void rna_def_fmodifier_envelope_ctrl(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
srna= RNA_def_struct(brna, "FModifierEnvelopeControlPoint", NULL);
|
||||
RNA_def_struct_ui_text(srna, "Envelope Control Point", "Control point for envelope F-Modifier.");
|
||||
RNA_def_struct_ui_text(srna, "Envelope Control Point", "Control point for envelope F-Modifier");
|
||||
RNA_def_struct_sdna(srna, "FCM_EnvelopeData");
|
||||
|
||||
/* min/max extents
|
||||
@@ -514,18 +514,18 @@ static void rna_def_fmodifier_envelope_ctrl(BlenderRNA *brna)
|
||||
*/
|
||||
prop= RNA_def_property(srna, "minimum", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "min");
|
||||
RNA_def_property_ui_text(prop, "Minimum Value", "Lower bound of envelope at this control-point.");
|
||||
RNA_def_property_ui_text(prop, "Minimum Value", "Lower bound of envelope at this control-point");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_EDIT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "maximum", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "max");
|
||||
RNA_def_property_ui_text(prop, "Maximum Value", "Upper bound of envelope at this control-point.");
|
||||
RNA_def_property_ui_text(prop, "Maximum Value", "Upper bound of envelope at this control-point");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_EDIT, NULL);
|
||||
|
||||
/* Frame */
|
||||
prop= RNA_def_property(srna, "frame", PROP_FLOAT, PROP_TIME);
|
||||
RNA_def_property_float_sdna(prop, NULL, "time");
|
||||
RNA_def_property_ui_text(prop, "Frame", "Frame this control-point occurs on.");
|
||||
RNA_def_property_ui_text(prop, "Frame", "Frame this control-point occurs on");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_EDIT, NULL);
|
||||
|
||||
// TODO:
|
||||
@@ -538,29 +538,29 @@ static void rna_def_fmodifier_envelope(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
srna= RNA_def_struct(brna, "FModifierEnvelope", "FModifier");
|
||||
RNA_def_struct_ui_text(srna, "Envelope F-Modifier", "Scales the values of the modified F-Curve.");
|
||||
RNA_def_struct_ui_text(srna, "Envelope F-Modifier", "Scales the values of the modified F-Curve");
|
||||
RNA_def_struct_sdna_from(srna, "FMod_Envelope", "data");
|
||||
|
||||
/* Collections */
|
||||
prop= RNA_def_property(srna, "control_points", PROP_COLLECTION, PROP_NONE);
|
||||
RNA_def_property_collection_sdna(prop, NULL, "data", "totvert");
|
||||
RNA_def_property_struct_type(prop, "FModifierEnvelopeControlPoint");
|
||||
RNA_def_property_ui_text(prop, "Control Points", "Control points defining the shape of the envelope.");
|
||||
RNA_def_property_ui_text(prop, "Control Points", "Control points defining the shape of the envelope");
|
||||
|
||||
/* Range Settings */
|
||||
prop= RNA_def_property(srna, "reference_value", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "midval");
|
||||
RNA_def_property_ui_text(prop, "Reference Value", "Value that envelope's influence is centered around / based on.");
|
||||
RNA_def_property_ui_text(prop, "Reference Value", "Value that envelope's influence is centered around / based on");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_EDIT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "default_minimum", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "min");
|
||||
RNA_def_property_ui_text(prop, "Default Minimum", "Lower distance from Reference Value for 1:1 default influence.");
|
||||
RNA_def_property_ui_text(prop, "Default Minimum", "Lower distance from Reference Value for 1:1 default influence");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_EDIT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "default_maximum", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "max");
|
||||
RNA_def_property_ui_text(prop, "Default Maximum", "Upper distance from Reference Value for 1:1 default influence.");
|
||||
RNA_def_property_ui_text(prop, "Default Maximum", "Upper distance from Reference Value for 1:1 default influence");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_EDIT, NULL);
|
||||
}
|
||||
|
||||
@@ -579,13 +579,13 @@ static void rna_def_fmodifier_cycles(BlenderRNA *brna)
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "FModifierCycles", "FModifier");
|
||||
RNA_def_struct_ui_text(srna, "Cycles F-Modifier", "Repeats the values of the modified F-Curve.");
|
||||
RNA_def_struct_ui_text(srna, "Cycles F-Modifier", "Repeats the values of the modified F-Curve");
|
||||
RNA_def_struct_sdna_from(srna, "FMod_Cycles", "data");
|
||||
|
||||
/* before */
|
||||
prop= RNA_def_property(srna, "before_mode", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_items(prop, prop_type_items);
|
||||
RNA_def_property_ui_text(prop, "Before Mode", "Cycling mode to use before first keyframe.");
|
||||
RNA_def_property_ui_text(prop, "Before Mode", "Cycling mode to use before first keyframe");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_EDIT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "before_cycles", PROP_FLOAT, PROP_NONE);
|
||||
@@ -595,7 +595,7 @@ static void rna_def_fmodifier_cycles(BlenderRNA *brna)
|
||||
/* after */
|
||||
prop= RNA_def_property(srna, "after_mode", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_items(prop, prop_type_items);
|
||||
RNA_def_property_ui_text(prop, "After Mode", "Cycling mode to use after last keyframe.");
|
||||
RNA_def_property_ui_text(prop, "After Mode", "Cycling mode to use after last keyframe");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_EDIT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "after_cycles", PROP_FLOAT, PROP_NONE);
|
||||
@@ -611,7 +611,7 @@ static void rna_def_fmodifier_python(BlenderRNA *brna)
|
||||
//PropertyRNA *prop;
|
||||
|
||||
srna= RNA_def_struct(brna, "FModifierPython", "FModifier");
|
||||
RNA_def_struct_ui_text(srna, "Python F-Modifier", "Performs user-defined operation on the modified F-Curve.");
|
||||
RNA_def_struct_ui_text(srna, "Python F-Modifier", "Performs user-defined operation on the modified F-Curve");
|
||||
RNA_def_struct_sdna_from(srna, "FMod_Python", "data");
|
||||
}
|
||||
|
||||
@@ -623,47 +623,47 @@ static void rna_def_fmodifier_limits(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
srna= RNA_def_struct(brna, "FModifierLimits", "FModifier");
|
||||
RNA_def_struct_ui_text(srna, "Limits F-Modifier", "Limits the time/value ranges of the modified F-Curve.");
|
||||
RNA_def_struct_ui_text(srna, "Limits F-Modifier", "Limits the time/value ranges of the modified F-Curve");
|
||||
RNA_def_struct_sdna_from(srna, "FMod_Limits", "data");
|
||||
|
||||
prop= RNA_def_property(srna, "use_minimum_x", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", FCM_LIMIT_XMIN);
|
||||
RNA_def_property_ui_text(prop, "Minimum X", "Use the minimum X value.");
|
||||
RNA_def_property_ui_text(prop, "Minimum X", "Use the minimum X value");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_EDIT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "use_minimum_y", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", FCM_LIMIT_YMIN);
|
||||
RNA_def_property_ui_text(prop, "Minimum Y", "Use the minimum Y value.");
|
||||
RNA_def_property_ui_text(prop, "Minimum Y", "Use the minimum Y value");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_EDIT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "use_maximum_x", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", FCM_LIMIT_XMAX);
|
||||
RNA_def_property_ui_text(prop, "Maximum X", "Use the maximum X value.");
|
||||
RNA_def_property_ui_text(prop, "Maximum X", "Use the maximum X value");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_EDIT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "use_maximum_y", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", FCM_LIMIT_YMAX);
|
||||
RNA_def_property_ui_text(prop, "Maximum Y", "Use the maximum Y value.");
|
||||
RNA_def_property_ui_text(prop, "Maximum Y", "Use the maximum Y value");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_EDIT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "minimum_x", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "rect.xmin");
|
||||
RNA_def_property_ui_text(prop, "Minimum X", "Lowest X value to allow.");
|
||||
RNA_def_property_ui_text(prop, "Minimum X", "Lowest X value to allow");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_EDIT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "minimum_y", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "rect.ymin");
|
||||
RNA_def_property_ui_text(prop, "Minimum Y", "Lowest Y value to allow.");
|
||||
RNA_def_property_ui_text(prop, "Minimum Y", "Lowest Y value to allow");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_EDIT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "maximum_x", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "rect.xmax");
|
||||
RNA_def_property_ui_text(prop, "Maximum X", "Highest X value to allow.");
|
||||
RNA_def_property_ui_text(prop, "Maximum X", "Highest X value to allow");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_EDIT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "maximum_y", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "rect.ymax");
|
||||
RNA_def_property_ui_text(prop, "Maximum Y", "Highest Y value to allow.");
|
||||
RNA_def_property_ui_text(prop, "Maximum Y", "Highest Y value to allow");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_EDIT, NULL);
|
||||
}
|
||||
|
||||
@@ -682,12 +682,12 @@ static void rna_def_fmodifier_noise(BlenderRNA *brna)
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "FModifierNoise", "FModifier");
|
||||
RNA_def_struct_ui_text(srna, "Noise F-Modifier", "Gives randomness to the modified F-Curve.");
|
||||
RNA_def_struct_ui_text(srna, "Noise F-Modifier", "Gives randomness to the modified F-Curve");
|
||||
RNA_def_struct_sdna_from(srna, "FMod_Noise", "data");
|
||||
|
||||
prop= RNA_def_property(srna, "modification", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_items(prop, prop_modification_items);
|
||||
RNA_def_property_ui_text(prop, "Modification", "Method of modifying the existing F-Curve.");
|
||||
RNA_def_property_ui_text(prop, "Modification", "Method of modifying the existing F-Curve");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_EDIT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "size", PROP_FLOAT, PROP_NONE);
|
||||
@@ -723,13 +723,13 @@ static void rna_def_fmodifier(BlenderRNA *brna)
|
||||
/* base struct definition */
|
||||
srna= RNA_def_struct(brna, "FModifier", NULL);
|
||||
RNA_def_struct_refine_func(srna, "rna_FModifierType_refine");
|
||||
RNA_def_struct_ui_text(srna, "F-Modifier", "Modifier for values of F-Curve.");
|
||||
RNA_def_struct_ui_text(srna, "F-Modifier", "Modifier for values of F-Curve");
|
||||
|
||||
#if 0 // XXX not used yet
|
||||
/* name */
|
||||
prop= RNA_def_property(srna, "name", PROP_STRING, PROP_NONE);
|
||||
RNA_def_struct_name_property(srna, prop);
|
||||
RNA_def_property_ui_text(prop, "Name", "Short description of F-Curve Modifier.");
|
||||
RNA_def_property_ui_text(prop, "Name", "Short description of F-Curve Modifier");
|
||||
#endif // XXX not used yet
|
||||
|
||||
/* type */
|
||||
@@ -741,19 +741,19 @@ static void rna_def_fmodifier(BlenderRNA *brna)
|
||||
/* settings */
|
||||
prop= RNA_def_property(srna, "expanded", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", FMODIFIER_FLAG_EXPANDED);
|
||||
RNA_def_property_ui_text(prop, "Expanded", "F-Curve Modifier's panel is expanded in UI.");
|
||||
RNA_def_property_ui_text(prop, "Expanded", "F-Curve Modifier's panel is expanded in UI");
|
||||
RNA_def_property_ui_icon(prop, ICON_TRIA_RIGHT, 1);
|
||||
|
||||
prop= RNA_def_property(srna, "muted", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", FMODIFIER_FLAG_MUTED);
|
||||
RNA_def_property_ui_text(prop, "Muted", "F-Curve Modifier will not be evaluated.");
|
||||
RNA_def_property_ui_text(prop, "Muted", "F-Curve Modifier will not be evaluated");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_PROP, NULL);
|
||||
RNA_def_property_ui_icon(prop, ICON_MUTE_IPO_OFF, 1);
|
||||
|
||||
prop= RNA_def_property(srna, "disabled", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", FMODIFIER_FLAG_DISABLED);
|
||||
RNA_def_property_ui_text(prop, "Disabled", "F-Curve Modifier has invalid settings and will not be evaluated.");
|
||||
RNA_def_property_ui_text(prop, "Disabled", "F-Curve Modifier has invalid settings and will not be evaluated");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_PROP, NULL);
|
||||
|
||||
// TODO: setting this to true must ensure that all others in stack are turned off too...
|
||||
@@ -785,7 +785,7 @@ static void rna_def_drivertarget(BlenderRNA *brna)
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "DriverTarget", NULL);
|
||||
RNA_def_struct_ui_text(srna, "Driver Target", "Source of input values for driver variables.");
|
||||
RNA_def_struct_ui_text(srna, "Driver Target", "Source of input values for driver variables");
|
||||
|
||||
/* Target Properties - ID-block to Drive */
|
||||
prop= RNA_def_property(srna, "id", PROP_POINTER, PROP_NONE);
|
||||
@@ -802,29 +802,29 @@ static void rna_def_drivertarget(BlenderRNA *brna)
|
||||
RNA_def_property_enum_default(prop, ID_OB);
|
||||
RNA_def_property_enum_funcs(prop, NULL, "rna_DriverTarget_id_type_set", NULL);
|
||||
RNA_def_property_editable_func(prop, "rna_DriverTarget_id_type_editable");
|
||||
RNA_def_property_ui_text(prop, "ID Type", "Type of ID-block that can be used.");
|
||||
RNA_def_property_ui_text(prop, "ID Type", "Type of ID-block that can be used");
|
||||
RNA_def_property_update(prop, 0, "rna_DriverTarget_update_data");
|
||||
|
||||
/* Target Properties - Property to Drive */
|
||||
prop= RNA_def_property(srna, "data_path", PROP_STRING, PROP_NONE);
|
||||
RNA_def_property_string_funcs(prop, "rna_DriverTarget_RnaPath_get", "rna_DriverTarget_RnaPath_length", "rna_DriverTarget_RnaPath_set");
|
||||
RNA_def_property_ui_text(prop, "Data Path", "RNA Path (from ID-block) to property used.");
|
||||
RNA_def_property_ui_text(prop, "Data Path", "RNA Path (from ID-block) to property used");
|
||||
RNA_def_property_update(prop, 0, "rna_DriverTarget_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "bone_target", PROP_STRING, PROP_NONE);
|
||||
RNA_def_property_string_sdna(prop, NULL, "pchan_name");
|
||||
RNA_def_property_ui_text(prop, "Bone Name", "Name of PoseBone to use as target.");
|
||||
RNA_def_property_ui_text(prop, "Bone Name", "Name of PoseBone to use as target");
|
||||
RNA_def_property_update(prop, 0, "rna_DriverTarget_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "transform_type", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "transChan");
|
||||
RNA_def_property_enum_items(prop, prop_trans_chan_items);
|
||||
RNA_def_property_ui_text(prop, "Type", "Driver variable type.");
|
||||
RNA_def_property_ui_text(prop, "Type", "Driver variable type");
|
||||
RNA_def_property_update(prop, 0, "rna_DriverTarget_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "use_local_space_transforms", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", DTAR_FLAG_LOCALSPACE);
|
||||
RNA_def_property_ui_text(prop, "Local Space", "Use transforms in Local Space (as opposed to the worldspace default).");
|
||||
RNA_def_property_ui_text(prop, "Local Space", "Use transforms in Local Space (as opposed to the worldspace default)");
|
||||
RNA_def_property_update(prop, 0, "rna_DriverTarget_update_data");
|
||||
}
|
||||
|
||||
@@ -843,7 +843,7 @@ static void rna_def_drivervar(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "DriverVariable", NULL);
|
||||
RNA_def_struct_sdna(srna, "DriverVar");
|
||||
RNA_def_struct_ui_text(srna, "Driver Variable", "Variable from some source/target for driver relationship.");
|
||||
RNA_def_struct_ui_text(srna, "Driver Variable", "Variable from some source/target for driver relationship");
|
||||
|
||||
/* Variable Name */
|
||||
prop= RNA_def_property(srna, "name", PROP_STRING, PROP_NONE);
|
||||
@@ -855,7 +855,7 @@ static void rna_def_drivervar(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "type", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_items(prop, prop_type_items);
|
||||
RNA_def_property_enum_funcs(prop, NULL, "rna_DriverVariable_type_set", NULL);
|
||||
RNA_def_property_ui_text(prop, "Type", "Driver variable type.");
|
||||
RNA_def_property_ui_text(prop, "Type", "Driver variable type");
|
||||
RNA_def_property_update(prop, 0, "rna_ChannelDriver_update_data"); // XXX
|
||||
|
||||
/* Targets */
|
||||
@@ -863,7 +863,7 @@ static void rna_def_drivervar(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "targets", PROP_COLLECTION, PROP_NONE);
|
||||
RNA_def_property_collection_sdna(prop, NULL, "targets", "num_targets");
|
||||
RNA_def_property_struct_type(prop, "DriverTarget");
|
||||
RNA_def_property_ui_text(prop, "Targets", "Sources of input data for evaluating this variable.");
|
||||
RNA_def_property_ui_text(prop, "Targets", "Sources of input data for evaluating this variable");
|
||||
}
|
||||
|
||||
|
||||
@@ -879,7 +879,7 @@ static void rna_def_channeldriver_variables(BlenderRNA *brna, PropertyRNA *cprop
|
||||
RNA_def_property_srna(cprop, "ChannelDriverVariables");
|
||||
srna= RNA_def_struct(brna, "ChannelDriverVariables", NULL);
|
||||
RNA_def_struct_sdna(srna, "ChannelDriver");
|
||||
RNA_def_struct_ui_text(srna, "ChannelDriver Variables", "Collection of channel driver Variables.");
|
||||
RNA_def_struct_ui_text(srna, "ChannelDriver Variables", "Collection of channel driver Variables");
|
||||
|
||||
|
||||
/* add variable */
|
||||
@@ -912,30 +912,30 @@ static void rna_def_channeldriver(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "Driver", NULL);
|
||||
RNA_def_struct_sdna(srna, "ChannelDriver");
|
||||
RNA_def_struct_ui_text(srna, "Driver", "Driver for the value of a setting based on an external value.");
|
||||
RNA_def_struct_ui_text(srna, "Driver", "Driver for the value of a setting based on an external value");
|
||||
|
||||
/* Enums */
|
||||
prop= RNA_def_property(srna, "type", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_items(prop, prop_type_items);
|
||||
RNA_def_property_ui_text(prop, "Type", "Driver type.");
|
||||
RNA_def_property_ui_text(prop, "Type", "Driver type");
|
||||
RNA_def_property_update(prop, 0, "rna_ChannelDriver_update_data");
|
||||
|
||||
/* String values */
|
||||
prop= RNA_def_property(srna, "expression", PROP_STRING, PROP_NONE);
|
||||
RNA_def_property_ui_text(prop, "Expression", "Expression to use for Scripted Expression.");
|
||||
RNA_def_property_ui_text(prop, "Expression", "Expression to use for Scripted Expression");
|
||||
RNA_def_property_update(prop, 0, "rna_ChannelDriver_update_expr");
|
||||
|
||||
/* Collections */
|
||||
prop= RNA_def_property(srna, "variables", PROP_COLLECTION, PROP_NONE);
|
||||
RNA_def_property_collection_sdna(prop, NULL, "variables", NULL);
|
||||
RNA_def_property_struct_type(prop, "DriverVariable");
|
||||
RNA_def_property_ui_text(prop, "Variables", "Properties acting as inputs for this driver.");
|
||||
RNA_def_property_ui_text(prop, "Variables", "Properties acting as inputs for this driver");
|
||||
rna_def_channeldriver_variables(brna, prop);
|
||||
|
||||
/* Settings */
|
||||
prop= RNA_def_property(srna, "show_debug_info", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", DRIVER_FLAG_SHOWDEBUG);
|
||||
RNA_def_property_ui_text(prop, "Show Debug Info", "Show intermediate values for the driver calculations to allow debugging of drivers.");
|
||||
RNA_def_property_ui_text(prop, "Show Debug Info", "Show intermediate values for the driver calculations to allow debugging of drivers");
|
||||
|
||||
/* Functions */
|
||||
RNA_api_drivers(srna);
|
||||
@@ -950,7 +950,7 @@ static void rna_def_fpoint(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "FCurveSample", NULL);
|
||||
RNA_def_struct_sdna(srna, "FPoint");
|
||||
RNA_def_struct_ui_text(srna, "F-Curve Sample", "Sample point for F-Curve.");
|
||||
RNA_def_struct_ui_text(srna, "F-Curve Sample", "Sample point for F-Curve");
|
||||
|
||||
/* Boolean values */
|
||||
prop= RNA_def_property(srna, "selected", PROP_BOOLEAN, PROP_NONE);
|
||||
@@ -977,7 +977,7 @@ static void rna_def_fkeyframe(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "Keyframe", NULL);
|
||||
RNA_def_struct_sdna(srna, "BezTriple");
|
||||
RNA_def_struct_ui_text(srna, "Keyframe", "Bezier curve point with two handles defining a Keyframe on an F-Curve.");
|
||||
RNA_def_struct_ui_text(srna, "Keyframe", "Bezier curve point with two handles defining a Keyframe on an F-Curve");
|
||||
|
||||
/* Boolean values */
|
||||
prop= RNA_def_property(srna, "selected_handle1", PROP_BOOLEAN, PROP_NONE);
|
||||
@@ -1011,13 +1011,13 @@ static void rna_def_fkeyframe(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "interpolation", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "ipo");
|
||||
RNA_def_property_enum_items(prop, beztriple_interpolation_mode_items);
|
||||
RNA_def_property_ui_text(prop, "Interpolation", "Interpolation method to use for segment of the curve from this Keyframe until the next Keyframe.");
|
||||
RNA_def_property_ui_text(prop, "Interpolation", "Interpolation method to use for segment of the curve from this Keyframe until the next Keyframe");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_PROP, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "type", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "hide");
|
||||
RNA_def_property_enum_items(prop, beztriple_keyframe_type_items);
|
||||
RNA_def_property_ui_text(prop, "Type", "The type of keyframe.");
|
||||
RNA_def_property_ui_text(prop, "Type", "The type of keyframe");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_PROP, NULL);
|
||||
|
||||
/* Vector values */
|
||||
@@ -1053,7 +1053,7 @@ static void rna_def_fcurve_modifiers(BlenderRNA *brna, PropertyRNA *cprop)
|
||||
RNA_def_property_srna(cprop, "FCurveModifiers");
|
||||
srna= RNA_def_struct(brna, "FCurveModifiers", NULL);
|
||||
RNA_def_struct_sdna(srna, "FCurve");
|
||||
RNA_def_struct_ui_text(srna, "F-Curve Modifiers", "Collection of F-Curve Modifiers.");
|
||||
RNA_def_struct_ui_text(srna, "F-Curve Modifiers", "Collection of F-Curve Modifiers");
|
||||
|
||||
|
||||
/* Collection active property */
|
||||
@@ -1061,7 +1061,7 @@ static void rna_def_fcurve_modifiers(BlenderRNA *brna, PropertyRNA *cprop)
|
||||
RNA_def_property_struct_type(prop, "FModifier");
|
||||
RNA_def_property_pointer_funcs(prop, "rna_FCurve_active_modifier_get", "rna_FCurve_active_modifier_set", NULL);
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_ui_text(prop, "Active F-Curve Modifier", "Active F-Curve Modifier.");
|
||||
RNA_def_property_ui_text(prop, "Active F-Curve Modifier", "Active F-Curve Modifier");
|
||||
|
||||
/* Constraint collection */
|
||||
func= RNA_def_function(srna, "new", "rna_FCurve_modifiers_new");
|
||||
@@ -1101,7 +1101,7 @@ static void rna_def_fcurve(BlenderRNA *brna)
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "FCurve", NULL);
|
||||
RNA_def_struct_ui_text(srna, "F-Curve", "F-Curve defining values of a period of time.");
|
||||
RNA_def_struct_ui_text(srna, "F-Curve", "F-Curve defining values of a period of time");
|
||||
RNA_def_struct_ui_icon(srna, ICON_ANIM_DATA);
|
||||
|
||||
/* Enums */
|
||||
@@ -1119,34 +1119,34 @@ static void rna_def_fcurve(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "group", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "grp");
|
||||
RNA_def_property_clear_flag(prop, PROP_EDITABLE); // XXX this is not editable for now, since editing this will easily break the visible hierarchy
|
||||
RNA_def_property_ui_text(prop, "Group", "Action Group that this F-Curve belongs to.");
|
||||
RNA_def_property_ui_text(prop, "Group", "Action Group that this F-Curve belongs to");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_FCURVES_ORDER, NULL);
|
||||
|
||||
/* Path + Array Index */
|
||||
prop= RNA_def_property(srna, "data_path", PROP_STRING, PROP_NONE);
|
||||
RNA_def_property_string_funcs(prop, "rna_FCurve_RnaPath_get", "rna_FCurve_RnaPath_length", "rna_FCurve_RnaPath_set");
|
||||
RNA_def_property_ui_text(prop, "Data Path", "RNA Path to property affected by F-Curve.");
|
||||
RNA_def_property_ui_text(prop, "Data Path", "RNA Path to property affected by F-Curve");
|
||||
RNA_def_property_update(prop, NC_ANIMATION, NULL); // XXX need an update callback for this to that animation gets evaluated
|
||||
|
||||
prop= RNA_def_property(srna, "array_index", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_ui_text(prop, "RNA Array Index", "Index to the specific property affected by F-Curve if applicable.");
|
||||
RNA_def_property_ui_text(prop, "RNA Array Index", "Index to the specific property affected by F-Curve if applicable");
|
||||
RNA_def_property_update(prop, NC_ANIMATION, NULL); // XXX need an update callback for this so that animation gets evaluated
|
||||
|
||||
/* Color */
|
||||
prop= RNA_def_property(srna, "color_mode", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_items(prop, prop_mode_color_items);
|
||||
RNA_def_property_ui_text(prop, "Color Mode", "Method used to determine color of F-Curve in Graph Editor.");
|
||||
RNA_def_property_ui_text(prop, "Color Mode", "Method used to determine color of F-Curve in Graph Editor");
|
||||
RNA_def_property_update(prop, NC_ANIMATION, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "color", PROP_FLOAT, PROP_COLOR);
|
||||
RNA_def_property_array(prop, 3);
|
||||
RNA_def_property_ui_text(prop, "Color", "Color of the F-Curve in the Graph Editor.");
|
||||
RNA_def_property_ui_text(prop, "Color", "Color of the F-Curve in the Graph Editor");
|
||||
RNA_def_property_update(prop, NC_ANIMATION, NULL);
|
||||
|
||||
/* Flags */
|
||||
prop= RNA_def_property(srna, "selected", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", FCURVE_SELECTED);
|
||||
RNA_def_property_ui_text(prop, "Selected", "F-Curve is selected for editing.");
|
||||
RNA_def_property_ui_text(prop, "Selected", "F-Curve is selected for editing");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_SELECT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "locked", PROP_BOOLEAN, PROP_NONE);
|
||||
@@ -1156,17 +1156,17 @@ static void rna_def_fcurve(BlenderRNA *brna)
|
||||
|
||||
prop= RNA_def_property(srna, "muted", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", FCURVE_MUTED);
|
||||
RNA_def_property_ui_text(prop, "Muted", "F-Curve is not evaluated.");
|
||||
RNA_def_property_ui_text(prop, "Muted", "F-Curve is not evaluated");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_ANIMCHAN_EDIT, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "auto_clamped_handles", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", FCURVE_AUTO_HANDLES);
|
||||
RNA_def_property_ui_text(prop, "Auto Clamped Handles", "All auto-handles for F-Curve are clamped.");
|
||||
RNA_def_property_ui_text(prop, "Auto Clamped Handles", "All auto-handles for F-Curve are clamped");
|
||||
RNA_def_property_update(prop, NC_ANIMATION|ND_KEYFRAME_PROP, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "visible", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", FCURVE_VISIBLE);
|
||||
RNA_def_property_ui_text(prop, "Visible", "F-Curve and its keyframes are shown in the Graph Editor graphs.");
|
||||
RNA_def_property_ui_text(prop, "Visible", "F-Curve and its keyframes are shown in the Graph Editor graphs");
|
||||
RNA_def_property_update(prop, NC_SPACE|ND_SPACE_GRAPH, NULL);
|
||||
|
||||
/* Collections */
|
||||
@@ -1182,7 +1182,7 @@ static void rna_def_fcurve(BlenderRNA *brna)
|
||||
|
||||
prop= RNA_def_property(srna, "modifiers", PROP_COLLECTION, PROP_NONE);
|
||||
RNA_def_property_struct_type(prop, "FModifier");
|
||||
RNA_def_property_ui_text(prop, "Modifiers", "Modifiers affecting the shape of the F-Curve.");
|
||||
RNA_def_property_ui_text(prop, "Modifiers", "Modifiers affecting the shape of the F-Curve");
|
||||
|
||||
rna_def_fcurve_modifiers(brna, prop);
|
||||
}
|
||||
|
||||
@@ -179,7 +179,7 @@ static void rna_def_fluidsim_slip(StructRNA *srna)
|
||||
prop= RNA_def_property(srna, "partial_slip_factor", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "partSlipValue");
|
||||
RNA_def_property_range(prop, 0.0f, 1.0f);
|
||||
RNA_def_property_ui_text(prop, "Partial Slip Amount", "Amount of mixing between no- and free-slip, 0 is no slip and 1 is free slip.");
|
||||
RNA_def_property_ui_text(prop, "Partial Slip Amount", "Amount of mixing between no- and free-slip, 0 is no slip and 1 is free slip");
|
||||
}
|
||||
|
||||
static void rna_def_fluidsim_domain(BlenderRNA *brna)
|
||||
@@ -202,55 +202,55 @@ static void rna_def_fluidsim_domain(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "DomainFluidSettings", "FluidSettings");
|
||||
RNA_def_struct_sdna(srna, "FluidsimSettings");
|
||||
RNA_def_struct_ui_text(srna, "Domain Fluid Simulation Settings", "Fluid simulation settings for the domain of a fluid simulation.");
|
||||
RNA_def_struct_ui_text(srna, "Domain Fluid Simulation Settings", "Fluid simulation settings for the domain of a fluid simulation");
|
||||
|
||||
/* standard settings */
|
||||
|
||||
prop= RNA_def_property(srna, "resolution", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "resolutionxyz");
|
||||
RNA_def_property_range(prop, 1, 1024);
|
||||
RNA_def_property_ui_text(prop, "Resolution", "Domain resolution in X,Y and Z direction.");
|
||||
RNA_def_property_ui_text(prop, "Resolution", "Domain resolution in X,Y and Z direction");
|
||||
|
||||
prop= RNA_def_property(srna, "preview_resolution", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "previewresxyz");
|
||||
RNA_def_property_range(prop, 1, 100);
|
||||
RNA_def_property_ui_text(prop, "Preview Resolution", "Preview resolution in X,Y and Z direction.");
|
||||
RNA_def_property_ui_text(prop, "Preview Resolution", "Preview resolution in X,Y and Z direction");
|
||||
|
||||
prop= RNA_def_property(srna, "start_time", PROP_FLOAT, PROP_TIME);
|
||||
RNA_def_property_float_sdna(prop, NULL, "animStart");
|
||||
RNA_def_property_range(prop, 0, 100);
|
||||
RNA_def_property_ui_text(prop, "Start Time", "Simulation time of the first blender frame.");
|
||||
RNA_def_property_ui_text(prop, "Start Time", "Simulation time of the first blender frame");
|
||||
|
||||
prop= RNA_def_property(srna, "end_time", PROP_FLOAT, PROP_TIME);
|
||||
RNA_def_property_float_sdna(prop, NULL, "animEnd");
|
||||
RNA_def_property_range(prop, 0, 100);
|
||||
RNA_def_property_ui_text(prop, "End Time", "Simulation time of the last blender frame.");
|
||||
RNA_def_property_ui_text(prop, "End Time", "Simulation time of the last blender frame");
|
||||
|
||||
prop= RNA_def_property(srna, "viewport_display_mode", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "guiDisplayMode");
|
||||
RNA_def_property_enum_items(prop, quality_items);
|
||||
RNA_def_property_ui_text(prop, "Viewport Display Mode", "How to display the mesh in the viewport.");
|
||||
RNA_def_property_ui_text(prop, "Viewport Display Mode", "How to display the mesh in the viewport");
|
||||
RNA_def_property_update(prop, 0, "rna_fluid_update");
|
||||
|
||||
prop= RNA_def_property(srna, "render_display_mode", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "renderDisplayMode");
|
||||
RNA_def_property_enum_items(prop, quality_items);
|
||||
RNA_def_property_ui_text(prop, "Render Display Mode", "How to display the mesh for rendering.");
|
||||
RNA_def_property_ui_text(prop, "Render Display Mode", "How to display the mesh for rendering");
|
||||
|
||||
prop= RNA_def_property(srna, "reverse_frames", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", OB_FLUIDSIM_REVERSE);
|
||||
RNA_def_property_ui_text(prop, "Reverse Frames", "Reverse fluid frames.");
|
||||
RNA_def_property_ui_text(prop, "Reverse Frames", "Reverse fluid frames");
|
||||
|
||||
prop= RNA_def_property(srna, "path", PROP_STRING, PROP_DIRPATH);
|
||||
RNA_def_property_string_maxlength(prop, 240);
|
||||
RNA_def_property_string_sdna(prop, NULL, "surfdataPath");
|
||||
RNA_def_property_ui_text(prop, "Path", "Directory (and/or filename prefix) to store baked fluid simulation files in.");
|
||||
RNA_def_property_ui_text(prop, "Path", "Directory (and/or filename prefix) to store baked fluid simulation files in");
|
||||
RNA_def_property_update(prop, 0, "rna_fluid_update");
|
||||
|
||||
prop= RNA_def_property(srna, "memory_estimate", PROP_STRING, PROP_NONE);
|
||||
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_string_funcs(prop, "rna_DomainFluidSettings_memory_estimate_get", "rna_DomainFluidSettings_memory_estimate_length", NULL);
|
||||
RNA_def_property_ui_text(prop, "Memory Estimate", "Estimated amount of memory needed for baking the domain.");
|
||||
RNA_def_property_ui_text(prop, "Memory Estimate", "Estimated amount of memory needed for baking the domain");
|
||||
|
||||
/* advanced settings */
|
||||
|
||||
@@ -258,32 +258,32 @@ static void rna_def_fluidsim_domain(BlenderRNA *brna)
|
||||
RNA_def_property_float_sdna(prop, NULL, "gravx");
|
||||
RNA_def_property_array(prop, 3);
|
||||
RNA_def_property_range(prop, -1000.1, 1000.1);
|
||||
RNA_def_property_ui_text(prop, "Gravity", "Gravity in X, Y and Z direction.");
|
||||
RNA_def_property_ui_text(prop, "Gravity", "Gravity in X, Y and Z direction");
|
||||
|
||||
prop= RNA_def_property(srna, "viscosity_preset", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "viscosityMode");
|
||||
RNA_def_property_enum_items(prop, viscosity_items);
|
||||
RNA_def_property_ui_text(prop, "Viscosity Preset", "Set viscosity of the fluid to a preset value, or use manual input.");
|
||||
RNA_def_property_ui_text(prop, "Viscosity Preset", "Set viscosity of the fluid to a preset value, or use manual input");
|
||||
|
||||
prop= RNA_def_property(srna, "viscosity_base", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "viscosityValue");
|
||||
RNA_def_property_range(prop, 0, 10);
|
||||
RNA_def_property_ui_text(prop, "Viscosity Base", "Viscosity setting: value that is multiplied by 10 to the power of (exponent*-1).");
|
||||
RNA_def_property_ui_text(prop, "Viscosity Base", "Viscosity setting: value that is multiplied by 10 to the power of (exponent*-1)");
|
||||
|
||||
prop= RNA_def_property(srna, "viscosity_exponent", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "viscosityExponent");
|
||||
RNA_def_property_range(prop, 0, 10);
|
||||
RNA_def_property_ui_text(prop, "Viscosity Exponent", "Negative exponent for the viscosity value (to simplify entering small values e.g. 5*10^-6.).");
|
||||
RNA_def_property_ui_text(prop, "Viscosity Exponent", "Negative exponent for the viscosity value (to simplify entering small values e.g. 5*10^-6.)");
|
||||
|
||||
prop= RNA_def_property(srna, "real_world_size", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "realsize");
|
||||
RNA_def_property_range(prop, 0.001, 10);
|
||||
RNA_def_property_ui_text(prop, "Real World Size", "Size of the simulation domain in metres.");
|
||||
RNA_def_property_ui_text(prop, "Real World Size", "Size of the simulation domain in metres");
|
||||
|
||||
prop= RNA_def_property(srna, "grid_levels", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "maxRefine");
|
||||
RNA_def_property_range(prop, -1, 4);
|
||||
RNA_def_property_ui_text(prop, "Grid Levels", "Number of coarsened grids to use (-1 for automatic).");
|
||||
RNA_def_property_ui_text(prop, "Grid Levels", "Number of coarsened grids to use (-1 for automatic)");
|
||||
|
||||
prop= RNA_def_property(srna, "compressibility", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "gstar");
|
||||
@@ -297,7 +297,7 @@ static void rna_def_fluidsim_domain(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "surface_smoothing", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "surfaceSmoothing");
|
||||
RNA_def_property_range(prop, 0.0, 5.0);
|
||||
RNA_def_property_ui_text(prop, "Surface Smoothing", "Amount of surface smoothing. A value of 0 is off, 1 is normal smoothing and more than 1 is extra smoothing.");
|
||||
RNA_def_property_ui_text(prop, "Surface Smoothing", "Amount of surface smoothing. A value of 0 is off, 1 is normal smoothing and more than 1 is extra smoothing");
|
||||
|
||||
prop= RNA_def_property(srna, "surface_subdivisions", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "surfaceSubdivs");
|
||||
@@ -306,7 +306,7 @@ static void rna_def_fluidsim_domain(BlenderRNA *brna)
|
||||
|
||||
prop= RNA_def_property(srna, "generate_speed_vectors", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "domainNovecgen", 0);
|
||||
RNA_def_property_ui_text(prop, "Generate Speed Vectors", "Generate speed vectors for vector blur.");
|
||||
RNA_def_property_ui_text(prop, "Generate Speed Vectors", "Generate speed vectors for vector blur");
|
||||
|
||||
/* particles */
|
||||
|
||||
@@ -318,7 +318,7 @@ static void rna_def_fluidsim_domain(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "generate_particles", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "generateParticles");
|
||||
RNA_def_property_range(prop, 0.0, 10.0);
|
||||
RNA_def_property_ui_text(prop, "Generate Particles", "Amount of particles to generate (0=off, 1=normal, >1=more).");
|
||||
RNA_def_property_ui_text(prop, "Generate Particles", "Amount of particles to generate (0=off, 1=normal, >1=more)");
|
||||
}
|
||||
|
||||
static void rna_def_fluidsim_volume(StructRNA *srna)
|
||||
@@ -334,11 +334,11 @@ static void rna_def_fluidsim_volume(StructRNA *srna)
|
||||
prop= RNA_def_property(srna, "volume_initialization", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_bitflag_sdna(prop, NULL, "volumeInitType");
|
||||
RNA_def_property_enum_items(prop, volume_type_items);
|
||||
RNA_def_property_ui_text(prop, "Volume Initialization", "Volume initialization type.");
|
||||
RNA_def_property_ui_text(prop, "Volume Initialization", "Volume initialization type");
|
||||
|
||||
prop= RNA_def_property(srna, "export_animated_mesh", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "domainNovecgen", 0);
|
||||
RNA_def_property_ui_text(prop, "Export Animated Mesh", "Export this mesh as an animated one. Slower, only use if really necessary (e.g. armatures or parented objects), animated pos/rot/scale IPOs do not require it.");
|
||||
RNA_def_property_ui_text(prop, "Export Animated Mesh", "Export this mesh as an animated one. Slower, only use if really necessary (e.g. armatures or parented objects), animated pos/rot/scale IPOs do not require it");
|
||||
}
|
||||
|
||||
static void rna_def_fluidsim_fluid(BlenderRNA *brna)
|
||||
@@ -348,7 +348,7 @@ static void rna_def_fluidsim_fluid(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "FluidFluidSettings", "FluidSettings");
|
||||
RNA_def_struct_sdna(srna, "FluidsimSettings");
|
||||
RNA_def_struct_ui_text(srna, "Fluid Fluid Simulation Settings", "Fluid simulation settings for the fluid in the simulation.");
|
||||
RNA_def_struct_ui_text(srna, "Fluid Fluid Simulation Settings", "Fluid simulation settings for the fluid in the simulation");
|
||||
|
||||
rna_def_fluidsim_volume(srna);
|
||||
|
||||
@@ -356,7 +356,7 @@ static void rna_def_fluidsim_fluid(BlenderRNA *brna)
|
||||
RNA_def_property_float_sdna(prop, NULL, "iniVelx");
|
||||
RNA_def_property_array(prop, 3);
|
||||
RNA_def_property_range(prop, -1000.1, 1000.1);
|
||||
RNA_def_property_ui_text(prop, "Initial Velocity", "Initial velocity of fluid.");
|
||||
RNA_def_property_ui_text(prop, "Initial Velocity", "Initial velocity of fluid");
|
||||
}
|
||||
|
||||
static void rna_def_fluidsim_obstacle(BlenderRNA *brna)
|
||||
@@ -366,7 +366,7 @@ static void rna_def_fluidsim_obstacle(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "ObstacleFluidSettings", "FluidSettings");
|
||||
RNA_def_struct_sdna(srna, "FluidsimSettings");
|
||||
RNA_def_struct_ui_text(srna, "Obstacle Fluid Simulation Settings", "Fluid simulation settings for obstacles in the simulation.");
|
||||
RNA_def_struct_ui_text(srna, "Obstacle Fluid Simulation Settings", "Fluid simulation settings for obstacles in the simulation");
|
||||
|
||||
rna_def_fluidsim_volume(srna);
|
||||
rna_def_fluidsim_slip(srna);
|
||||
@@ -374,7 +374,7 @@ static void rna_def_fluidsim_obstacle(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "impact_factor", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "surfaceSmoothing");
|
||||
RNA_def_property_range(prop, -2.0, 10.0);
|
||||
RNA_def_property_ui_text(prop, "Impact Factor", "This is an unphysical value for moving objects - it controls the impact an obstacle has on the fluid, =0 behaves a bit like outflow (deleting fluid), =1 is default, while >1 results in high forces. Can be used to tweak total mass.");
|
||||
RNA_def_property_ui_text(prop, "Impact Factor", "This is an unphysical value for moving objects - it controls the impact an obstacle has on the fluid, =0 behaves a bit like outflow (deleting fluid), =1 is default, while >1 results in high forces. Can be used to tweak total mass");
|
||||
}
|
||||
|
||||
static void rna_def_fluidsim_inflow(BlenderRNA *brna)
|
||||
@@ -384,7 +384,7 @@ static void rna_def_fluidsim_inflow(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "InflowFluidSettings", "FluidSettings");
|
||||
RNA_def_struct_sdna(srna, "FluidsimSettings");
|
||||
RNA_def_struct_ui_text(srna, "Inflow Fluid Simulation Settings", "Fluid simulation settings for objects adding fluids in the simulation.");
|
||||
RNA_def_struct_ui_text(srna, "Inflow Fluid Simulation Settings", "Fluid simulation settings for objects adding fluids in the simulation");
|
||||
|
||||
rna_def_fluidsim_volume(srna);
|
||||
|
||||
@@ -392,7 +392,7 @@ static void rna_def_fluidsim_inflow(BlenderRNA *brna)
|
||||
RNA_def_property_float_sdna(prop, NULL, "iniVelx");
|
||||
RNA_def_property_array(prop, 3);
|
||||
RNA_def_property_range(prop, -1000.1, 1000.1);
|
||||
RNA_def_property_ui_text(prop, "Inflow Velocity", "Initial velocity of fluid.");
|
||||
RNA_def_property_ui_text(prop, "Inflow Velocity", "Initial velocity of fluid");
|
||||
|
||||
prop= RNA_def_property(srna, "local_coordinates", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "typeFlags", OB_FSINFLOW_LOCALCOORD);
|
||||
@@ -405,7 +405,7 @@ static void rna_def_fluidsim_outflow(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "OutflowFluidSettings", "FluidSettings");
|
||||
RNA_def_struct_sdna(srna, "FluidsimSettings");
|
||||
RNA_def_struct_ui_text(srna, "Outflow Fluid Simulation Settings", "Fluid simulation settings for objects removing fluids from the simulation.");
|
||||
RNA_def_struct_ui_text(srna, "Outflow Fluid Simulation Settings", "Fluid simulation settings for objects removing fluids from the simulation");
|
||||
|
||||
rna_def_fluidsim_volume(srna);
|
||||
}
|
||||
@@ -417,24 +417,24 @@ static void rna_def_fluidsim_particle(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "ParticleFluidSettings", "FluidSettings");
|
||||
RNA_def_struct_sdna(srna, "FluidsimSettings");
|
||||
RNA_def_struct_ui_text(srna, "Particle Fluid Simulation Settings", "Fluid simulation settings for objects storing fluid particles generated by the simulation.");
|
||||
RNA_def_struct_ui_text(srna, "Particle Fluid Simulation Settings", "Fluid simulation settings for objects storing fluid particles generated by the simulation");
|
||||
|
||||
prop= RNA_def_property(srna, "drops", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "typeFlags", OB_FSPART_DROP);
|
||||
RNA_def_property_ui_text(prop, "Drops", "Show drop particles.");
|
||||
RNA_def_property_ui_text(prop, "Drops", "Show drop particles");
|
||||
|
||||
prop= RNA_def_property(srna, "floats", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "typeFlags", OB_FSPART_FLOAT);
|
||||
RNA_def_property_ui_text(prop, "Floats", "Show floating foam particles.");
|
||||
RNA_def_property_ui_text(prop, "Floats", "Show floating foam particles");
|
||||
|
||||
prop= RNA_def_property(srna, "tracer", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "typeFlags", OB_FSPART_TRACER);
|
||||
RNA_def_property_ui_text(prop, "Tracer", "Show tracer particles.");
|
||||
RNA_def_property_ui_text(prop, "Tracer", "Show tracer particles");
|
||||
|
||||
prop= RNA_def_property(srna, "particle_influence", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "particleInfSize");
|
||||
RNA_def_property_range(prop, 0.0, 2.0);
|
||||
RNA_def_property_ui_text(prop, "Particle Influence", "Amount of particle size scaling: 0=off (all same size), 1=full (range 0.2-2.0), >1=stronger.");
|
||||
RNA_def_property_ui_text(prop, "Particle Influence", "Amount of particle size scaling: 0=off (all same size), 1=full (range 0.2-2.0), >1=stronger");
|
||||
|
||||
prop= RNA_def_property(srna, "alpha_influence", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "particleInfAlpha");
|
||||
@@ -444,7 +444,7 @@ static void rna_def_fluidsim_particle(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "path", PROP_STRING, PROP_DIRPATH);
|
||||
RNA_def_property_string_maxlength(prop, 240);
|
||||
RNA_def_property_string_sdna(prop, NULL, "surfdataPath");
|
||||
RNA_def_property_ui_text(prop, "Path", "Directory (and/or filename prefix) to store and load particles from.");
|
||||
RNA_def_property_ui_text(prop, "Path", "Directory (and/or filename prefix) to store and load particles from");
|
||||
RNA_def_property_update(prop, 0, "rna_fluid_update");
|
||||
}
|
||||
|
||||
@@ -455,37 +455,37 @@ static void rna_def_fluidsim_control(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "ControlFluidSettings", "FluidSettings");
|
||||
RNA_def_struct_sdna(srna, "FluidsimSettings");
|
||||
RNA_def_struct_ui_text(srna, "Control Fluid Simulation Settings", "Fluid simulation settings for objects controlling the motion of fluid in the simulation.");
|
||||
RNA_def_struct_ui_text(srna, "Control Fluid Simulation Settings", "Fluid simulation settings for objects controlling the motion of fluid in the simulation");
|
||||
|
||||
prop= RNA_def_property(srna, "start_time", PROP_FLOAT, PROP_TIME);
|
||||
RNA_def_property_float_sdna(prop, NULL, "cpsTimeStart");
|
||||
RNA_def_property_range(prop, 0.0, 100.0);
|
||||
RNA_def_property_ui_text(prop, "Start Time", "Specifies time when the control particles are activated.");
|
||||
RNA_def_property_ui_text(prop, "Start Time", "Specifies time when the control particles are activated");
|
||||
|
||||
prop= RNA_def_property(srna, "end_time", PROP_FLOAT, PROP_TIME);
|
||||
RNA_def_property_float_sdna(prop, NULL, "cpsTimeEnd");
|
||||
RNA_def_property_range(prop, 0.0, 100.0);
|
||||
RNA_def_property_ui_text(prop, "End Time", "Specifies time when the control particles are deactivated.");
|
||||
RNA_def_property_ui_text(prop, "End Time", "Specifies time when the control particles are deactivated");
|
||||
|
||||
prop= RNA_def_property(srna, "attraction_strength", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "attractforceStrength");
|
||||
RNA_def_property_range(prop, -10.0, 10.0);
|
||||
RNA_def_property_ui_text(prop, "Attraction Strength", "Force strength for directional attraction towards the control object.");
|
||||
RNA_def_property_ui_text(prop, "Attraction Strength", "Force strength for directional attraction towards the control object");
|
||||
|
||||
prop= RNA_def_property(srna, "attraction_radius", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "attractforceRadius");
|
||||
RNA_def_property_range(prop, 0.0, 10.0);
|
||||
RNA_def_property_ui_text(prop, "Attraction Radius", "Specifies the force field radius around the control object.");
|
||||
RNA_def_property_ui_text(prop, "Attraction Radius", "Specifies the force field radius around the control object");
|
||||
|
||||
prop= RNA_def_property(srna, "velocity_strength", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "velocityforceStrength");
|
||||
RNA_def_property_range(prop, 0.0, 10.0);
|
||||
RNA_def_property_ui_text(prop, "Velocity Strength", "Force strength of how much of the control object's velocity is influencing the fluid velocity.");
|
||||
RNA_def_property_ui_text(prop, "Velocity Strength", "Force strength of how much of the control object's velocity is influencing the fluid velocity");
|
||||
|
||||
prop= RNA_def_property(srna, "velocity_radius", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "velocityforceRadius");
|
||||
RNA_def_property_range(prop, 0.0, 10.0);
|
||||
RNA_def_property_ui_text(prop, "Velocity Radius", "Specifies the force field radius around the control object.");
|
||||
RNA_def_property_ui_text(prop, "Velocity Radius", "Specifies the force field radius around the control object");
|
||||
|
||||
prop= RNA_def_property(srna, "quality", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "cpsQuality");
|
||||
@@ -494,7 +494,7 @@ static void rna_def_fluidsim_control(BlenderRNA *brna)
|
||||
|
||||
prop= RNA_def_property(srna, "reverse_frames", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", OB_FLUIDSIM_REVERSE);
|
||||
RNA_def_property_ui_text(prop, "Reverse Frames", "Reverse control object movement.");
|
||||
RNA_def_property_ui_text(prop, "Reverse Frames", "Reverse control object movement");
|
||||
}
|
||||
|
||||
void RNA_def_fluidsim(BlenderRNA *brna)
|
||||
@@ -518,16 +518,16 @@ void RNA_def_fluidsim(BlenderRNA *brna)
|
||||
RNA_def_struct_sdna(srna, "FluidsimSettings");
|
||||
RNA_def_struct_refine_func(srna, "rna_FluidSettings_refine");
|
||||
RNA_def_struct_path_func(srna, "rna_FluidSettings_path");
|
||||
RNA_def_struct_ui_text(srna, "Fluid Simulation Settings", "Fluid simulation settings for an object taking part in the simulation.");
|
||||
RNA_def_struct_ui_text(srna, "Fluid Simulation Settings", "Fluid simulation settings for an object taking part in the simulation");
|
||||
|
||||
prop= RNA_def_property(srna, "type", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_bitflag_sdna(prop, NULL, "type");
|
||||
RNA_def_property_enum_items(prop, prop_fluid_type_items);
|
||||
RNA_def_property_ui_text(prop, "Type", "Type of participation in the fluid simulation.");
|
||||
RNA_def_property_ui_text(prop, "Type", "Type of participation in the fluid simulation");
|
||||
RNA_def_property_update(prop, 0, "rna_FluidSettings_update_type");
|
||||
|
||||
//prop= RNA_def_property(srna, "ipo", PROP_POINTER, PROP_NONE);
|
||||
//RNA_def_property_ui_text(prop, "Ipo Curves", "Ipo curves used by fluid simulation settings.");
|
||||
//RNA_def_property_ui_text(prop, "Ipo Curves", "Ipo curves used by fluid simulation settings");
|
||||
|
||||
/* types */
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ static void rna_def_gpencil_stroke_point(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "GPencilStrokePoint", NULL);
|
||||
RNA_def_struct_sdna(srna, "bGPDspoint");
|
||||
RNA_def_struct_ui_text(srna, "Grease Pencil Stroke Point", "Data point for freehand stroke curve.");
|
||||
RNA_def_struct_ui_text(srna, "Grease Pencil Stroke Point", "Data point for freehand stroke curve");
|
||||
|
||||
prop= RNA_def_property(srna, "co", PROP_FLOAT, PROP_XYZ);
|
||||
RNA_def_property_float_sdna(prop, NULL, "x");
|
||||
@@ -88,7 +88,7 @@ static void rna_def_gpencil_stroke_point(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "pressure", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "pressure");
|
||||
RNA_def_property_range(prop, 0.0f, 1.0f);
|
||||
RNA_def_property_ui_text(prop, "Pressure", "Pressure of tablet at point when drawing it.");
|
||||
RNA_def_property_ui_text(prop, "Pressure", "Pressure of tablet at point when drawing it");
|
||||
RNA_def_property_update(prop, NC_SCREEN|ND_GPENCIL, NULL);
|
||||
}
|
||||
|
||||
@@ -99,7 +99,7 @@ static void rna_def_gpencil_stroke(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "GPencilStroke", NULL);
|
||||
RNA_def_struct_sdna(srna, "bGPDstroke");
|
||||
RNA_def_struct_ui_text(srna, "Grease Pencil Stroke", "Freehand curve defining part of a sketch.");
|
||||
RNA_def_struct_ui_text(srna, "Grease Pencil Stroke", "Freehand curve defining part of a sketch");
|
||||
|
||||
/* Points */
|
||||
prop= RNA_def_property(srna, "points", PROP_COLLECTION, PROP_NONE);
|
||||
@@ -124,22 +124,22 @@ static void rna_def_gpencil_frame(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "strokes", PROP_COLLECTION, PROP_NONE);
|
||||
RNA_def_property_collection_sdna(prop, NULL, "strokes", NULL);
|
||||
RNA_def_property_struct_type(prop, "GPencilStroke");
|
||||
RNA_def_property_ui_text(prop, "Strokes", "Freehand curves defining the sketch on this frame.");
|
||||
RNA_def_property_ui_text(prop, "Strokes", "Freehand curves defining the sketch on this frame");
|
||||
|
||||
/* Frame Number */
|
||||
prop= RNA_def_property(srna, "frame_number", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "framenum");
|
||||
RNA_def_property_range(prop, MINFRAME, MAXFRAME); // XXX note: this cannot occur on the same frame as another sketch
|
||||
RNA_def_property_ui_text(prop, "Frame Number", "The frame on which this sketch appears.");
|
||||
RNA_def_property_ui_text(prop, "Frame Number", "The frame on which this sketch appears");
|
||||
|
||||
/* Flags */
|
||||
prop= RNA_def_property(srna, "paint_lock", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_FRAME_PAINT); // XXX should it be editable?
|
||||
RNA_def_property_ui_text(prop, "Paint Lock", "Frame is being edited (painted on).");
|
||||
RNA_def_property_ui_text(prop, "Paint Lock", "Frame is being edited (painted on)");
|
||||
|
||||
prop= RNA_def_property(srna, "selected", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_FRAME_SELECT);
|
||||
RNA_def_property_ui_text(prop, "Selected", "Frame is selected for editing in the DopeSheet.");
|
||||
RNA_def_property_ui_text(prop, "Selected", "Frame is selected for editing in the DopeSheet");
|
||||
}
|
||||
|
||||
static void rna_def_gpencil_layer(BlenderRNA *brna)
|
||||
@@ -160,37 +160,37 @@ static void rna_def_gpencil_layer(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "frames", PROP_COLLECTION, PROP_NONE);
|
||||
RNA_def_property_collection_sdna(prop, NULL, "frames", NULL);
|
||||
RNA_def_property_struct_type(prop, "GPencilFrame");
|
||||
RNA_def_property_ui_text(prop, "Frames", "Sketches for this layer on different frames.");
|
||||
RNA_def_property_ui_text(prop, "Frames", "Sketches for this layer on different frames");
|
||||
|
||||
/* Active Frame */
|
||||
prop= RNA_def_property(srna, "active_frame", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "actframe");
|
||||
RNA_def_property_ui_text(prop, "Active Frame", "Frame currently being displayed for this layer.");
|
||||
RNA_def_property_ui_text(prop, "Active Frame", "Frame currently being displayed for this layer");
|
||||
RNA_def_property_editable_func(prop, "rna_GPencilLayer_active_frame_editable");
|
||||
|
||||
/* Drawing Color */
|
||||
prop= RNA_def_property(srna, "color", PROP_FLOAT, PROP_COLOR);
|
||||
RNA_def_property_array(prop, 3);
|
||||
RNA_def_property_ui_text(prop, "Color", "Color that all sketches in this layer are drawn with.");
|
||||
RNA_def_property_ui_text(prop, "Color", "Color that all sketches in this layer are drawn with");
|
||||
RNA_def_property_update(prop, NC_SCREEN|ND_GPENCIL, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "opacity", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "color[3]");
|
||||
RNA_def_property_range(prop, 0.3, 1.0f);
|
||||
RNA_def_property_ui_text(prop, "Opacity", "Visibility of strokes.");
|
||||
RNA_def_property_ui_text(prop, "Opacity", "Visibility of strokes");
|
||||
RNA_def_property_update(prop, NC_SCREEN|ND_GPENCIL, NULL);
|
||||
|
||||
/* Line Thickness */
|
||||
prop= RNA_def_property(srna, "line_thickness", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "thickness");
|
||||
RNA_def_property_range(prop, 1, 10);
|
||||
RNA_def_property_ui_text(prop, "Thickness", "Thickness of strokes (in pixels).");
|
||||
RNA_def_property_ui_text(prop, "Thickness", "Thickness of strokes (in pixels)");
|
||||
RNA_def_property_update(prop, NC_SCREEN|ND_GPENCIL, NULL);
|
||||
|
||||
/* Onion-Skinning */
|
||||
prop= RNA_def_property(srna, "use_onion_skinning", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_LAYER_ONIONSKIN);
|
||||
RNA_def_property_ui_text(prop, "Use Onion Skinning", "Ghost frames on either side of frame.");
|
||||
RNA_def_property_ui_text(prop, "Use Onion Skinning", "Ghost frames on either side of frame");
|
||||
RNA_def_property_update(prop, NC_SCREEN|ND_GPENCIL, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "max_ghost_range", PROP_INT, PROP_NONE);
|
||||
@@ -202,34 +202,34 @@ static void rna_def_gpencil_layer(BlenderRNA *brna)
|
||||
/* Flags */
|
||||
prop= RNA_def_property(srna, "hide", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_LAYER_HIDE);
|
||||
RNA_def_property_ui_text(prop, "Hide", "Layer doesn't get drawn.");
|
||||
RNA_def_property_ui_text(prop, "Hide", "Layer doesn't get drawn");
|
||||
RNA_def_property_update(prop, NC_SCREEN|ND_GPENCIL, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "locked", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_LAYER_LOCKED);
|
||||
RNA_def_property_ui_text(prop, "Locked", "Layer is protected from further editing and/or frame changes.");
|
||||
RNA_def_property_ui_text(prop, "Locked", "Layer is protected from further editing and/or frame changes");
|
||||
RNA_def_property_update(prop, NC_SCREEN|ND_GPENCIL, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "frame_lock", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_LAYER_FRAMELOCK);
|
||||
RNA_def_property_ui_text(prop, "Frame Locked", "Current frame displayed by layer cannot be changed.");
|
||||
RNA_def_property_ui_text(prop, "Frame Locked", "Current frame displayed by layer cannot be changed");
|
||||
RNA_def_property_update(prop, NC_SCREEN|ND_GPENCIL, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "active", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_LAYER_ACTIVE);
|
||||
RNA_def_property_boolean_funcs(prop, NULL, "rna_GPencilLayer_active_set");
|
||||
RNA_def_property_ui_text(prop, "Active", "Layer is 'active' layer being edited.");
|
||||
RNA_def_property_ui_text(prop, "Active", "Layer is 'active' layer being edited");
|
||||
RNA_def_property_update(prop, NC_SCREEN|ND_GPENCIL, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "selected", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_LAYER_SELECT);
|
||||
RNA_def_property_ui_text(prop, "Selected", "Layer is selected for editing in the DopeSheet.");
|
||||
RNA_def_property_ui_text(prop, "Selected", "Layer is selected for editing in the DopeSheet");
|
||||
RNA_def_property_update(prop, NC_SCREEN|ND_GPENCIL, NULL);
|
||||
|
||||
// XXX keep this option?
|
||||
prop= RNA_def_property(srna, "show_points", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_LAYER_DRAWDEBUG);
|
||||
RNA_def_property_ui_text(prop, "Show Points", "Draw the points which make up the strokes (for debugging purposes).");
|
||||
RNA_def_property_ui_text(prop, "Show Points", "Draw the points which make up the strokes (for debugging purposes)");
|
||||
RNA_def_property_update(prop, NC_SCREEN|ND_GPENCIL, NULL);
|
||||
}
|
||||
|
||||
@@ -247,14 +247,14 @@ static void rna_def_gpencil_data(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "GreasePencil", "ID");
|
||||
RNA_def_struct_sdna(srna, "bGPdata");
|
||||
RNA_def_struct_ui_text(srna, "Grease Pencil", "Freehand annotation sketchbook.");
|
||||
RNA_def_struct_ui_text(srna, "Grease Pencil", "Freehand annotation sketchbook");
|
||||
RNA_def_struct_ui_icon(srna, ICON_GREASEPENCIL);
|
||||
|
||||
/* Layers */
|
||||
prop= RNA_def_property(srna, "layers", PROP_COLLECTION, PROP_NONE);
|
||||
RNA_def_property_collection_sdna(prop, NULL, "layers", NULL);
|
||||
RNA_def_property_struct_type(prop, "GPencilLayer");
|
||||
RNA_def_property_ui_text(prop, "Layers", "Similar to layers in Photoshop.");
|
||||
RNA_def_property_ui_text(prop, "Layers", "Similar to layers in Photoshop");
|
||||
|
||||
/* Flags */
|
||||
prop= RNA_def_property(srna, "draw_mode", PROP_ENUM, PROP_NONE);
|
||||
@@ -264,7 +264,7 @@ static void rna_def_gpencil_data(BlenderRNA *brna)
|
||||
|
||||
prop= RNA_def_property(srna, "use_stroke_endpoints", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_DATA_DEPTH_STROKE_ENDPOINTS);
|
||||
RNA_def_property_ui_text(prop, "Only Endpoints", "When snapping the stroke to existing lines, only use the first and last parts of the line.");
|
||||
RNA_def_property_ui_text(prop, "Only Endpoints", "When snapping the stroke to existing lines, only use the first and last parts of the line");
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -83,7 +83,7 @@ static void rna_def_group_objects(BlenderRNA *brna, PropertyRNA *cprop)
|
||||
RNA_def_property_srna(cprop, "GroupObjects");
|
||||
srna= RNA_def_struct(brna, "GroupObjects", NULL);
|
||||
RNA_def_struct_sdna(srna, "Group");
|
||||
RNA_def_struct_ui_text(srna, "Group Objects", "Collection of group objects.");
|
||||
RNA_def_struct_ui_text(srna, "Group Objects", "Collection of group objects");
|
||||
|
||||
/* add object */
|
||||
func= RNA_def_function(srna, "link", "rna_Group_objects_link");
|
||||
@@ -109,24 +109,24 @@ void RNA_def_group(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
srna= RNA_def_struct(brna, "Group", "ID");
|
||||
RNA_def_struct_ui_text(srna, "Group", "Group of Object datablocks.");
|
||||
RNA_def_struct_ui_text(srna, "Group", "Group of Object datablocks");
|
||||
RNA_def_struct_ui_icon(srna, ICON_GROUP);
|
||||
|
||||
prop= RNA_def_property(srna, "dupli_offset", PROP_FLOAT, PROP_TRANSLATION);
|
||||
RNA_def_property_float_sdna(prop, NULL, "dupli_ofs");
|
||||
RNA_def_property_ui_text(prop, "Dupli Offset", "Offset from the origin to use when instancing as DupliGroup.");
|
||||
RNA_def_property_ui_text(prop, "Dupli Offset", "Offset from the origin to use when instancing as DupliGroup");
|
||||
RNA_def_property_ui_range(prop, -10000.0, 10000.0, 10, 4);
|
||||
|
||||
prop= RNA_def_property(srna, "layer", PROP_BOOLEAN, PROP_LAYER);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "layer", 1);
|
||||
RNA_def_property_array(prop, 20);
|
||||
RNA_def_property_ui_text(prop, "Dupli Layers", "Layers visible when this groups is instanced as a dupli.");
|
||||
RNA_def_property_ui_text(prop, "Dupli Layers", "Layers visible when this groups is instanced as a dupli");
|
||||
|
||||
|
||||
prop= RNA_def_property(srna, "objects", PROP_COLLECTION, PROP_NONE);
|
||||
RNA_def_property_collection_sdna(prop, NULL, "gobject", NULL);
|
||||
RNA_def_property_struct_type(prop, "Object");
|
||||
RNA_def_property_ui_text(prop, "Objects", "A collection of this groups objects.");
|
||||
RNA_def_property_ui_text(prop, "Objects", "A collection of this groups objects");
|
||||
RNA_def_property_collection_funcs(prop, 0, 0, 0, "rna_Group_objects_get", 0, 0, 0);
|
||||
|
||||
rna_def_group_objects(brna, prop);
|
||||
|
||||
@@ -202,7 +202,7 @@ static void rna_def_imageuser(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
srna= RNA_def_struct(brna, "ImageUser", NULL);
|
||||
RNA_def_struct_ui_text(srna, "Image User", "Parameters defining how an Image datablock is used by another datablock.");
|
||||
RNA_def_struct_ui_text(srna, "Image User", "Parameters defining how an Image datablock is used by another datablock");
|
||||
|
||||
prop= RNA_def_property(srna, "auto_refresh", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", IMA_ANIM_ALWAYS);
|
||||
@@ -273,7 +273,7 @@ static void rna_def_image(BlenderRNA *brna)
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "Image", "ID");
|
||||
RNA_def_struct_ui_text(srna, "Image", "Image datablock referencing an external or packed image.");
|
||||
RNA_def_struct_ui_text(srna, "Image", "Image datablock referencing an external or packed image");
|
||||
RNA_def_struct_ui_icon(srna, ICON_IMAGE_DATA);
|
||||
|
||||
prop= RNA_def_property(srna, "filename", PROP_STRING, PROP_FILEPATH);
|
||||
|
||||
@@ -313,7 +313,7 @@ static void rna_def_keydata(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
srna= RNA_def_struct(brna, "ShapeKeyPoint", NULL);
|
||||
RNA_def_struct_ui_text(srna, "Shape Key Point", "Point in a shape key.");
|
||||
RNA_def_struct_ui_text(srna, "Shape Key Point", "Point in a shape key");
|
||||
|
||||
prop= RNA_def_property(srna, "co", PROP_FLOAT, PROP_TRANSLATION);
|
||||
RNA_def_property_array(prop, 3);
|
||||
@@ -322,7 +322,7 @@ static void rna_def_keydata(BlenderRNA *brna)
|
||||
RNA_def_property_update(prop, 0, "rna_Key_update_data");
|
||||
|
||||
srna= RNA_def_struct(brna, "ShapeKeyCurvePoint", NULL);
|
||||
RNA_def_struct_ui_text(srna, "Shape Key Curve Point", "Point in a shape key for curves.");
|
||||
RNA_def_struct_ui_text(srna, "Shape Key Curve Point", "Point in a shape key for curves");
|
||||
|
||||
prop= RNA_def_property(srna, "co", PROP_FLOAT, PROP_TRANSLATION);
|
||||
RNA_def_property_array(prop, 3);
|
||||
@@ -336,7 +336,7 @@ static void rna_def_keydata(BlenderRNA *brna)
|
||||
RNA_def_property_update(prop, 0, "rna_Key_update_data");
|
||||
|
||||
srna= RNA_def_struct(brna, "ShapeKeyBezierPoint", NULL);
|
||||
RNA_def_struct_ui_text(srna, "Shape Key Bezier Point", "Point in a shape key for bezier curves.");
|
||||
RNA_def_struct_ui_text(srna, "Shape Key Bezier Point", "Point in a shape key for bezier curves");
|
||||
|
||||
prop= RNA_def_property(srna, "co", PROP_FLOAT, PROP_TRANSLATION);
|
||||
RNA_def_property_array(prop, 3);
|
||||
@@ -375,7 +375,7 @@ static void rna_def_keyblock(BlenderRNA *brna)
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "ShapeKey", NULL);
|
||||
RNA_def_struct_ui_text(srna, "Shape Key", "Shape key in a shape keys datablock.");
|
||||
RNA_def_struct_ui_text(srna, "Shape Key", "Shape key in a shape keys datablock");
|
||||
RNA_def_struct_sdna(srna, "KeyBlock");
|
||||
RNA_def_struct_path_func(srna, "rna_ShapeKey_path");
|
||||
RNA_def_struct_ui_icon(srna, ICON_SHAPEKEY_DATA);
|
||||
@@ -389,7 +389,7 @@ static void rna_def_keyblock(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "frame", PROP_FLOAT, PROP_TIME);
|
||||
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "pos");
|
||||
RNA_def_property_ui_text(prop, "Frame", "Frame for absolute keys.");
|
||||
RNA_def_property_ui_text(prop, "Frame", "Frame for absolute keys");
|
||||
RNA_def_property_update(prop, 0, "rna_Key_update_data");
|
||||
|
||||
/* for now, this is editable directly, as users can set this even if they're not animating them (to test results) */
|
||||
@@ -397,43 +397,43 @@ static void rna_def_keyblock(BlenderRNA *brna)
|
||||
RNA_def_property_float_sdna(prop, NULL, "curval");
|
||||
RNA_def_property_float_funcs(prop, NULL, "rna_ShapeKey_value_set", "rna_ShapeKey_value_range");
|
||||
RNA_def_property_ui_range(prop, -10.0f, 10.0f, 10, 3);
|
||||
RNA_def_property_ui_text(prop, "Value", "Value of shape key at the current frame.");
|
||||
RNA_def_property_ui_text(prop, "Value", "Value of shape key at the current frame");
|
||||
RNA_def_property_update(prop, 0, "rna_Key_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "interpolation", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "type");
|
||||
RNA_def_property_enum_items(prop, prop_keyblock_type_items);
|
||||
RNA_def_property_ui_text(prop, "Interpolation", "Interpolation type.");
|
||||
RNA_def_property_ui_text(prop, "Interpolation", "Interpolation type");
|
||||
RNA_def_property_update(prop, 0, "rna_Key_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "vertex_group", PROP_STRING, PROP_NONE);
|
||||
RNA_def_property_string_sdna(prop, NULL, "vgroup");
|
||||
RNA_def_property_ui_text(prop, "Vertex Group", "Vertex weight group, to blend with basis shape.");
|
||||
RNA_def_property_ui_text(prop, "Vertex Group", "Vertex weight group, to blend with basis shape");
|
||||
RNA_def_property_update(prop, 0, "rna_Key_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "relative_key", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_struct_type(prop, "ShapeKey");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_pointer_funcs(prop, "rna_ShapeKey_relative_key_get", "rna_ShapeKey_relative_key_set", NULL);
|
||||
RNA_def_property_ui_text(prop, "Relative Key", "Shape used as a relative key.");
|
||||
RNA_def_property_ui_text(prop, "Relative Key", "Shape used as a relative key");
|
||||
RNA_def_property_update(prop, 0, "rna_Key_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "mute", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", KEYBLOCK_MUTE);
|
||||
RNA_def_property_ui_text(prop, "Mute", "Mute this shape key.");
|
||||
RNA_def_property_ui_text(prop, "Mute", "Mute this shape key");
|
||||
RNA_def_property_ui_icon(prop, ICON_MUTE_IPO_OFF, 1);
|
||||
RNA_def_property_update(prop, 0, "rna_Key_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "slider_min", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "slidermin");
|
||||
RNA_def_property_range(prop, -10.0f, 10.0f);
|
||||
RNA_def_property_ui_text(prop, "Slider Min", "Minimum for slider.");
|
||||
RNA_def_property_ui_text(prop, "Slider Min", "Minimum for slider");
|
||||
|
||||
prop= RNA_def_property(srna, "slider_max", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "slidermax");
|
||||
RNA_def_property_range(prop, -10.0f, 10.0f);
|
||||
RNA_def_property_float_default(prop, 1.0f);
|
||||
RNA_def_property_ui_text(prop, "Slider Max", "Maximum for slider.");
|
||||
RNA_def_property_ui_text(prop, "Slider Max", "Maximum for slider");
|
||||
|
||||
prop= RNA_def_property(srna, "data", PROP_COLLECTION, PROP_NONE);
|
||||
RNA_def_property_collection_sdna(prop, NULL, "data", "totelem");
|
||||
@@ -448,7 +448,7 @@ static void rna_def_key(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
srna= RNA_def_struct(brna, "Key", "ID");
|
||||
RNA_def_struct_ui_text(srna, "Key", "Shape keys datablock containing different shapes of geometric datablocks.");
|
||||
RNA_def_struct_ui_text(srna, "Key", "Shape keys datablock containing different shapes of geometric datablocks");
|
||||
RNA_def_struct_ui_icon(srna, ICON_SHAPEKEY_DATA);
|
||||
|
||||
prop= RNA_def_property(srna, "reference_key", PROP_POINTER, PROP_NONE);
|
||||
@@ -460,24 +460,24 @@ static void rna_def_key(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "keys", PROP_COLLECTION, PROP_NONE);
|
||||
RNA_def_property_collection_sdna(prop, NULL, "block", NULL);
|
||||
RNA_def_property_struct_type(prop, "ShapeKey");
|
||||
RNA_def_property_ui_text(prop, "Keys", "Shape keys.");
|
||||
RNA_def_property_ui_text(prop, "Keys", "Shape keys");
|
||||
|
||||
rna_def_animdata_common(srna);
|
||||
|
||||
prop= RNA_def_property(srna, "user", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_flag(prop, PROP_NEVER_NULL);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "from");
|
||||
RNA_def_property_ui_text(prop, "User", "Datablock using these shape keys.");
|
||||
RNA_def_property_ui_text(prop, "User", "Datablock using these shape keys");
|
||||
|
||||
prop= RNA_def_property(srna, "relative", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "type", KEY_RELATIVE);
|
||||
RNA_def_property_ui_text(prop, "Relative", "Makes shape keys relative.");
|
||||
RNA_def_property_ui_text(prop, "Relative", "Makes shape keys relative");
|
||||
RNA_def_property_update(prop, 0, "rna_Key_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "slurph", PROP_INT, PROP_UNSIGNED);
|
||||
RNA_def_property_int_sdna(prop, NULL, "slurph");
|
||||
RNA_def_property_range(prop, -500, 500);
|
||||
RNA_def_property_ui_text(prop, "Slurph", "Creates a delay in amount of frames in applying keypositions, first vertex goes first.");
|
||||
RNA_def_property_ui_text(prop, "Slurph", "Creates a delay in amount of frames in applying keypositions, first vertex goes first");
|
||||
RNA_def_property_update(prop, 0, "rna_Key_update_data");
|
||||
}
|
||||
|
||||
|
||||
@@ -155,7 +155,7 @@ static void rna_def_lamp_mtex(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "LampTextureSlot", "TextureSlot");
|
||||
RNA_def_struct_sdna(srna, "MTex");
|
||||
RNA_def_struct_ui_text(srna, "Lamp Texture Slot", "Texture slot for textures in a Lamp datablock.");
|
||||
RNA_def_struct_ui_text(srna, "Lamp Texture Slot", "Texture slot for textures in a Lamp datablock");
|
||||
|
||||
prop= RNA_def_property(srna, "texture_coordinates", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "texco");
|
||||
@@ -166,28 +166,28 @@ static void rna_def_lamp_mtex(BlenderRNA *brna)
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "object");
|
||||
RNA_def_property_struct_type(prop, "Object");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_ui_text(prop, "Object", "Object to use for mapping with Object texture coordinates.");
|
||||
RNA_def_property_ui_text(prop, "Object", "Object to use for mapping with Object texture coordinates");
|
||||
|
||||
prop= RNA_def_property(srna, "map_color", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "mapto", LAMAP_COL);
|
||||
RNA_def_property_ui_text(prop, "Color", "Lets the texture affect the basic color of the lamp.");
|
||||
RNA_def_property_ui_text(prop, "Color", "Lets the texture affect the basic color of the lamp");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
|
||||
prop= RNA_def_property(srna, "map_shadow", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "mapto", LAMAP_SHAD);
|
||||
RNA_def_property_ui_text(prop, "Shadow", "Lets the texture affect the shadow color of the lamp.");
|
||||
RNA_def_property_ui_text(prop, "Shadow", "Lets the texture affect the shadow color of the lamp");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
|
||||
prop= RNA_def_property(srna, "color_factor", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "colfac");
|
||||
RNA_def_property_ui_range(prop, 0, 1, 10, 3);
|
||||
RNA_def_property_ui_text(prop, "Color Factor", "Amount texture affects color values.");
|
||||
RNA_def_property_ui_text(prop, "Color Factor", "Amount texture affects color values");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
|
||||
prop= RNA_def_property(srna, "shadow_factor", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "shadowfac");
|
||||
RNA_def_property_ui_range(prop, 0, 1, 10, 3);
|
||||
RNA_def_property_ui_text(prop, "Shadow Factor", "Amount texture affects shadow.");
|
||||
RNA_def_property_ui_text(prop, "Shadow Factor", "Amount texture affects shadow");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
}
|
||||
|
||||
@@ -224,97 +224,97 @@ static void rna_def_lamp_sky_settings(BlenderRNA *brna)
|
||||
srna= RNA_def_struct(brna, "LampSkySettings", NULL);
|
||||
RNA_def_struct_sdna(srna, "Lamp");
|
||||
RNA_def_struct_nested(brna, srna, "SunLamp");
|
||||
RNA_def_struct_ui_text(srna, "Lamp Sky Settings", "Sky related settings for a sun lamp.");
|
||||
RNA_def_struct_ui_text(srna, "Lamp Sky Settings", "Sky related settings for a sun lamp");
|
||||
|
||||
prop= RNA_def_property(srna, "sky_color_space", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "sky_colorspace");
|
||||
RNA_def_property_enum_items(prop, prop_skycolorspace_items);
|
||||
RNA_def_property_ui_text(prop, "Sky Color Space", "Color space to use for internal XYZ->RGB color conversion.");
|
||||
RNA_def_property_ui_text(prop, "Sky Color Space", "Color space to use for internal XYZ->RGB color conversion");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_sky_update");
|
||||
|
||||
prop= RNA_def_property(srna, "sky_blend_type", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "skyblendtype");
|
||||
RNA_def_property_enum_items(prop, prop_blendmode_items);
|
||||
RNA_def_property_ui_text(prop, "Sky Blend Mode", "Blend mode for combining sun sky with world sky.");
|
||||
RNA_def_property_ui_text(prop, "Sky Blend Mode", "Blend mode for combining sun sky with world sky");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_sky_update");
|
||||
|
||||
/* Number values */
|
||||
|
||||
prop= RNA_def_property(srna, "horizon_brightness", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0f, 20.0f);
|
||||
RNA_def_property_ui_text(prop, "Horizon Brightness", "Horizon brightness.");
|
||||
RNA_def_property_ui_text(prop, "Horizon Brightness", "Horizon brightness");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_sky_update");
|
||||
|
||||
prop= RNA_def_property(srna, "spread", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0f, 10.0f);
|
||||
RNA_def_property_ui_text(prop, "Horizon Spread", "Horizon Spread.");
|
||||
RNA_def_property_ui_text(prop, "Horizon Spread", "Horizon Spread");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_sky_update");
|
||||
|
||||
prop= RNA_def_property(srna, "sun_brightness", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0f, 10.0f);
|
||||
RNA_def_property_ui_text(prop, "Sun Brightness", "Sun brightness.");
|
||||
RNA_def_property_ui_text(prop, "Sun Brightness", "Sun brightness");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_sky_update");
|
||||
|
||||
prop= RNA_def_property(srna, "sun_size", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0f, 10.0f);
|
||||
RNA_def_property_ui_text(prop, "Sun Size", "Sun size.");
|
||||
RNA_def_property_ui_text(prop, "Sun Size", "Sun size");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_sky_update");
|
||||
|
||||
prop= RNA_def_property(srna, "backscattered_light", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, -1.0f, 1.0f);
|
||||
RNA_def_property_ui_text(prop, "Backscattered Light", "Backscattered light.");
|
||||
RNA_def_property_ui_text(prop, "Backscattered Light", "Backscattered light");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_sky_update");
|
||||
|
||||
prop= RNA_def_property(srna, "sun_intensity", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0f, 10.0f);
|
||||
RNA_def_property_ui_text(prop, "Sun Intensity", "Sun intensity.");
|
||||
RNA_def_property_ui_text(prop, "Sun Intensity", "Sun intensity");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_sky_update");
|
||||
|
||||
prop= RNA_def_property(srna, "atmosphere_turbidity", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "atm_turbidity");
|
||||
RNA_def_property_range(prop, 1.0f, 30.0f);
|
||||
RNA_def_property_ui_text(prop, "Atmosphere Turbidity", "Sky turbidity.");
|
||||
RNA_def_property_ui_text(prop, "Atmosphere Turbidity", "Sky turbidity");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_sky_update");
|
||||
|
||||
prop= RNA_def_property(srna, "atmosphere_inscattering", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "atm_inscattering_factor");
|
||||
RNA_def_property_range(prop, 0.0f, 1.0f);
|
||||
RNA_def_property_ui_text(prop, "Atmosphere Inscatter", "Scatter contribution factor.");
|
||||
RNA_def_property_ui_text(prop, "Atmosphere Inscatter", "Scatter contribution factor");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_sky_update");
|
||||
|
||||
prop= RNA_def_property(srna, "atmosphere_extinction", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "atm_extinction_factor");
|
||||
RNA_def_property_range(prop, 0.0f, 1.0f);
|
||||
RNA_def_property_ui_text(prop, "Atmosphere Extinction", "Extinction scattering contribution factor.");
|
||||
RNA_def_property_ui_text(prop, "Atmosphere Extinction", "Extinction scattering contribution factor");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_sky_update");
|
||||
|
||||
prop= RNA_def_property(srna, "atmosphere_distance_factor", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "atm_distance_factor");
|
||||
RNA_def_property_range(prop, 0.0f, 500.0f);
|
||||
RNA_def_property_ui_text(prop, "Atmosphere Distance Factor", "Multiplier to convert blender units to physical distance.");
|
||||
RNA_def_property_ui_text(prop, "Atmosphere Distance Factor", "Multiplier to convert blender units to physical distance");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_sky_update");
|
||||
|
||||
prop= RNA_def_property(srna, "sky_blend", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "skyblendfac");
|
||||
RNA_def_property_range(prop, 0.0f, 2.0f);
|
||||
RNA_def_property_ui_text(prop, "Sky Blend", "Blend factor with sky.");
|
||||
RNA_def_property_ui_text(prop, "Sky Blend", "Blend factor with sky");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_sky_update");
|
||||
|
||||
prop= RNA_def_property(srna, "sky_exposure", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_range(prop, 0.0f, 20.0f);
|
||||
RNA_def_property_ui_text(prop, "Sky Exposure", "Strength of sky shading exponential exposure correction.");
|
||||
RNA_def_property_ui_text(prop, "Sky Exposure", "Strength of sky shading exponential exposure correction");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_sky_update");
|
||||
|
||||
/* boolean */
|
||||
|
||||
prop= RNA_def_property(srna, "use_sky", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "sun_effect_type", LA_SUN_EFFECT_SKY);
|
||||
RNA_def_property_ui_text(prop, "Sky", "Apply sun effect on sky.");
|
||||
RNA_def_property_ui_text(prop, "Sky", "Apply sun effect on sky");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_sky_update");
|
||||
|
||||
prop= RNA_def_property(srna, "use_atmosphere", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "sun_effect_type", LA_SUN_EFFECT_AP);
|
||||
RNA_def_property_ui_text(prop, "Atmosphere", "Apply sun effect on atmosphere.");
|
||||
RNA_def_property_ui_text(prop, "Atmosphere", "Apply sun effect on atmosphere");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_sky_update");
|
||||
}
|
||||
|
||||
@@ -333,49 +333,49 @@ static void rna_def_lamp(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "Lamp", "ID");
|
||||
RNA_def_struct_refine_func(srna, "rna_Lamp_refine");
|
||||
RNA_def_struct_ui_text(srna, "Lamp", "Lamp datablock for lighting a scene.");
|
||||
RNA_def_struct_ui_text(srna, "Lamp", "Lamp datablock for lighting a scene");
|
||||
RNA_def_struct_ui_icon(srna, ICON_LAMP_DATA);
|
||||
|
||||
prop= RNA_def_property(srna, "type", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_items(prop, prop_type_items);
|
||||
RNA_def_property_ui_text(prop, "Type", "Type of Lamp.");
|
||||
RNA_def_property_ui_text(prop, "Type", "Type of Lamp");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_draw_update");
|
||||
|
||||
prop= RNA_def_property(srna, "distance", PROP_FLOAT, PROP_DISTANCE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "dist");
|
||||
RNA_def_property_ui_range(prop, 0, 1000, 1.0, 2);
|
||||
RNA_def_property_ui_text(prop, "Distance", "Falloff distance - the light is at half the original intensity at this point.");
|
||||
RNA_def_property_ui_text(prop, "Distance", "Falloff distance - the light is at half the original intensity at this point");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_draw_update");
|
||||
|
||||
prop= RNA_def_property(srna, "energy", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_ui_range(prop, 0, 10.0, 10, 2);
|
||||
RNA_def_property_ui_text(prop, "Energy", "Amount of light that the lamp emits.");
|
||||
RNA_def_property_ui_text(prop, "Energy", "Amount of light that the lamp emits");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
|
||||
prop= RNA_def_property(srna, "color", PROP_FLOAT, PROP_COLOR);
|
||||
RNA_def_property_float_sdna(prop, NULL, "r");
|
||||
RNA_def_property_array(prop, 3);
|
||||
RNA_def_property_ui_text(prop, "Color", "Light color.");
|
||||
RNA_def_property_ui_text(prop, "Color", "Light color");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
|
||||
prop= RNA_def_property(srna, "layer", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "mode", LA_LAYER);
|
||||
RNA_def_property_ui_text(prop, "Layer", "Illuminates objects only on the same layer the lamp is on.");
|
||||
RNA_def_property_ui_text(prop, "Layer", "Illuminates objects only on the same layer the lamp is on");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
|
||||
prop= RNA_def_property(srna, "negative", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "mode", LA_NEG);
|
||||
RNA_def_property_ui_text(prop, "Negative", "Lamp casts negative light.");
|
||||
RNA_def_property_ui_text(prop, "Negative", "Lamp casts negative light");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
|
||||
prop= RNA_def_property(srna, "specular", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "mode", LA_NO_SPEC);
|
||||
RNA_def_property_ui_text(prop, "Specular", "Lamp creates specular highlights.");
|
||||
RNA_def_property_ui_text(prop, "Specular", "Lamp creates specular highlights");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
|
||||
prop= RNA_def_property(srna, "diffuse", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "mode", LA_NO_DIFF);
|
||||
RNA_def_property_ui_text(prop, "Diffuse", "Lamp does diffuse shading.");
|
||||
RNA_def_property_ui_text(prop, "Diffuse", "Lamp does diffuse shading");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
|
||||
/* common */
|
||||
@@ -400,7 +400,7 @@ static void rna_def_lamp_falloff(StructRNA *srna)
|
||||
|
||||
prop= RNA_def_property(srna, "falloff_type", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_items(prop, prop_fallofftype_items);
|
||||
RNA_def_property_ui_text(prop, "Falloff Type", "Intensity Decay with distance.");
|
||||
RNA_def_property_ui_text(prop, "Falloff Type", "Intensity Decay with distance");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
|
||||
prop= RNA_def_property(srna, "falloff_curve", PROP_POINTER, PROP_NONE);
|
||||
@@ -410,19 +410,19 @@ static void rna_def_lamp_falloff(StructRNA *srna)
|
||||
|
||||
prop= RNA_def_property(srna, "sphere", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "mode", LA_SPHERE);
|
||||
RNA_def_property_ui_text(prop, "Sphere", "Sets light intensity to zero beyond lamp distance.");
|
||||
RNA_def_property_ui_text(prop, "Sphere", "Sets light intensity to zero beyond lamp distance");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_draw_update");
|
||||
|
||||
prop= RNA_def_property(srna, "linear_attenuation", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "att1");
|
||||
RNA_def_property_range(prop, 0.0f, 1.0f);
|
||||
RNA_def_property_ui_text(prop, "Linear Attenuation", "Linear distance attentuation.");
|
||||
RNA_def_property_ui_text(prop, "Linear Attenuation", "Linear distance attentuation");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
|
||||
prop= RNA_def_property(srna, "quadratic_attenuation", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "att2");
|
||||
RNA_def_property_range(prop, 0.0f, 1.0f);
|
||||
RNA_def_property_ui_text(prop, "Quadratic Attenuation", "Quadratic distance attentuation.");
|
||||
RNA_def_property_ui_text(prop, "Quadratic Attenuation", "Quadratic distance attentuation");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
}
|
||||
|
||||
@@ -455,55 +455,55 @@ static void rna_def_lamp_shadow(StructRNA *srna, int spot, int area)
|
||||
prop= RNA_def_property(srna, "shadow_method", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_bitflag_sdna(prop, NULL, "mode");
|
||||
RNA_def_property_enum_items(prop, (spot)? prop_spot_shadow_items: prop_shadow_items);
|
||||
RNA_def_property_ui_text(prop, "Shadow Method", "Method to compute lamp shadow with.");
|
||||
RNA_def_property_ui_text(prop, "Shadow Method", "Method to compute lamp shadow with");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_draw_update");
|
||||
|
||||
prop= RNA_def_property(srna, "shadow_color", PROP_FLOAT, PROP_COLOR);
|
||||
RNA_def_property_float_sdna(prop, NULL, "shdwr");
|
||||
RNA_def_property_array(prop, 3);
|
||||
RNA_def_property_ui_text(prop, "Shadow Color", "Color of shadows cast by the lamp.");
|
||||
RNA_def_property_ui_text(prop, "Shadow Color", "Color of shadows cast by the lamp");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
|
||||
prop= RNA_def_property(srna, "only_shadow", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "mode", LA_ONLYSHADOW);
|
||||
RNA_def_property_ui_text(prop, "Only Shadow", "Causes light to cast shadows only without illuminating objects.");
|
||||
RNA_def_property_ui_text(prop, "Only Shadow", "Causes light to cast shadows only without illuminating objects");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
|
||||
prop= RNA_def_property(srna, "shadow_ray_sampling_method", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "ray_samp_method");
|
||||
RNA_def_property_enum_items(prop, (area)? prop_spot_ray_sampling_method_items: prop_ray_sampling_method_items);
|
||||
RNA_def_property_ui_text(prop, "Shadow Ray Sampling Method", "Method for generating shadow samples: Adaptive QMC is fastest, Constant QMC is less noisy but slower.");
|
||||
RNA_def_property_ui_text(prop, "Shadow Ray Sampling Method", "Method for generating shadow samples: Adaptive QMC is fastest, Constant QMC is less noisy but slower");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
|
||||
prop= RNA_def_property(srna, (area)? "shadow_ray_samples_x": "shadow_ray_samples", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "ray_samp");
|
||||
RNA_def_property_range(prop, 1, 64);
|
||||
RNA_def_property_ui_text(prop, (area)? "Shadow Ray Samples": "Shadow Ray Samples X","Amount of samples taken extra (samples x samples).");
|
||||
RNA_def_property_ui_text(prop, (area)? "Shadow Ray Samples": "Shadow Ray Samples X","Amount of samples taken extra (samples x samples)");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
|
||||
if(area) {
|
||||
prop= RNA_def_property(srna, "shadow_ray_samples_y", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "ray_sampy");
|
||||
RNA_def_property_range(prop, 1, 64);
|
||||
RNA_def_property_ui_text(prop, "Shadow Ray Samples Y", "Amount of samples taken extra (samples x samples).");
|
||||
RNA_def_property_ui_text(prop, "Shadow Ray Samples Y", "Amount of samples taken extra (samples x samples)");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
}
|
||||
|
||||
prop= RNA_def_property(srna, "shadow_adaptive_threshold", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "adapt_thresh");
|
||||
RNA_def_property_range(prop, 0.0f, 1.0f);
|
||||
RNA_def_property_ui_text(prop, "Shadow Adaptive Threshold", "Threshold for Adaptive Sampling (Raytraced shadows).");
|
||||
RNA_def_property_ui_text(prop, "Shadow Adaptive Threshold", "Threshold for Adaptive Sampling (Raytraced shadows)");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
|
||||
prop= RNA_def_property(srna, "shadow_soft_size", PROP_FLOAT, PROP_DISTANCE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "area_size");
|
||||
RNA_def_property_ui_range(prop, 0, 100, 0.1, 3);
|
||||
RNA_def_property_ui_text(prop, "Shadow Soft Size", "Light size for ray shadow sampling (Raytraced shadows).");
|
||||
RNA_def_property_ui_text(prop, "Shadow Soft Size", "Light size for ray shadow sampling (Raytraced shadows)");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
|
||||
prop= RNA_def_property(srna, "shadow_layer", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "mode", LA_LAYER_SHADOW);
|
||||
RNA_def_property_ui_text(prop, "Shadow Layer", "Causes only objects on the same layer to cast shadows.");
|
||||
RNA_def_property_ui_text(prop, "Shadow Layer", "Causes only objects on the same layer to cast shadows");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
}
|
||||
|
||||
@@ -513,7 +513,7 @@ static void rna_def_point_lamp(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "PointLamp", "Lamp");
|
||||
RNA_def_struct_sdna(srna, "Lamp");
|
||||
RNA_def_struct_ui_text(srna, "Point Lamp", "Omnidirectional point lamp.");
|
||||
RNA_def_struct_ui_text(srna, "Point Lamp", "Omnidirectional point lamp");
|
||||
RNA_def_struct_ui_icon(srna, ICON_LAMP_POINT);
|
||||
|
||||
rna_def_lamp_falloff(srna);
|
||||
@@ -532,48 +532,48 @@ static void rna_def_area_lamp(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "AreaLamp", "Lamp");
|
||||
RNA_def_struct_sdna(srna, "Lamp");
|
||||
RNA_def_struct_ui_text(srna, "Area Lamp", "Directional area lamp.");
|
||||
RNA_def_struct_ui_text(srna, "Area Lamp", "Directional area lamp");
|
||||
RNA_def_struct_ui_icon(srna, ICON_LAMP_AREA);
|
||||
|
||||
rna_def_lamp_shadow(srna, 0, 1);
|
||||
|
||||
prop= RNA_def_property(srna, "umbra", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "ray_samp_type", LA_SAMP_UMBRA);
|
||||
RNA_def_property_ui_text(prop, "Umbra", "Emphasize parts that are fully shadowed (Constant Jittered sampling).");
|
||||
RNA_def_property_ui_text(prop, "Umbra", "Emphasize parts that are fully shadowed (Constant Jittered sampling)");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
|
||||
prop= RNA_def_property(srna, "dither", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "ray_samp_type", LA_SAMP_DITHER);
|
||||
RNA_def_property_ui_text(prop, "Dither", "Use 2x2 dithering for sampling (Constant Jittered sampling).");
|
||||
RNA_def_property_ui_text(prop, "Dither", "Use 2x2 dithering for sampling (Constant Jittered sampling)");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
|
||||
prop= RNA_def_property(srna, "jitter", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "ray_samp_type", LA_SAMP_JITTER);
|
||||
RNA_def_property_ui_text(prop, "Jitter", "Use noise for sampling (Constant Jittered sampling).");
|
||||
RNA_def_property_ui_text(prop, "Jitter", "Use noise for sampling (Constant Jittered sampling)");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
|
||||
prop= RNA_def_property(srna, "shape", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "area_shape");
|
||||
RNA_def_property_enum_items(prop, prop_areashape_items);
|
||||
RNA_def_property_ui_text(prop, "Shape", "Shape of the area lamp.");
|
||||
RNA_def_property_ui_text(prop, "Shape", "Shape of the area lamp");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_draw_update");
|
||||
|
||||
prop= RNA_def_property(srna, "size", PROP_FLOAT, PROP_DISTANCE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "area_size");
|
||||
RNA_def_property_ui_range(prop, 0, 100, 0.1, 3);
|
||||
RNA_def_property_ui_text(prop, "Size", "Size of the area of the area Lamp, X direction size for Rectangle shapes.");
|
||||
RNA_def_property_ui_text(prop, "Size", "Size of the area of the area Lamp, X direction size for Rectangle shapes");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_draw_update");
|
||||
|
||||
prop= RNA_def_property(srna, "size_y", PROP_FLOAT, PROP_DISTANCE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "area_sizey");
|
||||
RNA_def_property_ui_range(prop, 0, 100, 0.1, 3);
|
||||
RNA_def_property_ui_text(prop, "Size Y", "Size of the area of the area Lamp in the Y direction for Rectangle shapes.");
|
||||
RNA_def_property_ui_text(prop, "Size Y", "Size of the area of the area Lamp in the Y direction for Rectangle shapes");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_draw_update");
|
||||
|
||||
prop= RNA_def_property(srna, "gamma", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "k");
|
||||
RNA_def_property_ui_range(prop, 0.001, 2.0, 0.1, 3);
|
||||
RNA_def_property_ui_text(prop, "Gamma", "Light gamma correction value.");
|
||||
RNA_def_property_ui_text(prop, "Gamma", "Light gamma correction value");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_draw_update");
|
||||
}
|
||||
|
||||
@@ -603,7 +603,7 @@ static void rna_def_spot_lamp(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "SpotLamp", "Lamp");
|
||||
RNA_def_struct_sdna(srna, "Lamp");
|
||||
RNA_def_struct_ui_text(srna, "Spot Lamp", "Directional cone lamp.");
|
||||
RNA_def_struct_ui_text(srna, "Spot Lamp", "Directional cone lamp");
|
||||
RNA_def_struct_ui_icon(srna, ICON_LAMP_SPOT);
|
||||
|
||||
rna_def_lamp_falloff(srna);
|
||||
@@ -611,24 +611,24 @@ static void rna_def_spot_lamp(BlenderRNA *brna)
|
||||
|
||||
prop= RNA_def_property(srna, "square", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "mode", LA_SQUARE);
|
||||
RNA_def_property_ui_text(prop, "Square", "Casts a square spot light shape.");
|
||||
RNA_def_property_ui_text(prop, "Square", "Casts a square spot light shape");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_draw_update");
|
||||
|
||||
prop= RNA_def_property(srna, "halo", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "mode", LA_HALO);
|
||||
RNA_def_property_ui_text(prop, "Halo", "Renders spotlight with a volumetric halo (Buffer Shadows).");
|
||||
RNA_def_property_ui_text(prop, "Halo", "Renders spotlight with a volumetric halo (Buffer Shadows)");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
|
||||
prop= RNA_def_property(srna, "halo_intensity", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "haint");
|
||||
RNA_def_property_ui_range(prop, 0, 5.0, 0.1, 3);
|
||||
RNA_def_property_ui_text(prop, "Halo Intensity", "Brightness of the spotlight's halo cone (Buffer Shadows).");
|
||||
RNA_def_property_ui_text(prop, "Halo Intensity", "Brightness of the spotlight's halo cone (Buffer Shadows)");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
|
||||
prop= RNA_def_property(srna, "halo_step", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "shadhalostep");
|
||||
RNA_def_property_range(prop, 0, 12);
|
||||
RNA_def_property_ui_text(prop, "Halo Step", "Volumetric halo sampling frequency.");
|
||||
RNA_def_property_ui_text(prop, "Halo Step", "Volumetric halo sampling frequency");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
|
||||
prop= RNA_def_property(srna, "shadow_buffer_size", PROP_INT, PROP_NONE);
|
||||
@@ -641,31 +641,31 @@ static void rna_def_spot_lamp(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "shadow_filter_type", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "filtertype");
|
||||
RNA_def_property_enum_items(prop, prop_shadbuffiltertype_items);
|
||||
RNA_def_property_ui_text(prop, "Shadow Filter Type", "Type of shadow filter (Buffer Shadows).");
|
||||
RNA_def_property_ui_text(prop, "Shadow Filter Type", "Type of shadow filter (Buffer Shadows)");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
|
||||
prop= RNA_def_property(srna, "shadow_sample_buffers", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "buffers");
|
||||
RNA_def_property_enum_items(prop, prop_numbuffer_items);
|
||||
RNA_def_property_ui_text(prop, "Shadow Sample Buffers", "Number of shadow buffers to render for better AA, this increases memory usage.");
|
||||
RNA_def_property_ui_text(prop, "Shadow Sample Buffers", "Number of shadow buffers to render for better AA, this increases memory usage");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
|
||||
prop= RNA_def_property(srna, "spot_blend", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "spotblend");
|
||||
RNA_def_property_range(prop, 0.0f ,1.0f);
|
||||
RNA_def_property_ui_text(prop, "Spot Blend", "The softness of the spotlight edge.");
|
||||
RNA_def_property_ui_text(prop, "Spot Blend", "The softness of the spotlight edge");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_draw_update");
|
||||
|
||||
prop= RNA_def_property(srna, "spot_size", PROP_FLOAT, PROP_ANGLE);
|
||||
// RNA_def_property_float_sdna(prop, NULL, "spotsize");
|
||||
RNA_def_property_range(prop, M_PI/180.0f, M_PI);
|
||||
RNA_def_property_ui_text(prop, "Spot Size", "Angle of the spotlight beam in degrees.");
|
||||
RNA_def_property_ui_text(prop, "Spot Size", "Angle of the spotlight beam in degrees");
|
||||
RNA_def_property_float_funcs(prop, "rna_Lamp_spot_size_get", "rna_Lamp_spot_size_set", NULL); /* only for deg/rad conversion */
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_draw_update");
|
||||
|
||||
prop= RNA_def_property(srna, "show_cone", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "mode", LA_SHOW_CONE);
|
||||
RNA_def_property_ui_text(prop, "Show Cone", "Draw transparent cone in 3D view to visualize which objects are contained in it.");
|
||||
RNA_def_property_ui_text(prop, "Show Cone", "Draw transparent cone in 3D view to visualize which objects are contained in it");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_draw_update");
|
||||
|
||||
prop= RNA_def_property(srna, "shadow_buffer_clip_start", PROP_FLOAT, PROP_DISTANCE);
|
||||
@@ -677,47 +677,47 @@ static void rna_def_spot_lamp(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "shadow_buffer_clip_end", PROP_FLOAT, PROP_DISTANCE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "clipend");
|
||||
RNA_def_property_range(prop, 0.0f, 9999.0f);
|
||||
RNA_def_property_ui_text(prop, "Shadow Buffer Clip End", "Shadow map clip end beyond which objects will not generate shadows.");
|
||||
RNA_def_property_ui_text(prop, "Shadow Buffer Clip End", "Shadow map clip end beyond which objects will not generate shadows");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_draw_update");
|
||||
|
||||
prop= RNA_def_property(srna, "shadow_buffer_bias", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "bias");
|
||||
RNA_def_property_range(prop, 0.001f, 5.0f);
|
||||
RNA_def_property_ui_text(prop, "Shadow Buffer Bias", "Shadow buffer sampling bias.");
|
||||
RNA_def_property_ui_text(prop, "Shadow Buffer Bias", "Shadow buffer sampling bias");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
|
||||
prop= RNA_def_property(srna, "shadow_buffer_soft", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "soft");
|
||||
RNA_def_property_range(prop, 0.0f, 100.0f);
|
||||
RNA_def_property_ui_text(prop, "Shadow Buffer Soft", "Size of shadow buffer sampling area.");
|
||||
RNA_def_property_ui_text(prop, "Shadow Buffer Soft", "Size of shadow buffer sampling area");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
|
||||
prop= RNA_def_property(srna, "shadow_buffer_samples", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "samp");
|
||||
RNA_def_property_range(prop, 1, 16);
|
||||
RNA_def_property_ui_text(prop, "Samples", "Number of shadow buffer samples.");
|
||||
RNA_def_property_ui_text(prop, "Samples", "Number of shadow buffer samples");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
|
||||
prop= RNA_def_property(srna, "shadow_buffer_type", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "buftype");
|
||||
RNA_def_property_enum_items(prop, prop_shadbuftype_items);
|
||||
RNA_def_property_ui_text(prop, "Shadow Buffer Type", "Type of shadow buffer.");
|
||||
RNA_def_property_ui_text(prop, "Shadow Buffer Type", "Type of shadow buffer");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
|
||||
prop= RNA_def_property(srna, "auto_clip_start", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "bufflag", LA_SHADBUF_AUTO_START);
|
||||
RNA_def_property_ui_text(prop, "Autoclip Start", "Automatic calculation of clipping-start, based on visible vertices.");
|
||||
RNA_def_property_ui_text(prop, "Autoclip Start", "Automatic calculation of clipping-start, based on visible vertices");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_draw_update");
|
||||
|
||||
prop= RNA_def_property(srna, "auto_clip_end", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "bufflag", LA_SHADBUF_AUTO_END);
|
||||
RNA_def_property_ui_text(prop, "Autoclip End", "Automatic calculation of clipping-end, based on visible vertices.");
|
||||
RNA_def_property_ui_text(prop, "Autoclip End", "Automatic calculation of clipping-end, based on visible vertices");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_draw_update");
|
||||
|
||||
prop= RNA_def_property(srna, "compression_threshold", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "compressthresh");
|
||||
RNA_def_property_range(prop, 0.0f, 1.0f);
|
||||
RNA_def_property_ui_text(prop, "Compress", "Deep shadow map compression threshold.");
|
||||
RNA_def_property_ui_text(prop, "Compress", "Deep shadow map compression threshold");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
}
|
||||
|
||||
@@ -728,7 +728,7 @@ static void rna_def_sun_lamp(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "SunLamp", "Lamp");
|
||||
RNA_def_struct_sdna(srna, "Lamp");
|
||||
RNA_def_struct_ui_text(srna, "Sun Lamp", "Constant direction parallel ray lamp.");
|
||||
RNA_def_struct_ui_text(srna, "Sun Lamp", "Constant direction parallel ray lamp");
|
||||
RNA_def_struct_ui_icon(srna, ICON_LAMP_SUN);
|
||||
|
||||
rna_def_lamp_shadow(srna, 0, 0);
|
||||
@@ -738,7 +738,7 @@ static void rna_def_sun_lamp(BlenderRNA *brna)
|
||||
RNA_def_property_flag(prop, PROP_NEVER_NULL);
|
||||
RNA_def_property_struct_type(prop, "LampSkySettings");
|
||||
RNA_def_property_pointer_funcs(prop, "rna_Lamp_sky_settings_get", NULL, NULL);
|
||||
RNA_def_property_ui_text(prop, "Sky Settings", "Sky related settings for sun lamps.");
|
||||
RNA_def_property_ui_text(prop, "Sky Settings", "Sky related settings for sun lamps");
|
||||
|
||||
rna_def_lamp_sky_settings(brna);
|
||||
}
|
||||
@@ -749,7 +749,7 @@ static void rna_def_hemi_lamp(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "HemiLamp", "Lamp");
|
||||
RNA_def_struct_sdna(srna, "Lamp");
|
||||
RNA_def_struct_ui_text(srna, "Hemi Lamp", "180 degree constant lamp.");
|
||||
RNA_def_struct_ui_text(srna, "Hemi Lamp", "180 degree constant lamp");
|
||||
RNA_def_struct_ui_icon(srna, ICON_LAMP_HEMI);
|
||||
}
|
||||
|
||||
|
||||
@@ -167,7 +167,7 @@ static void rna_def_latticepoint(BlenderRNA *brna)
|
||||
|
||||
srna= RNA_def_struct(brna, "LatticePoint", NULL);
|
||||
RNA_def_struct_sdna(srna, "BPoint");
|
||||
RNA_def_struct_ui_text(srna, "LatticePoint", "Point in the lattice grid.");
|
||||
RNA_def_struct_ui_text(srna, "LatticePoint", "Point in the lattice grid");
|
||||
|
||||
prop= RNA_def_property(srna, "co", PROP_FLOAT, PROP_TRANSLATION);
|
||||
RNA_def_property_array(prop, 3);
|
||||
@@ -184,7 +184,7 @@ static void rna_def_latticepoint(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "groups", PROP_COLLECTION, PROP_NONE);
|
||||
RNA_def_property_collection_funcs(prop, "rna_LatticePoint_groups_begin", "rna_iterator_array_next", "rna_iterator_array_end", "rna_iterator_array_get", 0, 0, 0);
|
||||
RNA_def_property_struct_type(prop, "VertexGroupElement");
|
||||
RNA_def_property_ui_text(prop, "Groups", "Weights for the vertex groups this point is member of.");
|
||||
RNA_def_property_ui_text(prop, "Groups", "Weights for the vertex groups this point is member of");
|
||||
}
|
||||
|
||||
static void rna_def_lattice(BlenderRNA *brna)
|
||||
@@ -199,28 +199,28 @@ static void rna_def_lattice(BlenderRNA *brna)
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "Lattice", "ID");
|
||||
RNA_def_struct_ui_text(srna, "Lattice", "Lattice datablock defining a grid for deforming other objects.");
|
||||
RNA_def_struct_ui_text(srna, "Lattice", "Lattice datablock defining a grid for deforming other objects");
|
||||
RNA_def_struct_ui_icon(srna, ICON_LATTICE_DATA);
|
||||
|
||||
prop= RNA_def_property(srna, "points_u", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "pntsu");
|
||||
RNA_def_property_int_funcs(prop, NULL, "rna_Lattice_points_u_set", NULL);
|
||||
RNA_def_property_range(prop, 1, 64);
|
||||
RNA_def_property_ui_text(prop, "U", "Points in U direction.");
|
||||
RNA_def_property_ui_text(prop, "U", "Points in U direction");
|
||||
RNA_def_property_update(prop, 0, "rna_Lattice_update_size");
|
||||
|
||||
prop= RNA_def_property(srna, "points_v", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "pntsv");
|
||||
RNA_def_property_int_funcs(prop, NULL, "rna_Lattice_points_v_set", NULL);
|
||||
RNA_def_property_range(prop, 1, 64);
|
||||
RNA_def_property_ui_text(prop, "V", "Points in V direction.");
|
||||
RNA_def_property_ui_text(prop, "V", "Points in V direction");
|
||||
RNA_def_property_update(prop, 0, "rna_Lattice_update_size");
|
||||
|
||||
prop= RNA_def_property(srna, "points_w", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "pntsw");
|
||||
RNA_def_property_int_funcs(prop, NULL, "rna_Lattice_points_w_set", NULL);
|
||||
RNA_def_property_range(prop, 1, 64);
|
||||
RNA_def_property_ui_text(prop, "W", "Points in W direction.");
|
||||
RNA_def_property_ui_text(prop, "W", "Points in W direction");
|
||||
RNA_def_property_update(prop, 0, "rna_Lattice_update_size");
|
||||
|
||||
prop= RNA_def_property(srna, "interpolation_type_u", PROP_ENUM, PROP_NONE);
|
||||
@@ -244,7 +244,7 @@ static void rna_def_lattice(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "outside", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", LT_OUTSIDE);
|
||||
RNA_def_property_boolean_funcs(prop, NULL, "rna_Lattice_outside_set");
|
||||
RNA_def_property_ui_text(prop, "Outside", "Only draw, and take into account, the outer vertices.");
|
||||
RNA_def_property_ui_text(prop, "Outside", "Only draw, and take into account, the outer vertices");
|
||||
RNA_def_property_update(prop, 0, "rna_Lattice_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "shape_keys", PROP_POINTER, PROP_NONE);
|
||||
@@ -254,7 +254,7 @@ static void rna_def_lattice(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "points", PROP_COLLECTION, PROP_NONE);
|
||||
RNA_def_property_struct_type(prop, "LatticePoint");
|
||||
RNA_def_property_collection_funcs(prop, "rna_Lattice_points_begin", "rna_iterator_array_next", "rna_iterator_array_end", "rna_iterator_array_get", 0, 0, 0);
|
||||
RNA_def_property_ui_text(prop, "Points", "Points of the lattice.");
|
||||
RNA_def_property_ui_text(prop, "Points", "Points of the lattice");
|
||||
}
|
||||
|
||||
void RNA_def_lattice(BlenderRNA *brna)
|
||||
|
||||
@@ -286,14 +286,14 @@ void RNA_def_main(BlenderRNA *brna)
|
||||
int i;
|
||||
|
||||
srna= RNA_def_struct(brna, "Main", NULL);
|
||||
RNA_def_struct_ui_text(srna, "Main", "Main data structure representing a .blend file and all its datablocks.");
|
||||
RNA_def_struct_ui_text(srna, "Main", "Main data structure representing a .blend file and all its datablocks");
|
||||
RNA_def_struct_ui_icon(srna, ICON_BLENDER);
|
||||
|
||||
prop= RNA_def_property(srna, "filename", PROP_STRING, PROP_FILEPATH);
|
||||
RNA_def_property_string_maxlength(prop, 240);
|
||||
RNA_def_property_string_funcs(prop, "rna_Main_filename_get", "rna_Main_filename_length", "rna_Main_filename_set");
|
||||
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_ui_text(prop, "Filename", "Path to the .blend file.");
|
||||
RNA_def_property_ui_text(prop, "Filename", "Path to the .blend file");
|
||||
|
||||
for(i=0; lists[i].name; i++)
|
||||
{
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user