forked from bartvdbraak/blender
A little more work on patch [#24814] Operators which have no decription
submitted by Murat Egretli Not actually a patch but talks about descriptions that are missing and some small fixes that are needed. Kent
This commit is contained in:
parent
6cd849809d
commit
b6c68777ad
@ -253,8 +253,8 @@ void OBJECT_OT_shape_key_add(wmOperatorType *ot)
|
|||||||
{
|
{
|
||||||
/* identifiers */
|
/* identifiers */
|
||||||
ot->name= "Add Shape Key";
|
ot->name= "Add Shape Key";
|
||||||
ot->name= "Add shape key to the object.";
|
|
||||||
ot->idname= "OBJECT_OT_shape_key_add";
|
ot->idname= "OBJECT_OT_shape_key_add";
|
||||||
|
ot->description= "Add shape key to the object";
|
||||||
|
|
||||||
/* api callbacks */
|
/* api callbacks */
|
||||||
ot->poll= shape_key_mode_poll;
|
ot->poll= shape_key_mode_poll;
|
||||||
@ -281,8 +281,8 @@ void OBJECT_OT_shape_key_remove(wmOperatorType *ot)
|
|||||||
{
|
{
|
||||||
/* identifiers */
|
/* identifiers */
|
||||||
ot->name= "Remove Shape Key";
|
ot->name= "Remove Shape Key";
|
||||||
ot->name= "Remove shape key from the object.";
|
|
||||||
ot->idname= "OBJECT_OT_shape_key_remove";
|
ot->idname= "OBJECT_OT_shape_key_remove";
|
||||||
|
ot->description= "Remove shape key from the object";
|
||||||
|
|
||||||
/* api callbacks */
|
/* api callbacks */
|
||||||
ot->poll= shape_key_mode_poll;
|
ot->poll= shape_key_mode_poll;
|
||||||
|
@ -746,6 +746,7 @@ void GRAPH_OT_properties(wmOperatorType *ot)
|
|||||||
{
|
{
|
||||||
ot->name= "Properties";
|
ot->name= "Properties";
|
||||||
ot->idname= "GRAPH_OT_properties";
|
ot->idname= "GRAPH_OT_properties";
|
||||||
|
ot->description= "Toggle display properties panel";
|
||||||
|
|
||||||
ot->exec= graph_properties;
|
ot->exec= graph_properties;
|
||||||
ot->poll= ED_operator_ipo_active; // xxx
|
ot->poll= ED_operator_ipo_active; // xxx
|
||||||
|
@ -1019,6 +1019,7 @@ void IMAGE_OT_properties(wmOperatorType *ot)
|
|||||||
{
|
{
|
||||||
ot->name= "Properties";
|
ot->name= "Properties";
|
||||||
ot->idname= "IMAGE_OT_properties";
|
ot->idname= "IMAGE_OT_properties";
|
||||||
|
ot->description= "Toggle display properties panel";
|
||||||
|
|
||||||
ot->exec= image_properties;
|
ot->exec= image_properties;
|
||||||
ot->poll= ED_operator_image_active;
|
ot->poll= ED_operator_image_active;
|
||||||
@ -1042,6 +1043,7 @@ void IMAGE_OT_scopes(wmOperatorType *ot)
|
|||||||
{
|
{
|
||||||
ot->name= "Scopes";
|
ot->name= "Scopes";
|
||||||
ot->idname= "IMAGE_OT_scopes";
|
ot->idname= "IMAGE_OT_scopes";
|
||||||
|
ot->description= "Toggle display scopes panel";
|
||||||
|
|
||||||
ot->exec= image_scopes;
|
ot->exec= image_scopes;
|
||||||
ot->poll= ED_operator_image_active;
|
ot->poll= ED_operator_image_active;
|
||||||
|
@ -295,6 +295,7 @@ void NODE_OT_view_all(wmOperatorType *ot)
|
|||||||
/* identifiers */
|
/* identifiers */
|
||||||
ot->name= "View All";
|
ot->name= "View All";
|
||||||
ot->idname= "NODE_OT_view_all";
|
ot->idname= "NODE_OT_view_all";
|
||||||
|
ot->description= "Resize view so you can see all nodes";
|
||||||
|
|
||||||
/* api callbacks */
|
/* api callbacks */
|
||||||
ot->exec= node_view_all_exec;
|
ot->exec= node_view_all_exec;
|
||||||
|
Loading…
Reference in New Issue
Block a user