remove commented scons lines from cmake files, fixed use of pointer poll function...
authorCampbell Barton <ideasman42@gmail.com>
Tue, 3 Aug 2010 08:12:55 +0000 (08:12 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 3 Aug 2010 08:12:55 +0000 (08:12 +0000)
30 files changed:
source/blender/avi/CMakeLists.txt
source/blender/blenlib/CMakeLists.txt
source/blender/blenpluginapi/CMakeLists.txt
source/blender/editors/interface/interface_templates.c
source/blender/imbuf/CMakeLists.txt
source/blender/imbuf/intern/cineon/CMakeLists.txt
source/blender/imbuf/intern/dds/CMakeLists.txt
source/blender/imbuf/intern/openexr/CMakeLists.txt
source/blender/makesrna/intern/rna_define.c
source/blender/quicktime/CMakeLists.txt
source/blender/readblenfile/CMakeLists.txt
source/blender/render/CMakeLists.txt
source/gameengine/BlenderRoutines/CMakeLists.txt
source/gameengine/Converter/CMakeLists.txt
source/gameengine/Expressions/CMakeLists.txt
source/gameengine/GameLogic/CMakeLists.txt
source/gameengine/GamePlayer/common/CMakeLists.txt
source/gameengine/GamePlayer/ghost/CMakeLists.txt
source/gameengine/Ketsji/CMakeLists.txt
source/gameengine/Ketsji/KXNetwork/CMakeLists.txt
source/gameengine/Network/CMakeLists.txt
source/gameengine/Network/LoopBackNetwork/CMakeLists.txt
source/gameengine/Physics/Bullet/CMakeLists.txt
source/gameengine/Physics/Dummy/CMakeLists.txt
source/gameengine/Physics/common/CMakeLists.txt
source/gameengine/Rasterizer/CMakeLists.txt
source/gameengine/Rasterizer/RAS_OpenGLRasterizer/CMakeLists.txt
source/gameengine/SceneGraph/CMakeLists.txt
source/gameengine/VideoTexture/CMakeLists.txt
source/kernel/CMakeLists.txt

index 0e5e152e5c113374d0e9935d01a75693c18e5309..5ef37f5951b80ef72b01709d222ff892a5d0e799 100644 (file)
@@ -32,4 +32,3 @@ SET(INC
 )
 
 BLENDERLIB(bf_avi "${SRC}" "${INC}")
-#env.BlenderLib ('bf_avi', sources, Split(incs), [], libtype=['core','player'], priority = [90, 50] )
index 628c2dc43a5cc7dcd7e27c048f22401efbc2e7cc..ab1dc3fe909b628ab3065635354135cb05d6b823 100644 (file)
@@ -49,7 +49,3 @@ IF(WITH_OPENMP)
 ENDIF(WITH_OPENMP)
 
 BLENDERLIB(bf_blenlib "${SRC}" "${INC}")
-#if env['OURPLATFORM'] == 'linux2':
-#    cflags='-pthread'
-#
-#env.BlenderLib ( 'bf_blenlib', sources, Split(incs), Split(defs), libtype=['core','player'], priority = [85,195], compileflags =cflags )
index 589c97d2bb68801a9f2e0d40baaf2932f166c906..2699b3b7c3b9cf009ddaabc521ad4b1e6a59447e 100644 (file)
@@ -40,4 +40,3 @@ IF(WITH_QUICKTIME)
 ENDIF(WITH_QUICKTIME)
 
 BLENDERLIB(bf_blenpluginapi "${SRC}" "${INC}")
-#env.BlenderLib ( libname = 'bf_blenpluginapi', sources = sources, includes = Split(incs), defines = defs, libtype=['core', 'player'], priority = [75, 35] )
index 36f812e6206e2c9bea05fd600488f641ff0b893a..ec57c813e203a47589a76d1158c6488747c9df06 100644 (file)
@@ -182,10 +182,10 @@ static void id_search_cb(const bContext *C, void *arg_template, char *str, uiSea
                                PointerRNA ptr;
                                RNA_id_pointer_create(id, &ptr);
                                if(RNA_property_pointer_poll(&template->ptr, template->prop, &ptr)==0)
-                                       filter_yes= 1;
+                                       continue;
                        }
 
-                       if (filter_yes==0 && template->filterop[0] != 0) {
+                       if (template->filterop[0] != 0) {
                                /* XXX, remove this, use pointer filtering */
                                PointerRNA ptr;
                                ReportList reports;
index 98cb3dcefd936781c6415c4949bc7a172c65e7f6..57f7e830f4162542e05a545927f0e670f47d6146 100644 (file)
@@ -73,4 +73,3 @@ IF(WITH_DDS)
 ENDIF(WITH_DDS)
 
 BLENDERLIB(bf_imbuf "${SRC}" "${INC}")
-#env.BlenderLib ( libname = 'bf_imbuf', sources = sources, includes = Split(incs), defines = defs, libtype=['core','player'], priority = [80, 40] )
index 588be3305d919ab131b1a3c5f04e8fbbf0fdc211..cd887b6fc4eca5884c2d85a76a569e7ba00c6e81 100644 (file)
@@ -38,4 +38,3 @@ SET(INC
 )
 
 BLENDERLIB(bf_cineon "${SRC}" "${INC}")
-#env.BlenderLib ('bf_cineon', source_files, incs, defs, libtype=['core','player'], priority = [90, 200])
index 364dd41e74444d30c4d3f95d1c2f85e7947cb40c..64a37e03a8845dc5d94cfb253518c6abcf47e114 100644 (file)
@@ -42,4 +42,3 @@ if(WITH_DDS)
 ENDIF(WITH_DDS)
 
 BLENDERLIB(bf_dds "${SRC}" "${INC}")                 
-#env.BlenderLib ('bf_dds', source_files, incs, defs, libtype=['core','player'], priority = [90, 200])
index 7dc295a8aae5593792eab9ddd671ab77458e0a97..1a098c89aa43f7a5054e85f3bb351b2213f0657a 100644 (file)
@@ -43,4 +43,3 @@ IF(WITH_OPENEXR)
 ENDIF(WITH_OPENEXR)
 
 BLENDERLIB(bf_openexr "${SRC}" "${INC}")                 
-#env.BlenderLib ('bf_openexr', source_files, incs, defs, libtype=['core','player'], priority = [90, 200])
index 14e70b8c249a9be9c88d0c4d4e45cec570b36840..d4640058c5c4edbb3d03c9be3fc66dcf41b58c57 100644 (file)
@@ -476,7 +476,7 @@ void RNA_struct_free(BlenderRNA *brna, StructRNA *srna)
 
        if(srna->flag & STRUCT_RUNTIME) {
                if(RNA_struct_py_type_get(srna)) {
-                       fprintf(stderr, "StructRNA \"%s\" freed while holding a python reference\n", srna->name);
+                       fprintf(stderr, "RNA_struct_free '%s' freed while holding a python reference\n", srna->identifier);
                }
        }
 
index 2b5c8a53e9be51ccbc03fbefa0ea5d3ba864fd7b..63b6558e9978aea3917ad829cbaeb256561660c3 100644 (file)
@@ -52,11 +52,3 @@ SET(INC ${INC} ${QUICKTIME_INC})
 ADD_DEFINITIONS(-DWITH_QUICKTIME)
 
 BLENDERLIB(bf_quicktime "${SRC}" "${INC}")
-#if env['OURPLATFORM'] in ['win32-vc', 'darwin']:
-#    types = ['core', 'player']
-#    priorities = [95, 200]
-#else:
-#    types = ['core']
-#    priorities = [95]
-#
-#env.BlenderLib ('bf_quicktime', sources=source_files, includes=incs, defines=['WITH_QUICKTIME'], libtype=types, priority=priorities)
index 306544fec7800979e5dfc4959a79cba9beb8820a..a6522ffa7588226f0a97d63a4a7b3d7f6d80193e 100644 (file)
@@ -31,4 +31,3 @@ SET(INC
 )
 
 BLENDERLIB(bf_readblenfile "${SRC}" "${INC}")
-#env.BlenderLib ( 'bf_readblenfile', sources, Split(incs), [], libtype=['common','player'], priority = [0, 220] )
index 9199a0a33ba87097c18a956bba547487c483ce86..05f1d5d4bd9a935a29f56f5a3e9251c65ffd372d 100644 (file)
@@ -54,9 +54,4 @@ IF(APPLE)
        ENDIF(CMAKE_OSX_ARCHITECTURES MATCHES "i386" OR CMAKE_OSX_ARCHITECTURES MATCHES "x86_64")
 ENDIF(APPLE)
 
-#TODO
-#if env['OURPLATFORM']=='linux2':
-#    cflags='-pthread'
-
 BLENDERLIB_NOLIST(blender_render "${SRC}" "${INC}")
-#env.BlenderLib ( libname = 'blender_render', sources = sources, includes = Split(incs), defines=defs, libtype='core', priority=45, compileflags=cflags )
index 625ad006e0cab04e79b4265224543d8eafae8bd2..57d285616472970ab3184f1228ea371135d97282 100644 (file)
@@ -50,4 +50,3 @@ ELSE(WITH_PYTHON)
 ENDIF(WITH_PYTHON)
 
 BLENDERLIB(bf_blroutines "${SRC}" "${INC}")
-#env.BlenderLib ( 'bf_bloutines', sources, Split(incs), [], libtype=['game', 'game2', 'player'], priority=[0, 0, 55] , compileflags=cxxflags)
index 26689be644fb28aaad6ccd9ee9ab2136c49f4013..97c367dd1f15200205fd971f365d6c1c6e3588ae 100644 (file)
@@ -70,4 +70,3 @@ ELSE(WITH_PYTHON)
 ENDIF(WITH_PYTHON)
 
 BLENDERLIB(bf_converter "${SRC}" "${INC}")
-#env.BlenderLib ( 'bf_converter', sources, Split(incs), [], libtype=['game','player'], priority=[5,70] )
index 41f771e12bd2e43bb8857ea6a73d23590fcaf2c2..85b5daa3b4a9e3412b45800a077667222ce12fe4 100644 (file)
@@ -43,4 +43,3 @@ ELSE(WITH_PYTHON)
 ENDIF(WITH_PYTHON)
 
 BLENDERLIB(bf_expressions "${SRC}" "${INC}")
-#env.BlenderLib ( 'bf_expressions', sources, Split(incs), [], libtype=['game','player'], priority = [45,125] )
index 3ffba14ec95de1be4fc0075ffd353ef8f22aba36..93183dafeeeab81faafee8f759d491808ffba16c 100644 (file)
@@ -49,4 +49,3 @@ ELSE(WITH_PYTHON)
 ENDIF(WITH_PYTHON)
 
 BLENDERLIB(bf_logic "${SRC}" "${INC}")
-#env.BlenderLib ( 'bf_logic', sources, Split(incs), [], libtype=['game','player'], priority=[30, 110] )
index 418b77357a46987151eb8e6af6b602c9a4b4e761..08a4aa50a009004ae933e8663fc4e0d73a786513 100644 (file)
@@ -74,4 +74,3 @@ SET(INC
 ADD_DEFINITIONS(-DGLEW_STATIC)
 
 BLENDERLIB_NOLIST(gp_common "${SRC}" "${INC}")
-#env.BlenderLib (libname='gp_common', sources=source_files, includes=incs, defines = [], libtype='player', priority=5, compileflags=cflags)
index 848c2f73f06ec96e248a488ad0668383ecdfffe1..8164878762cd99a7afd085dcc05fe41e5cd1e5bb 100644 (file)
@@ -73,4 +73,3 @@ IF(WITH_FFMPEG)
 ENDIF(WITH_FFMPEG)
 
 BLENDERLIB_NOLIST(gp_ghost "${SRC}" "${INC}")
-#env.BlenderLib (libname='gp_ghost', sources=source_files, includes = incs, defines = [], libtype='player',priority=0, compileflags=cflags)
index c4af701f87be66b814843ee38f15acaf06c774d8..d8f6e3164ec4931b4cd8d3897445bb0435e76eea 100644 (file)
@@ -80,4 +80,3 @@ IF(WITH_FFMPEG)
 ENDIF(WITH_FFMPEG)
 
 BLENDERLIB(bf_ketsji "${SRC}" "${INC}")
-#env.BlenderLib ( 'bf_ketsji', sources, Split(incs), [], libtype=['game','player'], priority=[25, 72], compileflags = cflags )
index 40079f3f83efe78a33b3c15c60d6695ec0334aac..ce3d8fa22fcec2e6c350b87191b39785eedcac6a 100644 (file)
@@ -45,4 +45,3 @@ ELSE(WITH_PYTHON)
 ENDIF(WITH_PYTHON)
 
 BLENDERLIB(kx_network "${SRC}" "${INC}")
-#env.BlenderLib ( 'kx_network', Split(sources), Split(incs), defines=[],libtype=['game2', 'player'], priority=[5, 155] )
index 2478715e0abf57469a00218b1fc09c4a124c64f9..795e63b47c30eadfee7ced3452d1ee275a28d2e7 100644 (file)
@@ -34,4 +34,3 @@ SET(INC
 )
 
 BLENDERLIB(bf_ngnetwork "${SRC}" "${INC}")
-#env.BlenderLib ( 'bf_ngnetwork', sources, Split(incs), [], libtype=['game2', 'player'], priority=[15, 160] )
index 6b43a1561a100c2b3d8a441925196925a85ee306..e7c34f5a2a0ac8ad49e8ebe89984a596c79db642 100644 (file)
@@ -34,4 +34,3 @@ SET(INC
 )
 
 BLENDERLIB(bf_loopbacknetwork "${SRC}" "${INC}")
-#env.BlenderLib ( 'bf_loopbacknetwork', Split(sources), Split(incs), defines=[],libtype=['game2', 'player'], priority=[25, 165] )
index 11a535b35c8a1ceeada6da0b49ac0a342e7108e5..95888967b7899dee926600b5cb4c42a4fd6ab83b 100644 (file)
@@ -47,4 +47,3 @@ SET(INC
 )
 
 BLENDERLIB(bf_bullet "${SRC}" "${INC}")
-#env.BlenderLib ( 'bf_bullet', Split(sources), Split(incs), [], libtype=['game','player'], priority=[15,90] )
index cb7a467dde94bf30363a2b77007c439ab9a5d1ac..18330392cd7fe217158654544177e7002fe76c91 100644 (file)
@@ -32,4 +32,3 @@ SET(INC
 )
 
 BLENDERLIB(bf_dummy "${SRC}" "${INC}")
-#env.BlenderLib ( 'bf_dummy', Split(sources), Split(incs), [], libtype=['game','player'], priority=[10,100] )
index 3618725c2bfd6b1daf09520e1d046c990dea8fca..0f8f59f3b7814d042e307e18617d11df338750cf 100644 (file)
@@ -33,4 +33,3 @@ SET(INC
 )
 
 BLENDERLIB(bf_common "${SRC}" "${INC}")
-#env.BlenderLib ( 'bf_common', Split(sources), Split(incs), [], libtype=['game', 'game2','player'], priority=[20, 35, 95] )
index 096b1583e3e0bf2c7bde31c25b2dc41e819dae03..d718bf3e507856f7deef51a76dfcbf92edc51972 100644 (file)
@@ -43,4 +43,3 @@ SET(INC
 ADD_DEFINITIONS(-DGLEW_STATIC)
 
 BLENDERLIB(bf_rasterizer "${SRC}" "${INC}")
-#env.BlenderLib ( 'bf_rasterizer', sources, Split(incs), [], libtype=['game','player'], priority=[35,115], compileflags = cflags )
index 5d6f61ebfa13d12ba2ce9e09e315429fe2c729d7..cc48952dc20f9e4e7d7f0b697500341c81980eea 100644 (file)
@@ -44,4 +44,3 @@ SET(INC
 ADD_DEFINITIONS(-DGLEW_STATIC)
 
 BLENDERLIB(bf_oglrasterizer "${SRC}" "${INC}")
-#env.BlenderLib ( 'bf_oglrasterizer', Split(sources), Split(incs), [], libtype=['game','player'], priority=[40, 120] )
index 3242ec57d949af6e35ec8546eaeaf84ddbb9187c..a73130531c0542e7bd5f36f4644ec620960c92bd 100644 (file)
@@ -32,4 +32,3 @@ SET(INC
 )
 
 BLENDERLIB(bf_scenegraph "${SRC}" "${INC}")
-#env.BlenderLib ( 'bf_scenegraph', sources, Split(incs), [], libtype=['game','player'], priority=[50,130] )
index eaee00753ff55827a4bb07f5b80bbc592bc835d1..3af514ca0de45a3232cabc2b9aa49c3e2080415c 100644 (file)
@@ -64,4 +64,3 @@ ELSE(WITH_PYTHON)
 ENDIF(WITH_PYTHON)
 
 BLENDERLIB(bf_videotex "${SRC}" "${INC}")
-#env.BlenderLib ( 'bf_videotex', sources, Split(incs), [], libtype=['game','player'], priority=[25, 72], compileflags = cflags )
index 4cf3f7ac7c10f75990bf103609194b991f5fc795..46c5ea89ce5846ce2a6ebf764532900eda2534a0 100644 (file)
@@ -35,4 +35,3 @@ FILE(GLOB SRC
 )
 
 BLENDERLIB(bf_kernel "${SRC}" "${INC}")
-#env.BlenderLib ( 'bf_kernel', Split(sources), Split(incs), [], libtype = ['common','game2', 'player'], priority = [15, 10, 150] )