[Bf-blender-cvs] [2859952] wiggly-widgets: Classic fix linking of the widget library.
Antony Riakiotakis
noreply at git.blender.org
Fri Oct 17 11:23:22 CEST 2014
Commit: 28599523fc08b01bf2634ade24b73781da9f68d5
Author: Antony Riakiotakis
Date: Fri Oct 17 11:23:07 2014 +0200
Branches: wiggly-widgets
https://developer.blender.org/rB28599523fc08b01bf2634ade24b73781da9f68d5
Classic fix linking of the widget library.
===================================================================
M source/blender/windowmanager/intern/wm_generic_widgets.c
M source/blender/windowmanager/intern/wm_widgets.c
M source/blender/windowmanager/wm.h
===================================================================
diff --git a/source/blender/windowmanager/intern/wm_generic_widgets.c b/source/blender/windowmanager/intern/wm_generic_widgets.c
index 1457a09..ba86ada 100644
--- a/source/blender/windowmanager/intern/wm_generic_widgets.c
+++ b/source/blender/windowmanager/intern/wm_generic_widgets.c
@@ -342,3 +342,8 @@ void WIDGET_dial_set_direction(struct wmWidget *widget, float direction[3])
copy_v3_v3(arrow->direction, direction);
normalize_v3(arrow->direction);
}
+
+void fix_linking_widget_lib(void)
+{
+ (void) 0;
+}
diff --git a/source/blender/windowmanager/intern/wm_widgets.c b/source/blender/windowmanager/intern/wm_widgets.c
index 4d8e7e5..c755364 100644
--- a/source/blender/windowmanager/intern/wm_widgets.c
+++ b/source/blender/windowmanager/intern/wm_widgets.c
@@ -342,9 +342,11 @@ void WM_widgetmaps_free(void)
}
BLI_freelistN(&wgroup->widgets);
}
- BLI_freelistN(&wmap->widgetgroups);
+ BLI_freelistN(&wmap->widgetgroups);
}
BLI_freelistN(&widgetmaps);
+
+ fix_linking_widget_lib();
}
bool wm_widgetmap_is_3d(struct wmWidgetMap *wmap)
diff --git a/source/blender/windowmanager/wm.h b/source/blender/windowmanager/wm.h
index 9ef3465..00f2d51 100644
--- a/source/blender/windowmanager/wm.h
+++ b/source/blender/windowmanager/wm.h
@@ -134,5 +134,7 @@ bool wm_widgetmap_is_3d(struct wmWidgetMap *wmap);
extern int circle_select_size;
#endif
+void fix_linking_widget_lib(void);
+
#endif /* __WM_H__ */
More information about the Bf-blender-cvs
mailing list