blender-staging.git
11 years agoremove old particle system.
Campbell Barton [Sun, 27 Apr 2008 18:26:20 +0000 (18:26 +0000)]
remove old particle system.
also removed quat, dquat, and sumohandle from the Object struct since they aren't used anywhere.

11 years ago== imagebrowser ==
Andrea Weikert [Sun, 27 Apr 2008 18:25:52 +0000 (18:25 +0000)]
== imagebrowser ==
fix international font handling, filenames weren't displayed due to lack of utf8 conversion. Works like in filesel now.

For future release, iconv library (for Windows) needs to be updated to support locale_charset for getting the current system charset settings.

11 years agothis commit allow to pass custom compile flags
Jean-Luc Peurière [Sun, 27 Apr 2008 18:22:07 +0000 (18:22 +0000)]
this commit allow to pass custom compile flags
to all ffmpeg related libs

ffmpeg use it own build system and dont respect
the flags in config.py

define BF_FFMPEG_EXTRA in config.py to pass
those flags.

I use this on Os X to pass the SDK vars :
-isysroot
-mmacosx-version-min

11 years ago* copy FFMPEG libraries on Windows to BF_INSTALLDIR when done.
Nathan Letwory [Sun, 27 Apr 2008 17:00:22 +0000 (17:00 +0000)]
* copy FFMPEG libraries on Windows to BF_INSTALLDIR when done.

11 years agoUpdate MSVC project files to support ffmpeg. Make sure you do svn update in lib/windo...
Benoit Bolsee [Sun, 27 Apr 2008 15:02:37 +0000 (15:02 +0000)]
Update MSVC project files to support ffmpeg. Make sure you do svn update in lib/windows to link with latest ffmpeg libraries

11 years agoMake apply size/rot take children into account (apricot request)
Campbell Barton [Sun, 27 Apr 2008 14:29:49 +0000 (14:29 +0000)]
Make apply size/rot take children into account (apricot request)

11 years agofix for own error when trying to fix python command line crash,
Campbell Barton [Sun, 27 Apr 2008 11:37:57 +0000 (11:37 +0000)]
fix for own error when trying to fix python command line crash,
was calling screenmain() before executing the python script which meant it was never executed (therefore no crash :) )

Moved screenmain() back to the the end of main() and added a TESTBASELIB_BGMODE which checks for G.vd and uses the scene layer if its not there. Of course python should not be running stuff that uses G.vd :/

Also made python scripts stay attached to screens when LOAD UI is disabled. This means you can load a new blend file and the python console can stay open, has been tested for a while in the apricot branch.

11 years agoBGE bug: crash when an object being tracked-to is deleted (bad practice anyway)....
Benoit Bolsee [Sat, 26 Apr 2008 20:41:25 +0000 (20:41 +0000)]
BGE bug: crash when an object being tracked-to is deleted (bad practice anyway).  Fix by creating a generic cross reference between actuators (only TrackTo uses it at the moment) and objects so that the actuator is informed when the target object is deleted

11 years agoBLI_split_dirfile was being used in cases it should not have been,
Campbell Barton [Sat, 26 Apr 2008 13:08:57 +0000 (13:08 +0000)]
BLI_split_dirfile was being used in cases it should not have been,
Added BLI_split_dirfile_basic, that only splits the path into directory and file. without checking the dir exists or creating it, without changing the original string that is passed to it.

11 years agoFix for bug #9664: switching to particle edit mode with ctrl+shift+tab
Brecht Van Lommel [Fri, 25 Apr 2008 20:52:40 +0000 (20:52 +0000)]
Fix for bug #9664: switching to particle edit mode with ctrl+shift+tab
from paint modes didn't work correct.

11 years agoSuggestion by GSR; move "extern C" into header file, remove "_" from
Ken Hughes [Fri, 25 Apr 2008 19:18:24 +0000 (19:18 +0000)]
Suggestion by GSR; move "extern C" into header file, remove "_" from
utf8towchar function name.

