code cleanup: remove references to BLI_rand.h
authorCampbell Barton <ideasman42@gmail.com>
Wed, 8 May 2013 12:59:35 +0000 (12:59 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 8 May 2013 12:59:35 +0000 (12:59 +0000)
32 files changed:
source/blender/editors/object/object_edit.c
source/blender/editors/render/render_internal.c
source/blender/editors/screen/area.c
source/blender/editors/sculpt_paint/sculpt.c
source/blender/editors/space_action/space_action.c
source/blender/editors/space_buttons/space_buttons.c
source/blender/editors/space_file/space_file.c
source/blender/editors/space_graph/graph_buttons.c
source/blender/editors/space_graph/graph_utils.c
source/blender/editors/space_graph/space_graph.c
source/blender/editors/space_image/image_buttons.c
source/blender/editors/space_info/space_info.c
source/blender/editors/space_nla/nla_buttons.c
source/blender/editors/space_nla/nla_channels.c
source/blender/editors/space_nla/nla_draw.c
source/blender/editors/space_nla/nla_edit.c
source/blender/editors/space_nla/nla_ops.c
source/blender/editors/space_nla/nla_select.c
source/blender/editors/space_nla/space_nla.c
source/blender/editors/space_outliner/space_outliner.c
source/blender/editors/space_script/space_script.c
source/blender/editors/space_view3d/drawvolume.c
source/blender/editors/space_view3d/space_view3d.c
source/blender/editors/space_view3d/view3d_buttons.c
source/blender/editors/space_view3d/view3d_draw.c
source/blender/editors/space_view3d/view3d_edit.c
source/blender/editors/space_view3d/view3d_select.c
source/blender/editors/space_view3d/view3d_toolbar.c
source/blender/editors/uvedit/uvedit_unwrap_ops.c
source/blender/modifiers/intern/MOD_weightvg_util.h
source/blender/modifiers/intern/MOD_weightvgedit.c
source/blender/modifiers/intern/MOD_weightvgproximity.c

index 55b1da38b5c5c2432537828a819ada967a2a69e5..f2bd1ff5a9336996dafed11f7892cdc4827aba34 100644 (file)
@@ -41,7 +41,6 @@
 #include "BLI_math.h"
 #include "BLI_utildefines.h"
 #include "BLI_ghash.h"
-#include "BLI_rand.h"
 
 #include "DNA_armature_types.h"
 #include "DNA_curve_types.h"
index 36a54272689af7b2fe02a84559530ca22c5827c3..b1ec1f5c099eb924894352ac909b705f1e006334 100644 (file)
@@ -36,7 +36,6 @@
 #include "BLI_blenlib.h"
 #include "BLI_math.h"
 #include "BLI_threads.h"
-#include "BLI_rand.h"
 #include "BLI_utildefines.h"
 
 #include "BLF_translation.h"
index fc270203710d80c32c642ce12847d0b764d0a951..07049e8c9b265b99e252205a26b9ce5edb8d19bf 100644 (file)
@@ -38,7 +38,6 @@
 
 #include "BLI_blenlib.h"
 #include "BLI_math.h"
-#include "BLI_rand.h"
 #include "BLI_utildefines.h"
 
 #include "BLF_translation.h"
index b54b28e2a1818580ffe3d109033f113fd1f8d5ef..6c57296ae3a5f71ea88affba99929d5787bd9f34 100644 (file)
@@ -41,7 +41,6 @@
 #include "BLI_dynstr.h"
 #include "BLI_ghash.h"
 #include "BLI_threads.h"
-#include "BLI_rand.h"
 
 #include "BLF_translation.h"
 
index 137ac367815e222fe2679e030b5c31c6e59114d2..61477f0730e2382bad259958611cee68b30e0f3b 100644 (file)
@@ -39,7 +39,6 @@
 
 #include "BLI_blenlib.h"
 #include "BLI_math.h"
-#include "BLI_rand.h"
 #include "BLI_utildefines.h"
 
 #include "BKE_context.h"
index af404773f93ffdfdc027d8496f40bbf0065893fc..34604f9d5f828d1f5c658e03c9973a741613610b 100644 (file)
@@ -36,7 +36,6 @@
 
 #include "BLI_blenlib.h"
 #include "BLI_math.h"
-#include "BLI_rand.h"
 #include "BLI_utildefines.h"
 
 #include "BKE_context.h"
index d2624c7fa972a8b7214c6be1651d2ba16fbfa082..4293a384ccff15a13c277a56db8b2ae0043fe0ec 100644 (file)
@@ -37,7 +37,6 @@
 
 #include "BLI_blenlib.h"
 #include "BLI_math.h"
-#include "BLI_rand.h"
 #include "BLI_utildefines.h"
 #include "BLI_fileops_types.h"
 
index d62ab2850b416353a5ea97f57fcf71712f0491d9..f00f5d5dfdd8462cc43733112910a3d855b9491a 100644 (file)
@@ -42,7 +42,6 @@
 
 #include "BLI_math.h"
 #include "BLI_blenlib.h"
-#include "BLI_rand.h"
 #include "BLI_utildefines.h"
 
 #include "BLF_translation.h"
index 93dfd3644ddd41f4ce8c7bd6242b36ec7b12aabf..5ce3ade7d307115b54085c7b6e31694b7dfed40a 100644 (file)
@@ -42,7 +42,6 @@
 
 #include "BLI_math.h"
 #include "BLI_blenlib.h"
-#include "BLI_rand.h"
 
 #include "BKE_context.h"
 #include "BKE_fcurve.h"
index 98c26a447b7f348a484025e8d3f002206727bec9..3f9737b3c5d3ccdf43397c4d01ea18b9191fe7d4 100644 (file)
@@ -39,7 +39,6 @@
 
 #include "BLI_blenlib.h"
 #include "BLI_math.h"
-#include "BLI_rand.h"
 #include "BLI_utildefines.h"
 
 #include "BKE_context.h"
index cf640dd29d62468f9bf91b04834f6d01350a9765..4b1975bc058c6167f2cad21ccad8cea970ee13b3 100644 (file)
@@ -39,7 +39,6 @@
 
 #include "BLI_blenlib.h"
 #include "BLI_math.h"
-#include "BLI_rand.h"
 #include "BLI_utildefines.h"
 
 #include "BLF_translation.h"
index 1f59eedd81963db2a08112febb33ebbfdaf21960..96ad6dee2df7ff8068b15b3b3f37fd03dfb0fcca 100644 (file)
@@ -36,7 +36,6 @@
 
 #include "BLI_blenlib.h"
 #include "BLI_math.h"
-#include "BLI_rand.h"
 #include "BLI_utildefines.h"
 
 #include "BLF_translation.h"
index 4678c46b45ff3165a25521d6d86c9d9f99559a9c..9206f3f024a060223aa31e1f4003e920ffd7f63f 100644 (file)
@@ -42,7 +42,6 @@
 
 #include "BLI_math.h"
 #include "BLI_blenlib.h"
-#include "BLI_rand.h"
 
 #include "BLF_translation.h"
 
index 97a1c583e36461a3cfdab9da98f82f13917509ec..c3f8642d0a61da5b31285aa7293766adfa82a226 100644 (file)
@@ -40,7 +40,6 @@
 
 #include "BLI_blenlib.h"
 #include "BLI_math.h"
-#include "BLI_rand.h"
 #include "BLI_utildefines.h"
 
 #include "BKE_animsys.h"
index 56f2ec9ebe16befedd1ab5a0b5d255a345550b34..5f3e1ef88e32b91b732332270e2ad45ef7696e99 100644 (file)
@@ -43,7 +43,6 @@
 
 #include "BLI_blenlib.h"
 #include "BLI_math.h"
-#include "BLI_rand.h"
 #include "BLI_dlrbTree.h"
 #include "BLI_utildefines.h"
 
index 17d403789cf063590cdc384f2e05fd15d4ccfd4f..5be3a2b14d46e25fe8d958d8db190c7f416488a5 100644 (file)
@@ -41,7 +41,6 @@
 
 #include "BLI_blenlib.h"
 #include "BLI_math.h"
-#include "BLI_rand.h"
 #include "BLI_utildefines.h"
 
 #include "BLF_translation.h"
index fb0f11ffd87d167d38c04cf214eb1f251528d2f0..e4d5c6ef284554999c0c73da595a96bab0d4f02b 100644 (file)
@@ -37,7 +37,6 @@
 
 #include "BLI_blenlib.h"
 #include "BLI_math.h"
-#include "BLI_rand.h"
 
 #include "BKE_context.h"
 #include "BKE_screen.h"
index 3e414233add8063baff4797f6c9826ef639bcd00..f723696de69d6a6c84e845c4b90a1cbe93ee26bf 100644 (file)
@@ -39,7 +39,6 @@
 
 #include "BLI_blenlib.h"
 #include "BLI_math.h"
-#include "BLI_rand.h"
 
 #include "BKE_nla.h"
 #include "BKE_context.h"
index d0773bfe8189a702b7219f78904c2894f5097c6a..b3d8d5d5aadf031a898907e792450f075c071fce 100644 (file)
@@ -39,7 +39,6 @@
 
 #include "BLI_blenlib.h"
 #include "BLI_math.h"
-#include "BLI_rand.h"
 #include "BLI_utildefines.h"
 
 #include "BKE_context.h"
index 76a3da23d5786d1cd44ff2568f8bc00c39e0fe62..9e458647aa2df759beecf3f251c7dfac45968a61 100644 (file)
@@ -36,7 +36,6 @@
 
 #include "BLI_blenlib.h"
 #include "BLI_math.h"
-#include "BLI_rand.h"
 #include "BLI_utildefines.h"
 
 #include "BKE_context.h"
index 1fbd6f08b347bc9df8a2c6f353cc8f61a541f216..a6c4ac231df7c20f29008e87bab0d055c8ee8e48 100644 (file)
@@ -36,7 +36,6 @@
 
 #include "BLI_blenlib.h"
 #include "BLI_math.h"
-#include "BLI_rand.h"
 #include "BLI_utildefines.h"
 
 #include "BKE_context.h"
index 3933d8e47536321ff2ffa56fc4280d996d8ba7c0..8323e7de9a49907c0569d9beba8b7a77b5c3305c 100644 (file)
@@ -44,7 +44,6 @@
 #include "BLI_blenlib.h"
 #include "BLI_math.h"
 #include "BLI_edgehash.h"
-#include "BLI_rand.h"
 
 #include "BKE_curve.h"
 #include "BKE_constraint.h"  /* for the get_constraint_target function */
index ef16090c39d4fd29157608a22fc0b4ce1342ea7e..45274cbd6192a6c7c6125afb430409ad3fdcef58 100644 (file)
@@ -40,7 +40,6 @@
 
 #include "BLI_blenlib.h"
 #include "BLI_math.h"
-#include "BLI_rand.h"
 #include "BLI_utildefines.h"
 
 #include "BKE_context.h"
index 76a32a20c1cb7f9ba632c7a4a893a88ba02174f1..828ef221e970f377511366b1723605e1d6282aa8 100644 (file)
@@ -49,7 +49,6 @@
 
 #include "BLI_math.h"
 #include "BLI_blenlib.h"
-#include "BLI_rand.h"
 #include "BLI_utildefines.h"
 
 #include "BKE_action.h"
index 27d555a749d116a36c143bdd12fc119542ad3f07..36a2aad4b4afdac3c1113e0c042e7a98c3158416 100644 (file)
@@ -46,7 +46,6 @@
 
 #include "BLI_blenlib.h"
 #include "BLI_math.h"
-#include "BLI_rand.h"
 #include "BLI_utildefines.h"
 #include "BLI_endian_switch.h"
 
index 3f7e41b64dfcbcbbfdee5b274dbe6f87f8a7d1d9..bc9b1e339c69df70857d3f874e347d1880991f33 100644 (file)
@@ -44,7 +44,6 @@
 
 #include "BLI_blenlib.h"
 #include "BLI_math.h"
-#include "BLI_rand.h"
 #include "BLI_utildefines.h"
 
 #include "BKE_camera.h"
index bb3aff544084cbe3a6ae13fe77675e32221b8af9..2a1e6d0fc5c5cd94625d4c9903c568dff2f50ea2 100644 (file)
@@ -50,7 +50,6 @@
 #include "BLI_math.h"
 #include "BLI_lasso.h"
 #include "BLI_rect.h"
-#include "BLI_rand.h"
 #include "BLI_linklist.h"
 #include "BLI_listbase.h"
 #include "BLI_string.h"
index 00e13eb4b6b2f0503619cbe4e5780b4525861bf0..ebb9a7b8c816704165b20ca4c2e20c1de107042f 100644 (file)
@@ -41,7 +41,6 @@
 
 #include "BLI_math.h"
 #include "BLI_blenlib.h"
-#include "BLI_rand.h"
 #include "BLI_utildefines.h"
 #include "BLI_ghash.h"
 
index 773b72ea390cfee7562bf03a617c361cc3ea423a..c7bc59295f866c5e2ded17ec8cb56c9dd7293d60 100644 (file)
@@ -48,7 +48,6 @@
 #include "BLI_edgehash.h"
 #include "BLI_uvproject.h"
 #include "BLI_utildefines.h"
-#include "BLI_rand.h"
 #include "BLI_string.h"
 
 #include "BKE_cdderivedmesh.h"
index c7509a937b68fa32a8067ae71433c019f5a29b1b..afb77458d7c8d8a884cc3896189753bab51d17c2 100644 (file)
  *  \ingroup modifiers
  */
 
-
 #ifndef __MOD_WEIGHTVG_UTIL_H__
 #define __MOD_WEIGHTVG_UTIL_H__
 
-#include "BLI_rand.h"
-
-/* so modifier types match their defines */
-#include "MOD_modifiertypes.h"
-
 struct CurveMapping;
 struct DerivedMesh;
 struct Object;
 struct Tex;
 struct Scene;
+struct RNG;
 
 /*
  * XXX I'd like to make modified weights visible in WeightPaint mode,
@@ -67,7 +62,7 @@ struct Scene;
  * vertex index (in case the weight tables do not cover the whole vertices...).
  * cmap might be NULL, in which case curve mapping mode will return unmodified data.
  */
-void weightvg_do_map(int num, float *new_w, short mode, struct CurveMapping *cmap, RNG *rng);
+void weightvg_do_map(int num, float *new_w, short mode, struct CurveMapping *cmap, struct RNG *rng);
 
 /* Applies new_w weights to org_w ones, using either a texture, vgroup or constant value as factor.
  * Return values are in org_w.
index 12917af0eb70ca62ecc32c0cdad5ce1230c5de86..2cb41cb61963cc9db15fcbd352d588cffa922254 100644 (file)
@@ -32,6 +32,7 @@
 #include "BLI_ghash.h"
 #include "BLI_math.h"
 #include "BLI_string.h"
+#include "BLI_rand.h"
 
 #include "DNA_color_types.h"      /* CurveMapping. */
 #include "DNA_mesh_types.h"
index 9ad96174a0360e82376cbea70b5cae5f27255389..9241510f18abd02b67125c1303259382634ca9b1 100644 (file)
@@ -34,6 +34,7 @@
 #include "BLI_ghash.h"
 #include "BLI_math.h"
 #include "BLI_string.h"
+#include "BLI_rand.h"
 
 #if DO_PROFILE
        #include "PIL_time.h"