[Bf-blender-cvs] [d58f361099c] property-search-ui: Property Search: Remove commented out code

Hans Goudey noreply at git.blender.org
Tue Jul 28 19:48:44 CEST 2020


Commit: d58f361099c999fab9bb9405ef1b377465b65dac
Author: Hans Goudey
Date:   Tue Jul 28 13:48:36 2020 -0400
Branches: property-search-ui
https://developer.blender.org/rBd58f361099c999fab9bb9405ef1b377465b65dac

Property Search: Remove commented out code

===================================================================

M	source/blender/editors/space_buttons/buttons_context.c

===================================================================

diff --git a/source/blender/editors/space_buttons/buttons_context.c b/source/blender/editors/space_buttons/buttons_context.c
index 07f518eec18..876ea81b399 100644
--- a/source/blender/editors/space_buttons/buttons_context.c
+++ b/source/blender/editors/space_buttons/buttons_context.c
@@ -1102,20 +1102,6 @@ int buttons_context(const bContext *C, const char *member, bContextDataResult *r
 
 /************************* Drawing the Path ************************/
 
-// static void pin_cb(bContext *C, void *UNUSED(arg1), void *UNUSED(arg2))
-// {
-//   SpaceProperties *sbuts = CTX_wm_space_properties(C);
-
-//   if (sbuts->flag & SB_PIN_CONTEXT) {
-//     sbuts->pinid = buttons_context_id_path(C);
-//   }
-//   else {
-//     sbuts->pinid = NULL;
-//   }
-
-//   ED_area_tag_redraw(CTX_wm_area(C));
-// }
-
 static bool buttons_panel_context_poll(const bContext *C, PanelType *UNUSED(pt))
 {
   SpaceProperties *sbuts = CTX_wm_space_properties(C);



More information about the Bf-blender-cvs mailing list