11 years agoremoved BLI_split_dirfile, it dosnt work with relative paths.
Campbell Barton [Fri, 25 Apr 2008 17:52:25 +0000 (17:52 +0000)]
removed BLI_split_dirfile, it dosnt work with relative paths.
it also makes a directory if its not there, need to look into other uses of this function.

11 years agoRemove redundant utf8towchar() from FTGL code.
Ken Hughes [Fri, 25 Apr 2008 17:11:37 +0000 (17:11 +0000)]
Remove redundant utf8towchar() from FTGL code.

11 years ago== PyNodes ==
Willian Padovani Germano [Fri, 25 Apr 2008 16:35:52 +0000 (16:35 +0000)]
== PyNodes ==

1) Added support for a var called "__node__" in pynode scripts, that can be used to point to the desired pynode object, to make sure it is chosen.

2) Fixed a semi-obscure crash that could happen when reparsing a pynode script that was used by multiple nodes in different scenes. Memory corruption would happen if the reparsing failed during the recreation of the pynode object, not when executing it.

11 years agoadded sequencer paths to bpath iterator, This needed to use get/set filename callback...
Campbell Barton [Fri, 25 Apr 2008 16:09:16 +0000 (16:09 +0000)]
added sequencer paths to bpath iterator, This needed to use get/set filename callbacks internally because the sequencer stores dir/file separately.
This means when moving large projects with many images/videos/sounds is possible with 'File, External Data, Find Missing Files'.
- needed so we can put peach animatic, glrenders & testrenders on the dvd.
also datatoc.c - brecht's fixes from apricot.

11 years agofix/workaround for blender crashing when running python runs text.clear() in backgro...
Campbell Barton [Fri, 25 Apr 2008 10:12:32 +0000 (10:12 +0000)]
fix/workaround for blender crashing when running python runs  text.clear() in background mode. ideally python api would not use this function.

11 years agoFix compiler warning about nested C comments.
Ken Hughes [Thu, 24 Apr 2008 21:35:56 +0000 (21:35 +0000)]
Fix compiler warning about nested C comments.

11 years agoBGE bug: fix a crash at game exit caused by inconsistent controller map after object...
Benoit Bolsee [Thu, 24 Apr 2008 21:26:39 +0000 (21:26 +0000)]
BGE bug: fix a crash at game exit caused by inconsistent controller map after object deletion.  The bug became apparent since the memory leaks have been fixed.

11 years agoDuplicating UTF-8 changes from Revision 14536 in another place in the source tree...
Ken Hughes [Thu, 24 Apr 2008 20:10:01 +0000 (20:10 +0000)]
Duplicating UTF-8 changes from Revision 14536 in another place in the source tree.  Pointed out in IRC by Kent.

11 years ago== cmake win32 ==
Andrea Weikert [Thu, 24 Apr 2008 19:18:46 +0000 (19:18 +0000)]
== cmake win32 ==
- fixed CMAKE files for Win32 for new ffmpeg libs
- ignore libc in debug build.
TODO: debug build with OpenEXR still fails with unresolved externals due to /MTd flag.

11 years agoInterface
Ken Hughes [Thu, 24 Apr 2008 18:54:59 +0000 (18:54 +0000)]
Interface
---------
Bugfix #9222.  Conversion from UTF-8 to wchar for international fonts did not
check for valid encodings, so user strings with containing invalid characters
could cause crashes.

11 years agoBetter fix for BGE bug #7892: dRot is reversed on dynamic objects. Make sure that...
Benoit Bolsee [Wed, 23 Apr 2008 21:48:17 +0000 (21:48 +0000)]
Better fix for BGE bug #7892: dRot is reversed on dynamic objects.  Make sure that graphic, Bullet and Sumo(deprecated) objects rotate the same way.  This fix reverses the rotation of non-dynamic objects compared to 2.45: you will need to change the sign of dRot in 2.45 games for them to work correctly in 2.46

11 years agodisallow changes to linked groups
Campbell Barton [Wed, 23 Apr 2008 21:17:47 +0000 (21:17 +0000)]
disallow changes to linked groups

11 years ago== PyNodes ==
Willian Padovani Germano [Wed, 23 Apr 2008 20:06:25 +0000 (20:06 +0000)]
== PyNodes ==

