Commit Graph

10570 Commits

Author SHA1 Message Date
feb440c2cd 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.
2008-04-25 16:09:16 +00:00
b94f3d0fcb fix/workaround for blender crashing when running python runs text.clear() in background mode. ideally python api would not use this function. 2008-04-25 10:12:32 +00:00
Ken Hughes
33bbe7f340 Fix compiler warning about nested C comments. 2008-04-24 21:35:56 +00:00
9b9359120f 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. 2008-04-24 21:26:39 +00:00
Ken Hughes
4d1d60e236 Duplicating UTF-8 changes from Revision 14536 in another place in the source tree. Pointed out in IRC by Kent. 2008-04-24 20:10:01 +00:00
003b7cc1fe == 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.
2008-04-24 19:18:46 +00:00
Ken Hughes
28c2d1b2ae 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.
2008-04-24 18:54:59 +00:00
f4cc03b0f1 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 2008-04-23 21:48:17 +00:00
408fcd6a33 disallow changes to linked groups 2008-04-23 21:17:47 +00:00
b0db68ccb0 == 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.
2008-04-23 20:06:25 +00:00
4f49a3b906 added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers 2008-04-23 14:04:05 +00:00
3552afeef2 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.
2008-04-23 02:00:27 +00:00
c3d36b0a4b Fix for bug #9654: point cache was being reset too often, made
transforming unrelated objects slow.
2008-04-22 21:53:30 +00:00
ff26d59577 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
2008-04-22 19:14:33 +00:00
20f2607c3a 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
2008-04-22 14:53:15 +00:00
bee5b1137e Fix for bug #9489: particle uv coordinates were not correct
for children from particles on subsurf.
2008-04-22 10:34:41 +00:00
ea8ffd8201 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.
2008-04-22 10:08:00 +00:00
d186ba591a == FFMPEG ==
Forgot to set audio_codec correctly on output. Shame on me.
2008-04-22 07:40:04 +00:00
fddb50d2b5 Added a check to make sure repeat value isn't 0. 2008-04-22 03:43:14 +00:00
65ca9c204c 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. 2008-04-21 22:17:49 +00:00
a1b1cfdc38 Cloth: Fix point cache memory leak when duplicating cloth 2008-04-21 22:02:15 +00:00
46847c8a84 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)
2008-04-21 15:53:32 +00:00
b818118379 Fix for bug #9487: converting particle system with dupliverts
to the new system didn't work correct.
2008-04-21 10:15:01 +00:00
7c68038353 Fix for bug #9093: array modifier merging didn't work
entirely correct after a recent bugfix.
2008-04-21 09:24:04 +00:00
Chris Want
4ca900bcec Small fix from GSR for using pkg-config to find OpenEXR libraries 2008-04-21 03:55:39 +00:00
d71d1f2568 Chance wind scaling to be the same as particles 2008-04-20 21:56:49 +00:00
9098de4479 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 2008-04-20 21:01:13 +00:00
7fb4c95503 Cloth: Wind was working the way arround due to wrong formula, reported by nudel 2008-04-20 19:25:23 +00:00
86725b0e8c deleting an ipo vert didnt update the object/bones position 2008-04-20 18:34:30 +00:00
7032029b47 missing check for NULL 2008-04-20 18:19:15 +00:00
f265eeed8a Fix for bug #9081: SSS preprocess should not use material or
light overrides, since it works independent of render layers.
2008-04-19 21:59:15 +00:00
f3c3da530c 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.
2008-04-19 21:58:11 +00:00
bdf5c0689b BGE bug fix: crash at exit when object with Radar/Near sensor has debug properties 2008-04-19 21:15:37 +00:00
b0049e6088 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. 2008-04-19 21:09:40 +00:00
eb7edc4cba bug since 2.45 nobody noticed, canceling retopo would move the vert. 2008-04-19 19:50:46 +00:00
0a31175101 fix for own error - [#9481] Active faces won't go away. 2008-04-19 19:19:39 +00:00
bb2f837907 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).
2008-04-19 17:55:35 +00:00
c870ed1236 fix for [#7430] No way to back out of a PupStrInput() dialog 2008-04-19 11:44:09 +00:00
8a888dbdc7 bugfix for [#8256] Creating proxy from linked mesh object removes materials 2008-04-19 11:23:50 +00:00
d00a0e56f6 fix for [#8236] Lens Change by driver won't update in 3d View
Lamps would not update either.
2008-04-19 02:19:46 +00:00
92f15c7c0c applied patch from Boris van Schooten, [#8148] Animation bugfix for md2_export script
made some other small fixes while testing. (divide by zero errors)
2008-04-18 23:04:54 +00:00
1fc1fb117e BGE: fix compilation error with 2D filters on System without GL extenstion: add conditional compile statements 2008-04-18 22:22:50 +00:00
10a396d4b7 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
2008-04-18 22:13:22 +00:00
7ca3a1e135 Blenderstorm: idea #164: Hide useless World Shading buttons
Simple button change
2008-04-18 21:59:54 +00:00
55620ca5d1 ipo transform didnt take NLA scaling into account when getting the boundbox 2008-04-18 20:55:29 +00:00
981d380fc4 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
2008-04-18 19:10:03 +00:00
23016d59d4 Yesterday was not my day. Forgot about end of string.
Kent
2008-04-18 14:25:36 +00:00
Ken Hughes
60de9d9b2f 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!
2008-04-18 00:21:40 +00:00
be0b8ccfaa 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
2008-04-17 21:14:55 +00:00
0ecf7a6f5b 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
2008-04-17 15:41:06 +00:00