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_ui.c
parentaa6c9ca899141ad60a4d2ed59197afde2966eadb (diff)
Fix gizmo poll function
Missed cast switching to bool return type.
Diffstat (limited to 'source/blender/makesrna/intern/rna_ui.c')
-rw-r--r--source/blender/makesrna/intern/rna_ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_ui.c b/source/blender/makesrna/intern/rna_ui.c
index a271df464b7..9ea51247ed4 100644
--- a/source/blender/makesrna/intern/rna_ui.c
+++ b/source/blender/makesrna/intern/rna_ui.c
@@ -113,7 +113,7 @@ static bool panel_poll(const bContext *C, PanelType *pt)
ParameterList list;
FunctionRNA *func;
void *ret;
- int visible;
+ bool visible;
RNA_pointer_create(NULL, pt->ext.srna, NULL, &ptr); /* dummy */
func = &rna_Panel_poll_func; /* RNA_struct_find_function(&ptr, "poll"); */