Commit Graph

12497 Commits

Author SHA1 Message Date
Campbell Barton
5add2d8c3e take 2, disable enter editmode and enter editmode in .B.blend, commited rev 14289 but had to be reverted because other changes were made. 2008-04-27 21:44:28 +00:00
Jean-Luc Peurière
7c99131ece attempt for an universal Os X config file
should work both on intel and powerpc
from 10.36 (ppc only) to 10.5

please test
2008-04-27 21:21:21 +00:00
Campbell Barton
9101d5689f * Group unlinking wasnt removing groups from particle systems, or render layers light overrid.
* BPath sequencer strip looper was only operating on the active scene, now look through all scenes.
* The active sequence strip wasnt being reset when scenes switched, so you could see the previous scenes strip when switching to a new scene.
2008-04-27 20:43:25 +00:00
Nathan Letwory
1da7742b8a * change BF_CONFIG so that it is understood as 'user-config.py' instead of config/platform-config.py it tried to do before. If defined, it overrides the search (and potential use) of user-config.py.
It didn't work before anyway, so this change should affect nobody.
   usage: scons BF_CONFIG=someconfigfile
2008-04-27 20:17:14 +00:00
Nathan Letwory
ec02fff2aa * make sure BF_CONFIG is an accepted ARGUMENT 2008-04-27 19:51:49 +00:00
Ken Hughes
e10cb55936 Make "scons clean" remove config files for ffmpeg, x264, xvidcore. Also
replace tabs with spaces.
2008-04-27 19:20:35 +00:00
Nathan Letwory
6553b71271 * let's copy *all* FFMPEG libraries, shall we? 2008-04-27 19:13:40 +00:00
Nicholas Bishop
7f985f3399 == Multires ==
Fixed bug #9680, Crash on render

Caused by multires sometimes looking at editmesh data rather than mesh data during render
2008-04-27 18:26:43 +00:00
Campbell Barton
57c1fbe557 remove old particle system.
also removed quat, dquat, and sumohandle from the Object struct since they aren't used anywhere.
2008-04-27 18:26:20 +00:00
Andrea Weikert
9ea254ca34 == 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.
2008-04-27 18:25:52 +00:00
Jean-Luc Peurière
0b7900d081 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
2008-04-27 18:22:07 +00:00
Nathan Letwory
7e7118aebb * copy FFMPEG libraries on Windows to BF_INSTALLDIR when done. 2008-04-27 17:00:22 +00:00
Benoit Bolsee
2740bbc89c Update MSVC project files to support ffmpeg. Make sure you do svn update in lib/windows to link with latest ffmpeg libraries 2008-04-27 15:02:37 +00:00
Campbell Barton
8207e6174f Make apply size/rot take children into account (apricot request) 2008-04-27 14:29:49 +00:00
Campbell Barton
db18b47be5 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.
2008-04-27 11:37:57 +00:00
Benoit Bolsee
bc059cb8b2 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 2008-04-26 20:41:25 +00:00
Campbell Barton
c8376869b1 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.
2008-04-26 13:08:57 +00:00
Brecht Van Lommel
19985ae918 Fix for bug #9664: switching to particle edit mode with ctrl+shift+tab
from paint modes didn't work correct.
2008-04-25 20:52:40 +00:00
Ken Hughes
bc18e9e290 Suggestion by GSR; move "extern C" into header file, remove "_" from
utf8towchar function name.
2008-04-25 19:18:24 +00:00
Campbell Barton
2a72b986d4 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.
2008-04-25 17:52:25 +00:00
Ken Hughes
f4cb93bf1f Remove redundant utf8towchar() from FTGL code. 2008-04-25 17:11:37 +00:00
Willian Padovani Germano
3a4f23aa78 == 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.
2008-04-25 16:35:52 +00:00
Campbell Barton
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
Campbell Barton
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
Benoit Bolsee
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
Andrea Weikert
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
Benoit Bolsee
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
Campbell Barton
408fcd6a33 disallow changes to linked groups 2008-04-23 21:17:47 +00:00
Willian Padovani Germano
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
Campbell Barton
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
Joshua Leung
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
Brecht Van Lommel
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
Kent Mein
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
Campbell Barton
fa27b5bcc7 Script templates, metaball creation script from forTe, and camera script from macouno 2008-04-22 15:37:54 +00:00
Kent Mein
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
Campbell Barton
6672bb16cf 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 :)
2008-04-22 14:32:45 +00:00
Brecht Van Lommel
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
Brecht Van Lommel
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
Peter Schlaile
d186ba591a == FFMPEG ==
Forgot to set audio_codec correctly on output. Shame on me.
2008-04-22 07:40:04 +00:00
Joshua Leung
fddb50d2b5 Added a check to make sure repeat value isn't 0. 2008-04-22 03:43:14 +00:00
Campbell Barton
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
Daniel Genrich
a1b1cfdc38 Cloth: Fix point cache memory leak when duplicating cloth 2008-04-21 22:02:15 +00:00
Kent Mein
e2cac820f9 Update of the Urainian translation
Submitted by: Serhij Dubyk 

Kent
2008-04-21 20:57:23 +00:00
Andrea Weikert
2a7fa9e147 == SCONS ==
added new ffmpeg libraries to scons win32  msvc build.
2008-04-21 19:24:30 +00:00
Simon Clitherow
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
Brecht Van Lommel
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
Brecht Van Lommel
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