Finishing a few needed things before the release: changed ShadeInput vars access from a single getAttribute function to individual methods, one for each var, for faster access (needed, since these are accessed over and over during rendering).

Very repetitive code, so I used a few macros to write it. Compiles w/o warnings here (linux, gcc 4.3.0), please report any problems.

This is just an internal change, the Python API is still the same.

11 years agoadded ipo script template from blenderartists forTe, made scripts refresh on load...
Campbell Barton [Wed, 23 Apr 2008 14:04:05 +0000 (14:04 +0000)]
added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers

11 years agoAdded missing redraws for Outliner after transforming and Object/Bone with AutoKey on.
Joshua Leung [Wed, 23 Apr 2008 02:00:27 +0000 (02:00 +0000)]
Added missing redraws for Outliner after transforming and Object/Bone with AutoKey on.

This doesn't fix the problems with the corrupted IPO-driver channels in the Outliner after AutoKeying though. I'm not sure what's causing them, but I cannot even seem to be able to disable those channels.

11 years agoFix for bug #9654: point cache was being reset too often, made
Brecht Van Lommel [Tue, 22 Apr 2008 21:53:30 +0000 (21:53 +0000)]
Fix for bug #9654: point cache was being reset too often, made
transforming unrelated objects slow.

11 years agoWITH_BULLET wasn't working for Makefiles.
Kent Mein [Tue, 22 Apr 2008 19:14:33 +0000 (19:14 +0000)]
WITH_BULLET wasn't working for Makefiles.
I changed it so its tests are more inline with other defines.
Jesterking said this shouldn't affect scons so yell at him if it does. ;)

Kent

11 years agoScript templates, metaball creation script from forTe, and camera script from macouno
Campbell Barton [Tue, 22 Apr 2008 15:37:54 +0000 (15:37 +0000)]
Script templates, metaball creation script from forTe, and camera script from macouno

11 years agoPatch from Paprmh (Rob)
Kent Mein [Tue, 22 Apr 2008 14:53:15 +0000 (14:53 +0000)]
Patch from Paprmh (Rob)

forgot to update the check for valid sequence plugin version #
(The version bump didn't affect sequence plugins so missed it)

This patch also brought the plugin includes back inline with
imbuf stuff.  I'm putting it on my todo to see if we can't
remove this duplication so that this is not a reoccuring issue.

Kent

11 years agouse detectable autorepeat for X11,
Campbell Barton [Tue, 22 Apr 2008 14:32:45 +0000 (14:32 +0000)]
use detectable autorepeat for X11,
this way, holding a key will only give multiple down events, father then down,up,down,up.... etc.
This is needed for apricot so they can play games in blenders :)

11 years agoFix for bug #9489: particle uv coordinates were not correct
Brecht Van Lommel [Tue, 22 Apr 2008 10:34:41 +0000 (10:34 +0000)]
Fix for bug #9489: particle uv coordinates were not correct
for children from particles on subsurf.

11 years agoFix for bug #9491: cancelling bake didn't reset the simulation properly,
Brecht Van Lommel [Tue, 22 Apr 2008 10:08:00 +0000 (10:08 +0000)]
Fix for bug #9491: cancelling bake didn't reset the simulation properly,
now it also keeps the already baked frames in the cache up to the point
is was cancelled.

11 years ago== FFMPEG ==
Peter Schlaile [Tue, 22 Apr 2008 07:40:04 +0000 (07:40 +0000)]
== FFMPEG ==

Forgot to set audio_codec correctly on output. Shame on me.

11 years agoAdded a check to make sure repeat value isn't 0.
Joshua Leung [Tue, 22 Apr 2008 03:43:14 +0000 (03:43 +0000)]
Added a check to make sure repeat value isn't 0.

11 years agobpy sequencer api can add color strips, changing strip length wasnt re-allocating...
Campbell Barton [Mon, 21 Apr 2008 22:17:49 +0000 (22:17 +0000)]
bpy sequencer api can add color strips, changing strip length wasnt re-allocating stripdata which was causing memory free errors, added proxy options, directort read/write and some more flags.

