Got rid of many #include "BPY_extern.h"
authorChris Want <cwant@ualberta.ca>
Sat, 22 Nov 2003 20:21:59 +0000 (20:21 +0000)
committerChris Want <cwant@ualberta.ca>
Sat, 22 Nov 2003 20:21:59 +0000 (20:21 +0000)
Homework from Michel: do grep BPY source/blender/src/*
and see if there is anything that needs fixing.

16 files changed:
source/blender/blenkernel/intern/exotic.c
source/blender/blenkernel/intern/material.c
source/blender/blenkernel/intern/object.c
source/blender/blenkernel/intern/scene.c
source/blender/blenkernel/intern/text.c
source/blender/blenkernel/intern/world.c
source/blender/blenloader/intern/readfile.c
source/blender/renderconverter/intern/convertBlenderScene.c
source/blender/src/drawtext.c
source/blender/src/drawview.c
source/blender/src/header_info.c
source/blender/src/header_text.c
source/blender/src/headerbuttons.c
source/blender/src/space.c
source/blender/src/usiblender.c
source/creator/creator.c

index da4ac23dc158caf8ebb7209925e4ee4c6b15824e..067b703abc46aa06179d4bae67de63f7eb82337a 100644 (file)
 #include "BKE_displist.h"
 #include "BKE_curve.h"
 
-#include "BPY_extern.h"
-
 /***/
 
 static int is_dxf(char *str);
index 3ee586ec0935222728966826d014897fac785fe1..d257dd043c0fa640740f5553e348db04ed352142 100644 (file)
@@ -55,7 +55,6 @@
 #include "BKE_mesh.h"
 #include "BKE_library.h"
 #include "BKE_displist.h"
-#include "BPY_extern.h"
 #include "BKE_material.h"
 
 #ifdef HAVE_CONFIG_H
index bdb3220c43177eb7c9b0d1cb09d3be9ccd9cb447..4968d3a96b7d2d738c76fa00814362b4e79c063e 100644 (file)
@@ -92,7 +92,6 @@
 #include "BKE_mball.h"
 #include "BKE_effect.h"
 #include "BKE_sca.h"
-#include "BPY_extern.h"
 #include "BKE_displist.h"
 #include "BKE_property.h"
 #include "BKE_anim.h"
index c798945087055b34b527267d9066854802748c23..75eb6584026c435b7852daf300980b9c6ac3139c 100644 (file)
@@ -77,7 +77,6 @@
 
 #include "BKE_library.h"
 
-#include "BPY_extern.h"
 #include "BKE_scene.h"
 #include "BKE_world.h"
 #include "BKE_ipo.h"
index e32b0532a1c99ea8eb51613803d382ee1c78b8e6..01092fe026e1d7aa7b6bfdbc456d0ca16eff23d8 100644 (file)
@@ -48,8 +48,6 @@
 #include "BKE_global.h"
 #include "BKE_main.h"
 
-#include "BPY_extern.h" // Blender Python library
-
 #ifdef HAVE_CONFIG_H
 #include <config.h>
 #endif
index cfcbac0e80a9d7cde37d575f7eaae5244ad4ad65..a8a4dfd5a0aefb808e99f346e412e3917b6b8756 100644 (file)
@@ -54,7 +54,6 @@
 #include "BKE_library.h"
 #include "BKE_world.h"
 #include "BKE_global.h"
-#include "BPY_extern.h"
 #include "BKE_main.h"
 
 #ifdef HAVE_CONFIG_H
index 72f8c6552ca528f598e1dcfa648ec993d4fafb43..ee3dd5b4131277cfac7f585d069f9d15965a5a1e 100644 (file)
 #include "BKE_armature.h"      //      for precalc_bonelist_irestmats
 #include "BKE_action.h"
 
-#include "BPY_extern.h" // for BPY_do_pyscript
-
 #include "BIF_butspace.h" // for do_versions, patching event codes
 
 #include "BLO_readfile.h"
index bf816666b532c7bbdf79fb56734a5483b5b959f5..c65858320533166725e21a7a2d74a1ee51131c99 100644 (file)
@@ -98,8 +98,6 @@
 
 #include "BSE_sequence.h"
 
-#include "BPY_extern.h"
-
 #include "nla.h"
 
 #ifdef HAVE_CONFIG_H
index 6920c38d34ba6f3c1040447e2ae5d3c677ad9fec..f1a0c4af8551a5470d2b5dcbc482b699225cbb00 100644 (file)
@@ -63,8 +63,6 @@
 #include "BKE_global.h"
 #include "BKE_main.h"
 
-#include "BPY_extern.h"
-
 #include "BIF_gl.h"
 #include "BIF_keyval.h"
 #include "BIF_interface.h"
index 445442309ad3440f689562a83b5560f83f129a98..0c4fca3ecf9d1497c4247aa0340bf0fcef7e61dd 100644 (file)
 
 #include "RE_renderconverter.h"
 
-#include "BPY_extern.h" // Blender Python library
-
 #include "blendef.h"
 #include "mydevice.h"
 #include "butspace.h"  // event codes
index 1376aec40c762f7eecd230056bd6999c5f764576..df9bf3f5d19524548e796eb4190b7d81e901d8b9 100644 (file)
@@ -98,8 +98,6 @@
 #include "BLI_blenlib.h"
 #include "BLO_writefile.h"
 
-#include "BPY_extern.h"
-
 #include "BSE_editipo.h"
 #include "BSE_filesel.h"
 #include "BSE_headerbuttons.h"
index 8e4fb3aa9aea6064918c2cae7d68aadb38469e6e..0b946a0ddfe1abd2bc96160cf1c91d83fed579f7 100644 (file)
@@ -70,7 +70,6 @@
 #include "BKE_main.h"
 #include "BKE_sca.h"
 #include "BKE_text.h"
-#include "BPY_extern.h"
 #include "BSE_filesel.h"
 
 #include "blendef.h"
index 0efd9d392acfc2e72cf6343fd1825d232570b697..04cebac4eb224f5ad43b1d6e94bb2f1082f3ca93 100644 (file)
 #include "BDR_editcurve.h"
 #include "BDR_editmball.h"
 
-#include "BPY_extern.h" // Blender Python library
-
 #include "mydevice.h"
 #include "blendef.h"
 #include "render.h"
index 0e4f004443faa4f200a0f39958b0190da6639a0e..13f3997ae9b9ee5bdc9d6341cbe5490e5db901f9 100644 (file)
 #include "blendef.h"
 #include "datatoc.h"
 
-#include "BPY_extern.h" // Blender Python library
-
 #include "TPT_DependKludge.h"
 #ifdef NAN_TPT
 #include "BSE_trans_types.h"
index b2e0f0a171c2beaecd54d7c59c59ffce483d5b40..521075db950cc712e693b3cdadff1b7dbc211aa9 100644 (file)
 #include "BDR_editobject.h"
 #include "BDR_vpaint.h"
 
-#include "BPY_extern.h"
 #include "blendef.h"
 
 #include "radio.h"
index b24631ffc64aa42951fd1779072bb52c60414cc3..cdcdc7317114e7af2a7dfafb99a82f44f31d0243 100644 (file)
@@ -70,8 +70,6 @@
 #include "BLO_writefile.h"
 #include "BLO_readfile.h"
 
-#include "BPY_extern.h"  // for init of blender python extension
-
 #include "BSE_headerbuttons.h" // for BIF_read_homefile
 
 #include "BDR_drawmesh.h"