[Bf-committers] help one script to clear all vertex groups of all models

2011-04-09 Thread iozk hz
hi i have a model that I link to new file but this have all vertex groups of
the last skeleton and i want delete them quickly. somebody know how do it,
without press the x button of the list to delete all groups
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


[Bf-committers] sphinx docs generation

2011-04-09 Thread Yousef Hurfoush

hi mindrones 
i tried your script in here:
http://wiki.blender.org/index.php/User:Mindrones/Doc/PythonAPI/Sphinx-build

and it did not compile the API docs, i wan't to ask if your script is up to 
date or is outdated, 
because i tried to compile it using cambell's way and it gives an error, 
then i used you script saved it as .bat file and executed it after i 
reorganized my files like you suggested, but still no use :(

anyway if you have any tips or anyone got it compiled it recently you are 
welcome to reply :)

  
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36073] trunk/blender: =cloth collisions=

2011-04-09 Thread Daniel Salazar - 3Developer.com
scons error
http://www.pasteall.org/20713

Daniel Salazar
3Developer.com


On Sat, Apr 9, 2011 at 5:19 PM, Joseph Eagar joe...@gmail.com wrote:
 Revision: 36073
          
 http://projects.blender.org/scm/viewvc.php?view=revroot=bf-blenderrevision=36073
 Author:   joeedh
 Date:     2011-04-09 23:19:11 + (Sat, 09 Apr 2011)
 Log Message:
 ---
 =cloth collisions=

 Plugged the eltopo library into the cloth solver.
 I was playing with it earlier, and it's so easy to
 use I decided to quickly put it in (trunk's) cloth.

 See http://www.cs.ubc.ca/labs/imager/tr/2009/eltopo/eltopo.html
 .  The authors are on the bleeding edge of continuous collision
 detection (one of them did ILM's cloth sim).
 I
 don't really have to time to plug it into softbody, particles,
 bullet, fluid, etc, but doing so would be pretty straightforward.
 I'll leave that up to someone else.

 To use, turn on USE_ELTOPO (in cmake) or WITH_BF_ELTOPO in scons.

 Modified Paths:
 --
    trunk/blender/build_files/cmake/FindPythonLibsUnix.cmake
    trunk/blender/build_files/scons/tools/btools.py
    trunk/blender/extern/CMakeLists.txt
    trunk/blender/extern/SConscript
    trunk/blender/source/blender/blenkernel/BKE_collision.h
    trunk/blender/source/blender/blenkernel/CMakeLists.txt
    trunk/blender/source/blender/blenkernel/SConscript
    trunk/blender/source/blender/blenkernel/intern/collision.c
    trunk/blender/source/blenderplayer/CMakeLists.txt
    trunk/blender/source/creator/CMakeLists.txt

 Modified: trunk/blender/build_files/cmake/FindPythonLibsUnix.cmake
 ===
 --- trunk/blender/build_files/cmake/FindPythonLibsUnix.cmake    2011-04-09 
 19:46:17 UTC (rev 36072)
 +++ trunk/blender/build_files/cmake/FindPythonLibsUnix.cmake    2011-04-09 
 23:19:11 UTC (rev 36073)
 @@ -4,7 +4,7 @@
  #  PYTHON_INCLUDE_DIRS
  #  PYTHON_LIBRARY
  #  PYTHON_LIBPATH
 -#  PYTHON_LINKFLAGS
 +#  PYTHON_LINKFLAGSPYTHON

  #=


 Modified: trunk/blender/build_files/scons/tools/btools.py
 ===
 --- trunk/blender/build_files/scons/tools/btools.py     2011-04-09 19:46:17 
 UTC (rev 36072)
 +++ trunk/blender/build_files/scons/tools/btools.py     2011-04-09 23:19:11 
 UTC (rev 36073)
 @@ -99,7 +99,7 @@
             'WITH_BF_INTERNATIONAL',
             'BF_GETTEXT', 'BF_GETTEXT_INC', 'BF_GETTEXT_LIB', 
 'WITH_BF_GETTEXT_STATIC', 'BF_GETTEXT_LIB_STATIC', 'BF_GETTEXT_LIBPATH',
             'WITH_BF_ICONV', 'BF_ICONV', 'BF_ICONV_INC', 'BF_ICONV_LIB', 
 'BF_ICONV_LIBPATH',
 -            'WITH_BF_GAMEENGINE', 'WITH_BF_BULLET', 'BF_BULLET', 
 'BF_BULLET_INC', 'BF_BULLET_LIB',
 +            'WITH_BF_GAMEENGINE', 'WITH_BF_BULLET', 'WITH_BF_ELTOPO', 
 'BF_BULLET', 'BF_BULLET_INC', 'BF_BULLET_LIB',
             'BF_WINTAB', 'BF_WINTAB_INC',
             'WITH_BF_FREETYPE', 'BF_FREETYPE', 'BF_FREETYPE_INC', 
 'BF_FREETYPE_LIB', 'BF_FREETYPE_LIBPATH', 'BF_FREETYPE_LIB_STATIC', 
 'WITH_BF_FREETYPE_STATIC',
             'WITH_BF_QUICKTIME', 'BF_QUICKTIME', 'BF_QUICKTIME_INC', 
 'BF_QUICKTIME_LIB', 'BF_QUICKTIME_LIBPATH',
 @@ -365,6 +365,8 @@
         (BoolVariable('WITH_BF_GAMEENGINE', 'Build with gameengine' , False)),

         (BoolVariable('WITH_BF_BULLET', 'Use Bullet if true', True)),
 +        (BoolVariable('WITH_BF_ELTOPO', 'Use Eltopo collision library if 
 true', False)),
 +
         ('BF_BULLET', 'Bullet base dir', ''),
         ('BF_BULLET_INC', 'Bullet include path', ''),
         ('BF_BULLET_LIB', 'Bullet library', ''),

 Modified: trunk/blender/extern/CMakeLists.txt
 ===
 --- trunk/blender/extern/CMakeLists.txt 2011-04-09 19:46:17 UTC (rev 36072)
 +++ trunk/blender/extern/CMakeLists.txt 2011-04-09 23:19:11 UTC (rev 36073)
 @@ -31,6 +31,10 @@
        add_subdirectory(bullet2)
  endif()

 +if(WITH_ELTOPO)
 +       add_subdirectory(eltopo)
 +endif()
 +
  if(WITH_BINRELOC)
        add_subdirectory(binreloc)
  endif()

 Modified: trunk/blender/extern/SConscript
 ===
 --- trunk/blender/extern/SConscript     2011-04-09 19:46:17 UTC (rev 36072)
 +++ trunk/blender/extern/SConscript     2011-04-09 23:19:11 UTC (rev 36073)
 @@ -4,6 +4,9 @@

  SConscript(['glew/SConscript'])

 +if env['WITH_BF_ELTOPO']:
 +    SConscript(['eltopo/SConscript'])
 +
  if env['WITH_BF_BULLET']:
     SConscript(['bullet2/src/SConscript'])


 Modified: trunk/blender/source/blender/blenkernel/BKE_collision.h
 ===
 --- trunk/blender/source/blender/blenkernel/BKE_collision.h     2011-04-09 
 19:46:17 UTC (rev 36072)
 +++ trunk/blender/source/blender/blenkernel/BKE_collision.h     2011-04-09 
 23:19:11 UTC (rev 36073)
 @@ -63,7 +63,11 @@
  /* COLLISION FLAGS */
  typedef enum
  {
 -       

Re: [Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36073] trunk/blender: =cloth collisions=

2011-04-09 Thread Daniel Salazar - 3Developer.com
heh was gonna fix it my self and noticed there isn't any eltopo-capi.h
file in the source. little fail! :)

cheers

Daniel Salazar
3Developer.com



On Sat, Apr 9, 2011 at 6:08 PM, Daniel Salazar - 3Developer.com
zan...@gmail.com wrote:
 scons error
 http://www.pasteall.org/20713

 Daniel Salazar
 3Developer.com


 On Sat, Apr 9, 2011 at 5:19 PM, Joseph Eagar joe...@gmail.com wrote:
 Revision: 36073
          
 http://projects.blender.org/scm/viewvc.php?view=revroot=bf-blenderrevision=36073
 Author:   joeedh
 Date:     2011-04-09 23:19:11 + (Sat, 09 Apr 2011)
 Log Message:
 ---
 =cloth collisions=

 Plugged the eltopo library into the cloth solver.
 I was playing with it earlier, and it's so easy to
 use I decided to quickly put it in (trunk's) cloth.

 See http://www.cs.ubc.ca/labs/imager/tr/2009/eltopo/eltopo.html
 .  The authors are on the bleeding edge of continuous collision
 detection (one of them did ILM's cloth sim).
 I
 don't really have to time to plug it into softbody, particles,
 bullet, fluid, etc, but doing so would be pretty straightforward.
 I'll leave that up to someone else.

 To use, turn on USE_ELTOPO (in cmake) or WITH_BF_ELTOPO in scons.

 Modified Paths:
 --
    trunk/blender/build_files/cmake/FindPythonLibsUnix.cmake
    trunk/blender/build_files/scons/tools/btools.py
    trunk/blender/extern/CMakeLists.txt
    trunk/blender/extern/SConscript
    trunk/blender/source/blender/blenkernel/BKE_collision.h
    trunk/blender/source/blender/blenkernel/CMakeLists.txt
    trunk/blender/source/blender/blenkernel/SConscript
    trunk/blender/source/blender/blenkernel/intern/collision.c
    trunk/blender/source/blenderplayer/CMakeLists.txt
    trunk/blender/source/creator/CMakeLists.txt

 Modified: trunk/blender/build_files/cmake/FindPythonLibsUnix.cmake
 ===
 --- trunk/blender/build_files/cmake/FindPythonLibsUnix.cmake    2011-04-09 
 19:46:17 UTC (rev 36072)
 +++ trunk/blender/build_files/cmake/FindPythonLibsUnix.cmake    2011-04-09 
 23:19:11 UTC (rev 36073)
 @@ -4,7 +4,7 @@
  #  PYTHON_INCLUDE_DIRS
  #  PYTHON_LIBRARY
  #  PYTHON_LIBPATH
 -#  PYTHON_LINKFLAGS
 +#  PYTHON_LINKFLAGSPYTHON

  #=


 Modified: trunk/blender/build_files/scons/tools/btools.py
 ===
 --- trunk/blender/build_files/scons/tools/btools.py     2011-04-09 19:46:17 
 UTC (rev 36072)
 +++ trunk/blender/build_files/scons/tools/btools.py     2011-04-09 23:19:11 
 UTC (rev 36073)
 @@ -99,7 +99,7 @@
             'WITH_BF_INTERNATIONAL',
             'BF_GETTEXT', 'BF_GETTEXT_INC', 'BF_GETTEXT_LIB', 
 'WITH_BF_GETTEXT_STATIC', 'BF_GETTEXT_LIB_STATIC', 'BF_GETTEXT_LIBPATH',
             'WITH_BF_ICONV', 'BF_ICONV', 'BF_ICONV_INC', 'BF_ICONV_LIB', 
 'BF_ICONV_LIBPATH',
 -            'WITH_BF_GAMEENGINE', 'WITH_BF_BULLET', 'BF_BULLET', 
 'BF_BULLET_INC', 'BF_BULLET_LIB',
 +            'WITH_BF_GAMEENGINE', 'WITH_BF_BULLET', 'WITH_BF_ELTOPO', 
 'BF_BULLET', 'BF_BULLET_INC', 'BF_BULLET_LIB',
             'BF_WINTAB', 'BF_WINTAB_INC',
             'WITH_BF_FREETYPE', 'BF_FREETYPE', 'BF_FREETYPE_INC', 
 'BF_FREETYPE_LIB', 'BF_FREETYPE_LIBPATH', 'BF_FREETYPE_LIB_STATIC', 
 'WITH_BF_FREETYPE_STATIC',
             'WITH_BF_QUICKTIME', 'BF_QUICKTIME', 'BF_QUICKTIME_INC', 
 'BF_QUICKTIME_LIB', 'BF_QUICKTIME_LIBPATH',
 @@ -365,6 +365,8 @@
         (BoolVariable('WITH_BF_GAMEENGINE', 'Build with gameengine' , 
 False)),

         (BoolVariable('WITH_BF_BULLET', 'Use Bullet if true', True)),
 +        (BoolVariable('WITH_BF_ELTOPO', 'Use Eltopo collision library if 
 true', False)),
 +
         ('BF_BULLET', 'Bullet base dir', ''),
         ('BF_BULLET_INC', 'Bullet include path', ''),
         ('BF_BULLET_LIB', 'Bullet library', ''),

 Modified: trunk/blender/extern/CMakeLists.txt
 ===
 --- trunk/blender/extern/CMakeLists.txt 2011-04-09 19:46:17 UTC (rev 36072)
 +++ trunk/blender/extern/CMakeLists.txt 2011-04-09 23:19:11 UTC (rev 36073)
 @@ -31,6 +31,10 @@
        add_subdirectory(bullet2)
  endif()

 +if(WITH_ELTOPO)
 +       add_subdirectory(eltopo)
 +endif()
 +
  if(WITH_BINRELOC)
        add_subdirectory(binreloc)
  endif()

 Modified: trunk/blender/extern/SConscript
 ===
 --- trunk/blender/extern/SConscript     2011-04-09 19:46:17 UTC (rev 36072)
 +++ trunk/blender/extern/SConscript     2011-04-09 23:19:11 UTC (rev 36073)
 @@ -4,6 +4,9 @@

  SConscript(['glew/SConscript'])

 +if env['WITH_BF_ELTOPO']:
 +    SConscript(['eltopo/SConscript'])
 +
  if env['WITH_BF_BULLET']:
     SConscript(['bullet2/src/SConscript'])


 Modified: trunk/blender/source/blender/blenkernel/BKE_collision.h
 ===
 --- 

Re: [Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36073] trunk/blender: =cloth collisions=

2011-04-09 Thread Campbell Barton
This commit allocates more memory for normal cases (when USE_ELTOPO
isn't defined),

see: source/blender/blenkernel/intern/collision.c

was: multiplying by 4, now it multiplies by 64.

*collisions = ( CollPair* ) MEM_mallocN ( sizeof ( CollPair ) *
numresult * 64, collision array ); //*4 since cloth_collision_static
can return more than 1 collision

When committing just before stable releases best check over the diff's
carefully first.

On Sun, Apr 10, 2011 at 12:08 AM, Daniel Salazar - 3Developer.com
zan...@gmail.com wrote:
 scons error
 http://www.pasteall.org/20713

 Daniel Salazar
 3Developer.com


 On Sat, Apr 9, 2011 at 5:19 PM, Joseph Eagar joe...@gmail.com wrote:
 Revision: 36073
          
 http://projects.blender.org/scm/viewvc.php?view=revroot=bf-blenderrevision=36073
 Author:   joeedh
 Date:     2011-04-09 23:19:11 + (Sat, 09 Apr 2011)
 Log Message:
 ---
 =cloth collisions=

 Plugged the eltopo library into the cloth solver.
 I was playing with it earlier, and it's so easy to
 use I decided to quickly put it in (trunk's) cloth.

 See http://www.cs.ubc.ca/labs/imager/tr/2009/eltopo/eltopo.html
 .  The authors are on the bleeding edge of continuous collision
 detection (one of them did ILM's cloth sim).
 I
 don't really have to time to plug it into softbody, particles,
 bullet, fluid, etc, but doing so would be pretty straightforward.
 I'll leave that up to someone else.

 To use, turn on USE_ELTOPO (in cmake) or WITH_BF_ELTOPO in scons.

 Modified Paths:
 --
    trunk/blender/build_files/cmake/FindPythonLibsUnix.cmake
    trunk/blender/build_files/scons/tools/btools.py
    trunk/blender/extern/CMakeLists.txt
    trunk/blender/extern/SConscript
    trunk/blender/source/blender/blenkernel/BKE_collision.h
    trunk/blender/source/blender/blenkernel/CMakeLists.txt
    trunk/blender/source/blender/blenkernel/SConscript
    trunk/blender/source/blender/blenkernel/intern/collision.c
    trunk/blender/source/blenderplayer/CMakeLists.txt
    trunk/blender/source/creator/CMakeLists.txt

 Modified: trunk/blender/build_files/cmake/FindPythonLibsUnix.cmake
 ===
 --- trunk/blender/build_files/cmake/FindPythonLibsUnix.cmake    2011-04-09 
 19:46:17 UTC (rev 36072)
 +++ trunk/blender/build_files/cmake/FindPythonLibsUnix.cmake    2011-04-09 
 23:19:11 UTC (rev 36073)
 @@ -4,7 +4,7 @@
  #  PYTHON_INCLUDE_DIRS
  #  PYTHON_LIBRARY
  #  PYTHON_LIBPATH
 -#  PYTHON_LINKFLAGS
 +#  PYTHON_LINKFLAGSPYTHON

  #=


 Modified: trunk/blender/build_files/scons/tools/btools.py
 ===
 --- trunk/blender/build_files/scons/tools/btools.py     2011-04-09 19:46:17 
 UTC (rev 36072)
 +++ trunk/blender/build_files/scons/tools/btools.py     2011-04-09 23:19:11 
 UTC (rev 36073)
 @@ -99,7 +99,7 @@
             'WITH_BF_INTERNATIONAL',
             'BF_GETTEXT', 'BF_GETTEXT_INC', 'BF_GETTEXT_LIB', 
 'WITH_BF_GETTEXT_STATIC', 'BF_GETTEXT_LIB_STATIC', 'BF_GETTEXT_LIBPATH',
             'WITH_BF_ICONV', 'BF_ICONV', 'BF_ICONV_INC', 'BF_ICONV_LIB', 
 'BF_ICONV_LIBPATH',
 -            'WITH_BF_GAMEENGINE', 'WITH_BF_BULLET', 'BF_BULLET', 
 'BF_BULLET_INC', 'BF_BULLET_LIB',
 +            'WITH_BF_GAMEENGINE', 'WITH_BF_BULLET', 'WITH_BF_ELTOPO', 
 'BF_BULLET', 'BF_BULLET_INC', 'BF_BULLET_LIB',
             'BF_WINTAB', 'BF_WINTAB_INC',
             'WITH_BF_FREETYPE', 'BF_FREETYPE', 'BF_FREETYPE_INC', 
 'BF_FREETYPE_LIB', 'BF_FREETYPE_LIBPATH', 'BF_FREETYPE_LIB_STATIC', 
 'WITH_BF_FREETYPE_STATIC',
             'WITH_BF_QUICKTIME', 'BF_QUICKTIME', 'BF_QUICKTIME_INC', 
 'BF_QUICKTIME_LIB', 'BF_QUICKTIME_LIBPATH',
 @@ -365,6 +365,8 @@
         (BoolVariable('WITH_BF_GAMEENGINE', 'Build with gameengine' , 
 False)),

         (BoolVariable('WITH_BF_BULLET', 'Use Bullet if true', True)),
 +        (BoolVariable('WITH_BF_ELTOPO', 'Use Eltopo collision library if 
 true', False)),
 +
         ('BF_BULLET', 'Bullet base dir', ''),
         ('BF_BULLET_INC', 'Bullet include path', ''),
         ('BF_BULLET_LIB', 'Bullet library', ''),

 Modified: trunk/blender/extern/CMakeLists.txt
 ===
 --- trunk/blender/extern/CMakeLists.txt 2011-04-09 19:46:17 UTC (rev 36072)
 +++ trunk/blender/extern/CMakeLists.txt 2011-04-09 23:19:11 UTC (rev 36073)
 @@ -31,6 +31,10 @@
        add_subdirectory(bullet2)
  endif()

 +if(WITH_ELTOPO)
 +       add_subdirectory(eltopo)
 +endif()
 +
  if(WITH_BINRELOC)
        add_subdirectory(binreloc)
  endif()

 Modified: trunk/blender/extern/SConscript
 ===
 --- trunk/blender/extern/SConscript     2011-04-09 19:46:17 UTC (rev 36072)
 +++ trunk/blender/extern/SConscript     2011-04-09 23:19:11 UTC (rev 36073)
 @@ -4,6 +4,9 @@

  SConscript(['glew/SConscript'])

 +if 

Re: [Bf-committers] SVN commit: /data/svn/bf-blender [36073] trunk/blender: =cloth collisions=

2011-04-09 Thread Yousef Hurfoush

hi daniel
i tried to compile and i got the same error as you with scons 
  
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] SVN commit: /data/svn/bf-blender [36073] trunk/blender: =cloth collisions=

2011-04-09 Thread Daniel Salazar - 3Developer.com
yah, he forgot to include the new file in svn :) we'll have to wait
for him to wake up

cheers

Daniel Salazar
3Developer.com



On Sat, Apr 9, 2011 at 7:27 PM, Yousef Hurfoush ba...@msn.com wrote:

 hi daniel
 i tried to compile and i got the same error as you with scons

 ___
 Bf-committers mailing list
 Bf-committers@blender.org
 http://lists.blender.org/mailman/listinfo/bf-committers

___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] SVN commit: /data/svn/bf-blender [36073] trunk/blender: =cloth collisions=

2011-04-09 Thread Yousef Hurfoush

trying to copy the file from the source lib eltopo as soon as i get it down :)
  
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers