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-09-08 00:27:29 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-09-08 00:27:29 +0300
commit0ffca8b7b3ba44027820588739e9b94288d0d79e (patch)
treefac521f15e2246c5d66ba8951f4c1ba86c59f8dc /source/blender/makesrna/intern/rna_nodetree.c
parentaa6c9ca899141ad60a4d2ed59197afde2966eadb (diff)
Fix gizmo poll function
Missed cast switching to bool return type.
Diffstat (limited to 'source/blender/makesrna/intern/rna_nodetree.c')
-rw-r--r--source/blender/makesrna/intern/rna_nodetree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c
index 1f0782cb7e3..3cc8bac13e2 100644
--- a/source/blender/makesrna/intern/rna_nodetree.c
+++ b/source/blender/makesrna/intern/rna_nodetree.c
@@ -552,7 +552,7 @@ static bool rna_NodeTree_poll(const bContext *C, bNodeTreeType *ntreetype)
ParameterList list;
FunctionRNA *func;
void *ret;
- int visible;
+ bool visible;
RNA_pointer_create(NULL, ntreetype->ext.srna, NULL, &ptr); /* dummy */
func = &rna_NodeTree_poll_func; /* RNA_struct_find_function(&ptr, "poll"); */