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>2018-07-01 17:22:06 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-07-01 17:22:06 +0300
commit36a9436d808837110a9c1bb2ec897a358ea62d56 (patch)
tree9cea3795c43b6ddca4706f883ebef3e5235669f9 /source/blender/makesrna/intern/rna_workspace.c
parentbc95c7a3ea6fbcfbee43bd61c0a709de0d0daf26 (diff)
parentddee0931b8687d01186f1941d483c6b3622d1833 (diff)
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/makesrna/intern/rna_workspace.c')
-rw-r--r--source/blender/makesrna/intern/rna_workspace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_workspace.c b/source/blender/makesrna/intern/rna_workspace.c
index 041b2b9157f..166d71689d1 100644
--- a/source/blender/makesrna/intern/rna_workspace.c
+++ b/source/blender/makesrna/intern/rna_workspace.c
@@ -121,13 +121,13 @@ static bToolRef *rna_WorkSpace_tools_from_tkey(WorkSpace *workspace, const bTool
}
static bToolRef *rna_WorkSpace_tools_from_space_view3d_mode(
- WorkSpace *workspace, int mode, int create)
+ WorkSpace *workspace, int mode, bool create)
{
return rna_WorkSpace_tools_from_tkey(workspace, &(bToolKey){ .space_type = SPACE_VIEW3D, .mode = mode}, create);
}
static bToolRef *rna_WorkSpace_tools_from_space_image_mode(
- WorkSpace *workspace, int mode, int create)
+ WorkSpace *workspace, int mode, bool create)
{
return rna_WorkSpace_tools_from_tkey(workspace, &(bToolKey){ .space_type = SPACE_IMAGE, .mode = mode}, create);
}