11 years agoCloth: Fix point cache memory leak when duplicating cloth
Daniel Genrich [Mon, 21 Apr 2008 22:02:15 +0000 (22:02 +0000)]
Cloth: Fix point cache memory leak when duplicating cloth

11 years agoUpdate of the Urainian translation
Kent Mein [Mon, 21 Apr 2008 20:57:23 +0000 (20:57 +0000)]
Update of the Urainian translation
Submitted by: Serhij Dubyk

Kent

11 years ago== SCONS ==
Andrea Weikert [Mon, 21 Apr 2008 19:24:30 +0000 (19:24 +0000)]
== SCONS ==
added new ffmpeg libraries to scons win32  msvc build.

11 years agoBug fix for 8634, 6708, and 5989
Simon Clitherow [Mon, 21 Apr 2008 15:53:32 +0000 (15:53 +0000)]
Bug fix for 8634, 6708, and 5989

This replaces the hard-coded '%PROFILE%\Application Data\..." path
with the correct language-dependant CSIDL_APPDATA.

PLEASE NOTE!

Checks for the previous location have now been REMOVED. Any data
saved in the old hard-coded location will no longer be found by
Blender (this will only affect users of non-english windows.)

The installer has been updated to help the user to migrate their data
to the new location of their choice, if necessary.

Order of preference for .blender on windows is now the following:

1) %HOME% environment var
2) Installation Directory (location of blender.exe)
3) "Current User" (CSIDL_APPDATA)
4) "All Users" (CSIDL_COMMON_APPDATA)

11 years agoFix for bug #9487: converting particle system with dupliverts
Brecht Van Lommel [Mon, 21 Apr 2008 10:15:01 +0000 (10:15 +0000)]
Fix for bug #9487: converting particle system with dupliverts
to the new system didn't work correct.

11 years agoFix for bug #9093: array modifier merging didn't work
Brecht Van Lommel [Mon, 21 Apr 2008 09:24:04 +0000 (09:24 +0000)]
Fix for bug #9093: array modifier merging didn't work
entirely correct after a recent bugfix.

11 years agoSmall fix from GSR for using pkg-config to find OpenEXR libraries
Chris Want [Mon, 21 Apr 2008 03:55:39 +0000 (03:55 +0000)]
Small fix from GSR for using pkg-config to find OpenEXR libraries

11 years agoChance wind scaling to be the same as particles
Daniel Genrich [Sun, 20 Apr 2008 21:56:49 +0000 (21:56 +0000)]
Chance wind scaling to be the same as particles

11 years agosecond attempt to fix compilation problem with 2D shaders on systems without GLExt...
Benoit Bolsee [Sun, 20 Apr 2008 21:01:13 +0000 (21:01 +0000)]
second attempt to fix compilation problem with 2D shaders on systems without GLExt or without shader support: use GL_ARB_shader_objects to conditionally compile the 2D shader code

