Re: [Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55110] trunk/blender: code cleanup: 0 -- NULL
For OSX at least this is breaking building: //intern/ghost/intern/GHOST_Path-api.cpp:51:72: error: use of undeclared identifier 'NULL' -- Dalai blendernetwork.org/member/dalai-felinto www.dalaifelinto.com 2013/3/7 Campbell Barton ideasma...@gmail.com Revision: 55110 http://projects.blender.org/scm/viewvc.php?view=revroot=bf-blenderrevision=55110 Author: campbellbarton Date: 2013-03-08 06:32:00 + (Fri, 08 Mar 2013) Log Message: --- code cleanup: 0 -- NULL Modified Paths: -- trunk/blender/intern/audaspace/FX/AUD_CallbackIIRFilterReader.h trunk/blender/intern/ghost/GHOST_ISystem.h trunk/blender/intern/ghost/intern/GHOST_Event.h trunk/blender/intern/ghost/intern/GHOST_EventManager.cpp trunk/blender/intern/ghost/intern/GHOST_EventManager.h trunk/blender/intern/ghost/intern/GHOST_Path-api.cpp trunk/blender/intern/ghost/intern/GHOST_System.cpp trunk/blender/intern/ghost/intern/GHOST_System.h trunk/blender/intern/ghost/intern/GHOST_TimerManager.cpp trunk/blender/intern/ghost/intern/GHOST_TimerTask.h trunk/blender/intern/memutil/MEM_Allocator.h trunk/blender/intern/memutil/MEM_CacheLimiter.h trunk/blender/intern/memutil/intern/MEM_CacheLimiterC-Api.cpp trunk/blender/intern/string/intern/STR_String.cpp trunk/blender/source/blender/render/intern/raytrace/rayobject.cpp trunk/blender/source/blender/render/intern/raytrace/rayobject_rtbuild.cpp Modified: trunk/blender/intern/audaspace/FX/AUD_CallbackIIRFilterReader.h === --- trunk/blender/intern/audaspace/FX/AUD_CallbackIIRFilterReader.h 2013-03-08 04:31:21 UTC (rev 55109) +++ trunk/blender/intern/audaspace/FX/AUD_CallbackIIRFilterReader.h 2013-03-08 06:32:00 UTC (rev 55110) @@ -77,7 +77,7 @@ AUD_CallbackIIRFilterReader(boost::shared_ptrAUD_IReader reader, int in, int out, doFilterIIR doFilter, endFilterIIR endFilter = 0, - void* data = 0); + void* data = NULL); virtual ~AUD_CallbackIIRFilterReader(); Modified: trunk/blender/intern/ghost/GHOST_ISystem.h === --- trunk/blender/intern/ghost/GHOST_ISystem.h 2013-03-08 04:31:21 UTC (rev 55109) +++ trunk/blender/intern/ghost/GHOST_ISystem.h 2013-03-08 06:32:00 UTC (rev 55110) @@ -201,7 +201,7 @@ virtual GHOST_ITimerTask *installTimer(GHOST_TUns64 delay, GHOST_TUns64 interval, GHOST_TimerProcPtr timerProc, - GHOST_TUserDataPtr userData = 0) = 0; + GHOST_TUserDataPtr userData = NULL) = 0; /** * Removes a timer. Modified: trunk/blender/intern/ghost/intern/GHOST_Event.h === --- trunk/blender/intern/ghost/intern/GHOST_Event.h 2013-03-08 04:31:21 UTC (rev 55109) +++ trunk/blender/intern/ghost/intern/GHOST_Event.h 2013-03-08 06:32:00 UTC (rev 55110) @@ -51,7 +51,7 @@ * \param window The generating window (or NULL if system event). */ GHOST_Event(GHOST_TUns64 msec, GHOST_TEventType type, GHOST_IWindow *window) - : m_type(type), m_time(msec), m_window(window), m_data(0) + : m_type(type), m_time(msec), m_window(window), m_data(NULL) { } Modified: trunk/blender/intern/ghost/intern/GHOST_EventManager.cpp === --- trunk/blender/intern/ghost/intern/GHOST_EventManager.cpp2013-03-08 04:31:21 UTC (rev 55109) +++ trunk/blender/intern/ghost/intern/GHOST_EventManager.cpp2013-03-08 06:32:00 UTC (rev 55110) @@ -81,7 +81,7 @@ GHOST_IEvent *GHOST_EventManager::peekEvent() { - GHOST_IEvent *event = 0; + GHOST_IEvent *event = NULL; if (m_events.empty() == false) { event = m_events.back(); } Modified: trunk/blender/intern/ghost/intern/GHOST_EventManager.h === --- trunk/blender/intern/ghost/intern/GHOST_EventManager.h 2013-03-08 04:31:21 UTC (rev 55109) +++ trunk/blender/intern/ghost/intern/GHOST_EventManager.h 2013-03-08 06:32:00 UTC (rev 55110) @@ -141,7 +141,7 @@ virtual void removeTypeEvents( GHOST_TEventType type, - GHOST_IWindow *window = 0 + GHOST_IWindow *window = NULL ); protected: Modified: trunk/blender/intern/ghost/intern/GHOST_Path-api.cpp === --- trunk/blender/intern/ghost/intern/GHOST_Path-api.cpp
Re: [Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55110] trunk/blender: code cleanup: 0 -- NULL
same here on Ubuntu On 8 March 2013 14:12, Dalai Felinto dfeli...@gmail.com wrote: For OSX at least this is breaking building: //intern/ghost/intern/GHOST_Path-api.cpp:51:72: error: use of undeclared identifier 'NULL' -- Dalai blendernetwork.org/member/dalai-felinto www.dalaifelinto.com 2013/3/7 Campbell Barton ideasma...@gmail.com Revision: 55110 http://projects.blender.org/scm/viewvc.php?view=revroot=bf-blenderrevision=55110 Author: campbellbarton Date: 2013-03-08 06:32:00 + (Fri, 08 Mar 2013) Log Message: --- code cleanup: 0 -- NULL Modified Paths: -- trunk/blender/intern/audaspace/FX/AUD_CallbackIIRFilterReader.h trunk/blender/intern/ghost/GHOST_ISystem.h trunk/blender/intern/ghost/intern/GHOST_Event.h trunk/blender/intern/ghost/intern/GHOST_EventManager.cpp trunk/blender/intern/ghost/intern/GHOST_EventManager.h trunk/blender/intern/ghost/intern/GHOST_Path-api.cpp trunk/blender/intern/ghost/intern/GHOST_System.cpp trunk/blender/intern/ghost/intern/GHOST_System.h trunk/blender/intern/ghost/intern/GHOST_TimerManager.cpp trunk/blender/intern/ghost/intern/GHOST_TimerTask.h trunk/blender/intern/memutil/MEM_Allocator.h trunk/blender/intern/memutil/MEM_CacheLimiter.h trunk/blender/intern/memutil/intern/MEM_CacheLimiterC-Api.cpp trunk/blender/intern/string/intern/STR_String.cpp trunk/blender/source/blender/render/intern/raytrace/rayobject.cpp trunk/blender/source/blender/render/intern/raytrace/rayobject_rtbuild.cpp Modified: trunk/blender/intern/audaspace/FX/AUD_CallbackIIRFilterReader.h === --- trunk/blender/intern/audaspace/FX/AUD_CallbackIIRFilterReader.h 2013-03-08 04:31:21 UTC (rev 55109) +++ trunk/blender/intern/audaspace/FX/AUD_CallbackIIRFilterReader.h 2013-03-08 06:32:00 UTC (rev 55110) @@ -77,7 +77,7 @@ AUD_CallbackIIRFilterReader(boost::shared_ptrAUD_IReader reader, int in, int out, doFilterIIR doFilter, endFilterIIR endFilter = 0, - void* data = 0); + void* data = NULL); virtual ~AUD_CallbackIIRFilterReader(); Modified: trunk/blender/intern/ghost/GHOST_ISystem.h === --- trunk/blender/intern/ghost/GHOST_ISystem.h 2013-03-08 04:31:21 UTC (rev 55109) +++ trunk/blender/intern/ghost/GHOST_ISystem.h 2013-03-08 06:32:00 UTC (rev 55110) @@ -201,7 +201,7 @@ virtual GHOST_ITimerTask *installTimer(GHOST_TUns64 delay, GHOST_TUns64 interval, GHOST_TimerProcPtr timerProc, - GHOST_TUserDataPtr userData = 0) = 0; + GHOST_TUserDataPtr userData = NULL) = 0; /** * Removes a timer. Modified: trunk/blender/intern/ghost/intern/GHOST_Event.h === --- trunk/blender/intern/ghost/intern/GHOST_Event.h 2013-03-08 04:31:21 UTC (rev 55109) +++ trunk/blender/intern/ghost/intern/GHOST_Event.h 2013-03-08 06:32:00 UTC (rev 55110) @@ -51,7 +51,7 @@ * \param window The generating window (or NULL if system event). */ GHOST_Event(GHOST_TUns64 msec, GHOST_TEventType type, GHOST_IWindow *window) - : m_type(type), m_time(msec), m_window(window), m_data(0) + : m_type(type), m_time(msec), m_window(window), m_data(NULL) { } Modified: trunk/blender/intern/ghost/intern/GHOST_EventManager.cpp === --- trunk/blender/intern/ghost/intern/GHOST_EventManager.cpp 2013-03-08 04:31:21 UTC (rev 55109) +++ trunk/blender/intern/ghost/intern/GHOST_EventManager.cpp 2013-03-08 06:32:00 UTC (rev 55110) @@ -81,7 +81,7 @@ GHOST_IEvent *GHOST_EventManager::peekEvent() { - GHOST_IEvent *event = 0; + GHOST_IEvent *event = NULL; if (m_events.empty() == false) { event = m_events.back(); } Modified: trunk/blender/intern/ghost/intern/GHOST_EventManager.h === --- trunk/blender/intern/ghost/intern/GHOST_EventManager.h 2013-03-08 04:31:21 UTC (rev 55109) +++ trunk/blender/intern/ghost/intern/GHOST_EventManager.h 2013-03-08 06:32:00 UTC (rev 55110) @@ -141,7 +141,7 @@ virtual void removeTypeEvents( GHOST_TEventType type, - GHOST_IWindow *window = 0 + GHOST_IWindow *window = NULL );
Re: [Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55110] trunk/blender: code cleanup: 0 -- NULL
#ifdef __cplusplus #include cstddef #else #include stddef.h #endif Adding this to intern/ghost/GHOST_Types.h should fix it. cheers Sjoerd On Fri, Mar 8, 2013 at 12:00 PM, bf-committers-requ...@blender.org wrote: -- Message: 4 Date: Fri, 8 Mar 2013 00:42:21 -0800 From: Dalai Felinto dfeli...@gmail.com Subject: Re: [Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55110] trunk/blender: code cleanup: 0 -- NULL To: bf-blender developers bf-committers@blender.org Message-ID: CAGjvzG0iE9RMTFuW3h+6j2fJ96_52zoydRUiZeqaYoX4wq= v...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 For OSX at least this is breaking building: //intern/ghost/intern/GHOST_Path-api.cpp:51:72: error: use of undeclared identifier 'NULL' -- Dalai blendernetwork.org/member/dalai-felinto www.dalaifelinto.com 2013/3/7 Campbell Barton ideasma...@gmail.com Revision: 55110 http://projects.blender.org/scm/viewvc.php?view=revroot=bf-blenderrevision=55110 Author: campbellbarton Date: 2013-03-08 06:32:00 + (Fri, 08 Mar 2013) Log Message: --- code cleanup: 0 -- NULL Modified Paths: -- trunk/blender/intern/audaspace/FX/AUD_CallbackIIRFilterReader.h trunk/blender/intern/ghost/GHOST_ISystem.h trunk/blender/intern/ghost/intern/GHOST_Event.h trunk/blender/intern/ghost/intern/GHOST_EventManager.cpp trunk/blender/intern/ghost/intern/GHOST_EventManager.h trunk/blender/intern/ghost/intern/GHOST_Path-api.cpp trunk/blender/intern/ghost/intern/GHOST_System.cpp trunk/blender/intern/ghost/intern/GHOST_System.h trunk/blender/intern/ghost/intern/GHOST_TimerManager.cpp trunk/blender/intern/ghost/intern/GHOST_TimerTask.h trunk/blender/intern/memutil/MEM_Allocator.h trunk/blender/intern/memutil/MEM_CacheLimiter.h trunk/blender/intern/memutil/intern/MEM_CacheLimiterC-Api.cpp trunk/blender/intern/string/intern/STR_String.cpp trunk/blender/source/blender/render/intern/raytrace/rayobject.cpp trunk/blender/source/blender/render/intern/raytrace/rayobject_rtbuild.cpp ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
[Bf-committers] broken win32 build, sculpt_paint related
Win64 / Mingw32 [ 4%] Built target bf_editor_metaball [ 4%] Built target bf_editor_object [ 5%] Built target bf_editor_physics [ 5%] Built target bf_editor_render [ 5%] Built target bf_editor_screen [ 5%] Building C object source/blender/editors/sculpt_paint/CMakeFiles/bf_editor_sculpt_paint.dir/paint_image_proj.c.obj D:\_BLENDER_BUILDS\SVN\blender\source\blender\editors\sculpt_paint\paint_image_proj.c:4289:14: error: nested redefinition of 'enum PaintMode' D:\_BLENDER_BUILDS\SVN\blender\source\blender\editors\sculpt_paint\paint_image_proj.c:4289:14: error: redeclaration of 'enum PaintMode' D:/_BLENDER_BUILDS/SVN/blender/source/blender/blenkernel/BKE_paint.h:57:14: note: originally defined here mingw32-make[2]: *** [source/blender/editors/sculpt_paint/CMakeFiles/bf_editor_sculpt_paint.dir/paint_image_proj.c.obj] Error 1 mingw32-make[1]: *** [source/blender/editors/sculpt_paint/CMakeFiles/bf_editor_sculpt_paint.dir/all] Error 2 mingw32-make: *** [all] Error 2 thanks k ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] broken win32 build, sculpt_paint related
I can't reproduce here. There is also no such redefinition on these files. Are you sure you are using the correct svn revision? ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] broken win32 build, sculpt_paint related
On Mar 8, 2013 5:12:59 PM, Antony Riakiotakis wrote: I can't reproduce here. There is also no such redefinition on these files. Are you sure you are using the correct svn revision? ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers It is the latest trunk as far as I can tell. I am at 55121 -- Sent with love from the new tine 2.0 email client ... Please visit http://tine20.org ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] broken win32 build, sculpt_paint related
Strange, it works here...what compiler are you using? We support 4.6.3 from MinGW.org ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
Re: [Bf-committers] broken win32 build, sculpt_paint related
On Mar 8, 2013 5:34:04 PM, Antony Riakiotakis wrote: Strange, it works here...what compiler are you using? We support 4.6.3 from MinGW.org ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers yeah I have 4.6.2 here. Is there anything else I could try? Could it be a Cmake issue? I updated the cache before build -- Sent with love from the new tine 2.0 email client ... Please visit http://tine20.org ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
[Bf-committers] Outliner: proposal for Select/Delete Subtree functions ...
Hi, Here is a video where i try to explain why adding 2 new functions to the Blender Outliner can be very beneficial: http://youtu.be/WFUWxG-M3Xs This are the functions: - Select (Sub-)tree - Delete (Sub-)tree Please consider to add these functions to the Outliner. The video demonstrates where these functions can be useful. Thanks for your attention. cheers, Gaia ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers
[Bf-committers] Particle instance animation starting from birth
Hello, I would like to request that the following feature is added: That when specifying an object as the particle render, we have an option to specify that the object's animation occurs in the following ways. 1. The animation begins with the birth of the particle 2. The animation is set to the particles life, as opposed to its absolute length Personally, I don't particularly care about the second option but as this was effectively possible in older versions of Blender (binding lifetime to 100 frames), perhaps other people would be interested in this. This feature is currently supported in 3ds and its documentation can be found here: http://docs.autodesk.com/3DSMAX/15/ENU/3ds-Max-Help/index.html?url=files/GUID-B2DFC985-CD43-45DC-9CAC-F3052497B452.htm,topicNumber=d30e190977 Without implementation of this feature, instancing animated objects is broken for a lot of use cases. ___ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers