diff options
Diffstat (limited to 'source/blender/windowmanager/intern/wm_panel_type.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_panel_type.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_panel_type.c b/source/blender/windowmanager/intern/wm_panel_type.c index 5c0fd4ca520..f00129c139b 100644 --- a/source/blender/windowmanager/intern/wm_panel_type.c +++ b/source/blender/windowmanager/intern/wm_panel_type.c @@ -45,12 +45,14 @@ PanelType *WM_paneltype_find(const char *idname, bool quiet) if (idname[0]) { pt = BLI_ghash_lookup(g_paneltypes_hash, idname); - if (pt) + if (pt) { return pt; + } } - if (!quiet) + if (!quiet) { printf("search for unknown paneltype %s\n", idname); + } return NULL; } |