11 years agoPatch from Mario Lapin, fixes [#7394] 3ds File Import is broken
Campbell Barton [Sun, 20 Apr 2008 19:27:48 +0000 (19:27 +0000)]
Patch from Mario Lapin, fixes [#7394] 3ds File Import is broken

11 years agoCloth: Wind was working the way arround due to wrong formula, reported by nudel
Daniel Genrich [Sun, 20 Apr 2008 19:25:23 +0000 (19:25 +0000)]
Cloth: Wind was working the way arround due to wrong formula, reported by nudel

11 years agodeleting an ipo vert didnt update the object/bones position
Campbell Barton [Sun, 20 Apr 2008 18:34:30 +0000 (18:34 +0000)]
deleting an ipo vert didnt update the object/bones position

11 years agomissing check for NULL
Campbell Barton [Sun, 20 Apr 2008 18:19:15 +0000 (18:19 +0000)]
missing check for NULL

11 years ago== FFMPEG / mp3lame ==
Peter Schlaile [Sun, 20 Apr 2008 16:28:21 +0000 (16:28 +0000)]
== FFMPEG / mp3lame ==

Added libmp3lame to extern. (Ton that was the last one for this release,
promised :) )

11 years agoThe mdd exporter was skipping the first frame, fix from bill nieuwendorp (slow67)
Tom Musgrove [Sun, 20 Apr 2008 16:18:43 +0000 (16:18 +0000)]
The mdd exporter was skipping the first frame, fix from bill nieuwendorp (slow67)

11 years agoReverting new epsilons since they had bad global impact - instead just remove the...
Daniel Genrich [Sun, 20 Apr 2008 09:57:28 +0000 (09:57 +0000)]
Reverting new epsilons since they had bad global impact - instead just remove the problematic normalize() call

11 years agoFix for bug #9081: SSS preprocess should not use material or
Brecht Van Lommel [Sat, 19 Apr 2008 21:59:15 +0000 (21:59 +0000)]
Fix for bug #9081: SSS preprocess should not use material or
light overrides, since it works independent of render layers.

11 years agoFix for bug #8963: area light + cubic shading became darker
Brecht Van Lommel [Sat, 19 Apr 2008 21:58:11 +0000 (21:58 +0000)]
Fix for bug #8963: area light + cubic shading became darker
for values > 1.0, luckily for peach this bug was not present
for other light types.

11 years agoBGE bug fix: crash at exit when object with Radar/Near sensor has debug properties
Benoit Bolsee [Sat, 19 Apr 2008 21:15:37 +0000 (21:15 +0000)]
BGE bug fix: crash at exit when object with Radar/Near sensor has debug properties

11 years agofix BGE bug #8094: Collision sensor on child object makes the object rotate or move...
Benoit Bolsee [Sat, 19 Apr 2008 21:09:40 +0000 (21:09 +0000)]
fix BGE bug #8094: Collision sensor on child object makes the object rotate or move very fast.  Collision sensor can now be set on child object without side effect.

11 years agobug since 2.45 nobody noticed, canceling retopo would move the vert.
Campbell Barton [Sat, 19 Apr 2008 19:50:46 +0000 (19:50 +0000)]
bug since 2.45 nobody noticed, canceling retopo would move the vert.

11 years agofix for own error - [#9481] Active faces won't go away.
Campbell Barton [Sat, 19 Apr 2008 19:19:39 +0000 (19:19 +0000)]
fix for own error - [#9481] Active faces won't go away.

11 years agoRemoving wrong checks before NDofTransform call.
Martin Poirier [Sat, 19 Apr 2008 17:55:35 +0000 (17:55 +0000)]
Removing wrong checks before NDofTransform call.

This would cause a very tiny inconvenience where ndof transform wouldn't work if there wasn't an active object (so, only a problem after you delete something and then select objects without setting active).

11 years ago[#6932] Cal3D Exporter Distort Vertex
Campbell Barton [Sat, 19 Apr 2008 17:38:40 +0000 (17:38 +0000)]
[#6932] Cal3D Exporter Distort Vertex
Removing cal3d importer, since the soya3d maintain their own and I could not fix a bug in weird bone exporting.

11 years agofix for [#7430] No way to back out of a PupStrInput() dialog
Campbell Barton [Sat, 19 Apr 2008 11:44:09 +0000 (11:44 +0000)]
fix for [#7430] No way to back out of a PupStrInput() dialog

11 years agobugfix for [#8256] Creating proxy from linked mesh object removes materials
Campbell Barton [Sat, 19 Apr 2008 11:23:50 +0000 (11:23 +0000)]
bugfix for [#8256] Creating proxy from linked mesh object removes materials

11 years agofix for [#8236] Lens Change by driver won't update in 3d View
Campbell Barton [Sat, 19 Apr 2008 02:19:46 +0000 (02:19 +0000)]
fix for [#8236] Lens Change by driver won't update in 3d View
Lamps would not update either.

11 years agoapplied patch from Boris van Schooten, [#8148] Animation bugfix for md2_export script
Campbell Barton [Fri, 18 Apr 2008 23:04:54 +0000 (23:04 +0000)]
applied patch from Boris van Schooten, [#8148] Animation bugfix for md2_export script
made some other small fixes while testing. (divide by zero errors)

11 years agoBGE: fix compilation error with 2D filters on System without GL extenstion: add condi...
Benoit Bolsee [Fri, 18 Apr 2008 22:22:50 +0000 (22:22 +0000)]
BGE: fix compilation error with 2D filters on System without GL extenstion: add conditional compile statements

11 years agobugfix from Teppo Känsälä, makes moving textures up/down also move their enabled...
Campbell Barton [Fri, 18 Apr 2008 22:13:22 +0000 (22:13 +0000)]
bugfix from Teppo Känsälä, makes moving textures up/down also move their enabled state.
bug: [#9437] Moving texture up/down bug
patch: [#8938] Moving texture up/down to also move 'enabled/disabled'-status of texture

11 years agoBlenderstorm: idea #164: Hide useless World Shading buttons
Campbell Barton [Fri, 18 Apr 2008 21:59:54 +0000 (21:59 +0000)]
Blenderstorm: idea #164: Hide useless World Shading buttons
Simple button change

11 years agoipo transform didnt take NLA scaling into account when getting the boundbox
Campbell Barton [Fri, 18 Apr 2008 20:55:29 +0000 (20:55 +0000)]
ipo transform didnt take NLA scaling into account when getting the boundbox

11 years agoThis is an expanded patch of this:
Kent Mein [Fri, 18 Apr 2008 19:10:03 +0000 (19:10 +0000)]
This is an expanded patch of this:

[#8067] external texture plugin thread-safe modifications
Submitted By: David Anderson (davywavy)

It makes it so the "result" array is passed in, instead of a global var.
I expanded the patch so it will play nice with older plugins  that are not
thread safe as well.

I also updated the existing plugins in the release, so they are thread safe.

---------------  What do people think of this.... ------------------
This should maybe be talked about in the functionality board or something,
but what do people think of adding in default texture/sequence plugins.
or making a seperate tree like lib for plugins.

The reason I ask is we have had a couple of upgrades to the plugin system.
(supporting float buffers for sequencer, and this one for textures)

http://www.cs.umn.edu/~mein/blender/plugins does not store revisions of
plugins I just make sure they work with the latest version.  This is
getting messy.  I haven't upgraded a lot of them to use floats (I know,
I'm lazy, and now this will also make modifications to the plugins)
It would be nice to have some of the standard ones under revision control.

We also seem to be having an explosion of platforms supported.  It would
be nice to have platform maintainers compiling plugins as well for releases.
(Its getting to be more work for me to keep up with things...)

I'll go back to my corner now and be quite. ;)

Kent

11 years agoFluid: got to the real problem of the issue --> wrong float epsilon resulted in norma...
Daniel Genrich [Fri, 18 Apr 2008 18:25:11 +0000 (18:25 +0000)]
Fluid: got to the real problem of the issue --> wrong float epsilon resulted in normalizing a vector to fail, reverted other change from today

11 years agoYesterday was not my day. Forgot about end of string.
Kent Mein [Fri, 18 Apr 2008 14:25:36 +0000 (14:25 +0000)]
Yesterday was not my day.  Forgot about end of string.

Kent

11 years agoFluid bugfix [#8395] [#6200]: this should solve the popping/inconsistency/flickering...
Daniel Genrich [Fri, 18 Apr 2008 14:12:42 +0000 (14:12 +0000)]
Fluid bugfix [#8395] [#6200]: this should solve the popping/inconsistency/flickering issue with fluids, please give feedback :)

11 years agoMore changes to GET_INT_FROM_POINTER and SET_INT_IN_POINTER to get rid of
Ken Hughes [Fri, 18 Apr 2008 00:21:40 +0000 (00:21 +0000)]
More changes to GET_INT_FROM_POINTER and SET_INT_IN_POINTER to get rid of
other warnings that only occurred with 64bit systems.  Wish I'd known about
these macros earlier!

11 years agoUsed GET_INT_FROM_POINTER to get rid of many warnings that only occurred with 64bit...
Campbell Barton [Thu, 17 Apr 2008 21:14:55 +0000 (21:14 +0000)]
Used GET_INT_FROM_POINTER to get rid of many warnings that only occurred with 64bit os's
Also use Py_ssize_t which we might need to define for older python's

11 years agoI can't spell ;)
Kent Mein [Thu, 17 Apr 2008 20:29:57 +0000 (20:29 +0000)]
I can't spell ;)
(typo fix in the comments)

Kent

11 years agomilkshape3d model importer, can import a textured model with materials and animation
Campbell Barton [Thu, 17 Apr 2008 20:15:37 +0000 (20:15 +0000)]
milkshape3d model importer, can import a textured model with materials and animation

11 years agoChange scons so OpenMP library is appended at end of linkage line with other
Ken Hughes [Thu, 17 Apr 2008 19:01:00 +0000 (19:01 +0000)]
Change scons so OpenMP library is appended at end of linkage line with other
libraries (fixes a problem with statically linking OpenMP).

11 years agoMy last commit for the sscanf buffer overflow did not really fix the
Kent Mein [Thu, 17 Apr 2008 15:41:06 +0000 (15:41 +0000)]
My last commit for the sscanf buffer overflow did not really fix the
problem.  Now the fixed length strings are limited in the sscanf so
it should be much better now.

Kent

11 years agoBugfix for [#8962] Blender crashes on joining meshes with python
Campbell Barton [Thu, 17 Apr 2008 14:10:40 +0000 (14:10 +0000)]
Bugfix for [#8962] Blender crashes on joining meshes with python
blenders screen needs initializing before running python scripts when not in background mode.

11 years agoFix for bug #9075: the crash with stars rendering was not
Brecht Van Lommel [Thu, 17 Apr 2008 12:11:15 +0000 (12:11 +0000)]
Fix for bug #9075: the crash with stars rendering was not
completely fixed yet.

11 years agoMot importer from ZanQdo
Campbell Barton [Thu, 17 Apr 2008 08:43:22 +0000 (08:43 +0000)]
Mot importer from ZanQdo

11 years agoPatch from GSR that a) fixes a whole bunch of GPL/BL license
Chris Want [Wed, 16 Apr 2008 22:40:48 +0000 (22:40 +0000)]
Patch from GSR that a) fixes a whole bunch of GPL/BL license
blocks that were previously missed; and b) greatly increase my
ohloh stats!

11 years agoZanQdo fixed exporting of mot files
Campbell Barton [Wed, 16 Apr 2008 20:03:59 +0000 (20:03 +0000)]
ZanQdo fixed exporting of mot files

11 years agoBGE: SetCamera actuator tool tip updated to reflect new feature: ...Leave empty to...
Benoit Bolsee [Wed, 16 Apr 2008 18:58:11 +0000 (18:58 +0000)]
BGE: SetCamera actuator tool tip updated to reflect new feature: ...Leave empty to refer to self object

11 years agoBGE: Fix restitution: object will now bounce according to material restitution setting
Benoit Bolsee [Wed, 16 Apr 2008 18:47:36 +0000 (18:47 +0000)]
BGE: Fix restitution: object will now bounce according to material restitution setting

11 years agoThis is a patch from the FreeBSD people:
Kent Mein [Wed, 16 Apr 2008 17:53:09 +0000 (17:53 +0000)]
This is a patch from the FreeBSD people:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/graphics/blender/files/patch-source_blender_blenlib_intern-storage.c

Kent

11 years agoThis patch spawns from this game engine issue:
Kent Mein [Wed, 16 Apr 2008 17:40:59 +0000 (17:40 +0000)]
This patch spawns from this game engine issue:
[#7113] GE crash pressing as soon as P on 64 bit

Note:         glext.h has been removed from the source
        If you get errors compiling with it you have 2 options
                download/install  glext.h        (preferred method)
                or set WITH_BF_GLEXT=false
        If your a user and having problems with game engine try
                setting the env var: WITHOUT_GLEXT 1

Kent

11 years ago== Action Editor - Group Colours for Channels ==
Joshua Leung [Wed, 16 Apr 2008 11:02:08 +0000 (11:02 +0000)]
== Action Editor - Group Colours for Channels ==

It is now possible for Action Channels to be displayed using the colour of its group. The colour for an Action Group is only set when it is auto-created by keyframing (controls to tweak this may/may-not be added, time permitting).

To enable the display of these colours, the View -> 'Use Group Colors' must be enabled. However, this is disabled by default.

11 years agoFix for bug #9017: crash in stars rendering.
Brecht Van Lommel [Wed, 16 Apr 2008 09:08:02 +0000 (09:08 +0000)]
Fix for bug #9017: crash in stars rendering.

11 years agoreplace magic numbers with constants for (G.vd->persp), view naming was also using...
Campbell Barton [Wed, 16 Apr 2008 08:48:49 +0000 (08:48 +0000)]
replace magic numbers with constants for (G.vd->persp), view naming was also using persp as a flag which worked but isnt correct.

11 years agoBugfix #8948: Transformation constraint - destination rotation is in radians
Joshua Leung [Wed, 16 Apr 2008 07:33:54 +0000 (07:33 +0000)]
Bugfix #8948: Transformation constraint - destination rotation is in radians

Unfortunately, my previous fixes here to get gears working resulted in this problem. The flip side of that was that gears worked for quite a few cases.

Alas, it is not to be... The bug is now fixed, but gears no longer work any more. Sadly, there is not much I can do about this.

11 years agomistake in adding Ipo Extend mode menu
Campbell Barton [Wed, 16 Apr 2008 07:27:42 +0000 (07:27 +0000)]
mistake in adding Ipo Extend mode menu

11 years agoBugfix: editmode mesh transform was doing slow x-axis mirror
Brecht Van Lommel [Tue, 15 Apr 2008 18:07:04 +0000 (18:07 +0000)]
Bugfix: editmode mesh transform was doing slow x-axis mirror
computations with the option disabled. Also small memory usage
optimization for vertex groups.

11 years agoThis fixes a Buffer Overflow Vulnerability reported by
Kent Mein [Tue, 15 Apr 2008 15:52:18 +0000 (15:52 +0000)]
This fixes a Buffer Overflow Vulnerability reported by
 Secunia Research

SAID: SA29818 (http://secunia.com/advisories/29818/)
Credit: Stefan Cornelius, Secunia Research

The old code trys to do a sscanf %s %d %s %d from a line in the
image file.

Now it copies over that line to a max buffer of size 540 chars before doing
the sscanf.
(I just picked a constant that was siginficatly large)

It also checks to see if it gets all 4 values if not return NULL.

Kent

11 years agolock view area wasnt working when all bones were de-selected
Campbell Barton [Tue, 15 Apr 2008 15:29:32 +0000 (15:29 +0000)]
lock view area wasnt working when all bones were de-selected

11 years agoadded a E as a key shortcut to IPO Extend Mode
Campbell Barton [Tue, 15 Apr 2008 14:34:57 +0000 (14:34 +0000)]
added a E as a key shortcut to IPO Extend Mode

11 years agoIpo View Option - Loc View Area - stops using each ipo's view area when changing...
Campbell Barton [Tue, 15 Apr 2008 14:15:56 +0000 (14:15 +0000)]
Ipo View Option - Loc View Area - stops using each ipo's view area when changing ipo's.

11 years agoBug #8950: dependency cycles weren't always printed correct. For
Brecht Van Lommel [Tue, 15 Apr 2008 13:07:56 +0000 (13:07 +0000)]
Bug #8950: dependency cycles weren't always printed correct. For
debugging, also added a name for each dependency relation, and when
a cycle is detected it now prints the full cycle to the console.

11 years agomade sculpt axis locking use local/global space (using the transform space)
Campbell Barton [Tue, 15 Apr 2008 09:20:13 +0000 (09:20 +0000)]
made sculpt axis locking use local/global space (using the transform space)
also added some checks for sculpt mixing with other modes (was possible to mix sculpt+posemode)

11 years agoBGE fix: keep reference count consist on source object when replicating property...
Benoit Bolsee [Mon, 14 Apr 2008 22:45:28 +0000 (22:45 +0000)]
BGE fix: keep reference count consist on source object when replicating property copy actuator