Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-03-14 06:36:36 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-03-14 06:38:38 +0300
commit5c2cef2c91196d1246c85fde58347fd25c95d50e (patch)
tree3e14bfd129e40f30169ab09355bde18395152123 /source/blender/makesrna/intern/rna_workspace_api.c
parentff752f6dbc00a5c67724d568eef510596953d864 (diff)
Cleanup: match WorkSpace and WorkSpaceTool capitalization
Diffstat (limited to 'source/blender/makesrna/intern/rna_workspace_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_workspace_api.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/makesrna/intern/rna_workspace_api.c b/source/blender/makesrna/intern/rna_workspace_api.c
index c2e8e9a49a6..3f1a30a5075 100644
--- a/source/blender/makesrna/intern/rna_workspace_api.c
+++ b/source/blender/makesrna/intern/rna_workspace_api.c
@@ -41,7 +41,7 @@
#include "ED_screen.h"
-static void rna_WorkspaceTool_setup(
+static void rna_WorkSpaceTool_setup(
ID *id,
bToolRef *tref,
bContext *C,
@@ -66,7 +66,7 @@ static void rna_WorkspaceTool_setup(
WM_toolsystem_ref_set_from_runtime(C, (WorkSpace *)id, tref, &tref_rt, name);
}
-static void rna_WorkspaceTool_refresh_from_context(
+static void rna_WorkSpaceTool_refresh_from_context(
ID *id,
bToolRef *tref,
Main *bmain)
@@ -74,7 +74,7 @@ static void rna_WorkspaceTool_refresh_from_context(
WM_toolsystem_ref_sync_from_context(bmain, (WorkSpace *)id, tref);
}
-static PointerRNA rna_WorkspaceTool_operator_properties(
+static PointerRNA rna_WorkSpaceTool_operator_properties(
bToolRef *tref,
ReportList *reports,
const char *idname)
@@ -92,7 +92,7 @@ static PointerRNA rna_WorkspaceTool_operator_properties(
return PointerRNA_NULL;
}
-static PointerRNA rna_WorkspaceTool_gizmo_group_properties(
+static PointerRNA rna_WorkSpaceTool_gizmo_group_properties(
bToolRef *tref,
ReportList *reports,
const char *idname)
@@ -129,7 +129,7 @@ void RNA_api_workspace_tool(StructRNA *srna)
PropertyRNA *parm;
FunctionRNA *func;
- func = RNA_def_function(srna, "setup", "rna_WorkspaceTool_setup");
+ func = RNA_def_function(srna, "setup", "rna_WorkSpaceTool_setup");
RNA_def_function_flag(func, FUNC_USE_SELF_ID | FUNC_USE_CONTEXT);
RNA_def_function_ui_description(func, "Set the tool settings");
@@ -146,7 +146,7 @@ void RNA_api_workspace_tool(StructRNA *srna)
RNA_def_int(func, "index", 0, INT_MIN, INT_MAX, "Index", "", INT_MIN, INT_MAX);
/* Access tool operator options (optionally create). */
- func = RNA_def_function(srna, "operator_properties", "rna_WorkspaceTool_operator_properties");
+ func = RNA_def_function(srna, "operator_properties", "rna_WorkSpaceTool_operator_properties");
RNA_def_function_flag(func, FUNC_USE_REPORTS);
parm = RNA_def_string(func, "operator", NULL, 0, "", "");
RNA_def_parameter_flags(parm, 0, PARM_REQUIRED);
@@ -156,7 +156,7 @@ void RNA_api_workspace_tool(StructRNA *srna)
RNA_def_function_return(func, parm);
/* Access gizmo-group options (optionally create). */
- func = RNA_def_function(srna, "gizmo_group_properties", "rna_WorkspaceTool_gizmo_group_properties");
+ func = RNA_def_function(srna, "gizmo_group_properties", "rna_WorkSpaceTool_gizmo_group_properties");
RNA_def_function_flag(func, FUNC_USE_REPORTS);
parm = RNA_def_string(func, "group", NULL, 0, "", "");
RNA_def_parameter_flags(parm, 0, PARM_REQUIRED);
@@ -165,7 +165,7 @@ void RNA_api_workspace_tool(StructRNA *srna)
RNA_def_parameter_flags(parm, PROP_NEVER_NULL, PARM_RNAPTR);
RNA_def_function_return(func, parm);
- func = RNA_def_function(srna, "refresh_from_context", "rna_WorkspaceTool_refresh_from_context");
+ func = RNA_def_function(srna, "refresh_from_context", "rna_WorkSpaceTool_refresh_from_context");
RNA_def_function_flag(func, FUNC_USE_SELF_ID | FUNC_USE_MAIN);
}