13 years agomissed out on some BLI_convertstringcode's, also found that playing relative quicktim...
Campbell Barton [Sun, 4 May 2008 15:02:48 +0000 (15:02 +0000)]
missed out on some BLI_convertstringcode's, also found that playing relative quicktime paths from the python api never worked, was using the 'Scene' type cast to a char.

13 years agoMore compiler fixes for BLI_convertstringcode calls
Ken Hughes [Sun, 4 May 2008 14:14:09 +0000 (14:14 +0000)]
More compiler fixes for BLI_convertstringcode calls

13 years agoMore compiler fixes for BLI_convertstringcode calls
Joshua Leung [Sun, 4 May 2008 11:09:30 +0000 (11:09 +0000)]
More compiler fixes for BLI_convertstringcode calls

13 years agoalso look for ndof plugin in $HOME/.blender/plugins/3DxNdofBlender.plug, for linux...
Campbell Barton [Sun, 4 May 2008 11:00:33 +0000 (11:00 +0000)]
also look for ndof plugin in $HOME/.blender/plugins/3DxNdofBlender.plug, for linux distro's where blender is installed in /usr/bin/blender, installing plugins in /usr/bin/plugins would not be acceptable.

13 years agoMore fixes for compiling
Joshua Leung [Sun, 4 May 2008 10:48:45 +0000 (10:48 +0000)]
More fixes for compiling

13 years agoFix for compiling with FFMPEG enabled due to BLI_convertstringcode
Joshua Leung [Sun, 4 May 2008 10:28:10 +0000 (10:28 +0000)]
Fix for compiling with FFMPEG enabled due to BLI_convertstringcode

13 years agoChanged frame numbering to only alter hashes if they are in the filename (not the...
Campbell Barton [Sun, 4 May 2008 09:41:15 +0000 (09:41 +0000)]
Changed frame numbering to only alter hashes if they are in the filename (not the directory name) to fix bug [#10566] File Open Dialog replaces '#' with '0' in directory names.

removed frame numbering from BLI_convertstringcode into its own function (BLI_convertstringframe), many uses of BLI_convertstringcode were passing dummy frames values anyway.
in cases where adding the current frame number to a filename is needed run BLI_convertstringframe(...) after BLI_convertstringcode(...)

There are some cases Im not sure BLI_convertstringframe is needed, these have been commented as todo, but at least have the same functionality they used to.

13 years agochange default for darwin for better compatibility with gcc4.0
Jean-Luc Peurière [Sat, 3 May 2008 17:04:28 +0000 (17:04 +0000)]
change default for darwin for better compatibility with gcc4.0

13 years agoown error assigning a value out of array bounds thanks Cyril Brulebois for pointing...
Campbell Barton [Sat, 3 May 2008 09:35:20 +0000 (09:35 +0000)]
own error assigning a value out of array bounds thanks Cyril Brulebois for pointing this out.

13 years agoAdded missing menu entries for Preview Range tools
Joshua Leung [Sat, 3 May 2008 02:50:07 +0000 (02:50 +0000)]
Added missing menu entries for Preview Range tools

13 years ago== PyNodes ==
Willian Padovani Germano [Fri, 2 May 2008 20:41:33 +0000 (20:41 +0000)]
== PyNodes ==

More bug fixing, reports by Juho (bebraw) Vepsalainen (thanks!)

#10340: a recent fix I made broke handling of pynodes with buggy scripts when loaded from a .blend. (This may have been the reason for #10341, too, caused by saving buggy typeinfo.)

13 years agoBGE bug fix: set parent actuator change the orientation of object
Benoit Bolsee [Fri, 2 May 2008 17:22:28 +0000 (17:22 +0000)]
BGE bug fix: set parent actuator change the orientation of object

13 years agoPartially revert BGE bug fix #8863: don't send keyboard sensor positive pulse on...
Benoit Bolsee [Fri, 2 May 2008 15:47:08 +0000 (15:47 +0000)]
Partially revert BGE bug fix #8863: don't send keyboard sensor positive pulse on level, this would badly interfere with keyboard sensors controlling set scene/restart scene actuators. Only send negative pulse on level to stop actuators after scene suspend

13 years ago fix for #7314
Jean-Luc Peurière [Fri, 2 May 2008 15:45:15 +0000 (15:45 +0000)]
 fix for #7314
solution provided by Leandro Inocencio

13 years agoFix for bug #8825. find_first_point() finds first points of implicite surface in...
Jiri Hnidek [Fri, 2 May 2008 12:43:46 +0000 (12:43 +0000)]
Fix for bug #8825. find_first_point() finds first points of implicite surface in better way now. It goes
from center of every metalement to 26 directions and try to find every place, where implicite function
crosses zero value. Size of step is size of polygonization cube. It can be proofed, that smaller size of step
is useless.

13 years agowizard_curve2tree was opening FBX wiki docs. leaf dupliface object was being offset...
Campbell Barton [Fri, 2 May 2008 12:27:05 +0000 (12:27 +0000)]
wizard_curve2tree was opening FBX wiki docs. leaf dupliface object was being offset each time the script ran.

13 years agoremove a debug print
Jean-Luc Peurière [Fri, 2 May 2008 10:48:14 +0000 (10:48 +0000)]
remove a debug print

13 years agofix for #10080 copy/paste operations were
Jean-Luc Peurière [Fri, 2 May 2008 10:38:50 +0000 (10:38 +0000)]
fix for #10080 copy/paste operations were
broken after first on os X

13 years agoused fixed width font, set the command history to ignore dupes when pressing up/down
Campbell Barton [Fri, 2 May 2008 10:33:32 +0000 (10:33 +0000)]
used fixed width font, set the command history to ignore dupes when pressing up/down

13 years agoBugfix: reading in function pointers from a 64 bit .blend on 32 bit
Brecht Van Lommel [Fri, 2 May 2008 10:22:44 +0000 (10:22 +0000)]
Bugfix: reading in function pointers from a 64 bit .blend on 32 bit
gave "memory block reconstruct: end corrupt" errors. This bug was
harmless, just gave ugly error messages.

13 years ago== PyNodes ==
Willian Padovani Germano [Thu, 1 May 2008 22:28:18 +0000 (22:28 +0000)]
== PyNodes ==

Bug #10104 reported by bebraw: missing check for how many node sockets were being created by a pynode script. Too many (more than MAX_SOCKET == 64) would crash Blender.

Notes: moved the MAX_SOCKET define from node.c to BKE_node.h so I could use it in Node.c. Also improved error reporting in pynodes when errors occur in the init stage.

Thanks Juho (bebraw), Tom (assigned the bug to me) and Brecht (mentioned the MAX_SOCKET define).

13 years agoFix BGE bug #8863: Keyboard Sensor does not send negative pulse if key released while...
Benoit Bolsee [Thu, 1 May 2008 20:43:18 +0000 (20:43 +0000)]
Fix BGE bug #8863: Keyboard Sensor does not send negative pulse if key released while scene suspended.  The fix covers keyboard and mouse sensor

13 years agostop centering objects from moving children
Campbell Barton [Thu, 1 May 2008 20:31:57 +0000 (20:31 +0000)]
stop centering objects from moving children

13 years agodeleting a vertex group didn't update the buttons window when the 3d view wasnt open...
Campbell Barton [Thu, 1 May 2008 19:46:05 +0000 (19:46 +0000)]
deleting a vertex group didn't update the buttons window when the 3d view wasnt open. it also didn't update the 3dview weight paint colors.
copying a group kept appending "_copy" and rose an error when the string was too long. now just add one _copy prefix and number uniquely.

13 years agoAdd attribute, which returns the actual library name used by blender...
Ken Hughes [Thu, 1 May 2008 18:52:26 +0000 (18:52 +0000)]
Add attribute, which returns the actual library name used by blender (this may be different from the library.filename attribute).

13 years agofix for [#10148] 3D preview render does not update on mouse rotate and pan
Campbell Barton [Thu, 1 May 2008 18:46:50 +0000 (18:46 +0000)]
fix for [#10148] 3D preview render does not update on mouse rotate and pan
(own fault when replacing magic numbers)

13 years ago* add MSVC9 check for lib_vs2008. (CMake users, please verify. Provided by zebulon).
Nathan Letwory [Thu, 1 May 2008 18:20:00 +0000 (18:20 +0000)]
* add MSVC9 check for lib_vs2008. (CMake users, please verify. Provided by zebulon).

13 years agoSurface bugfix (reported by jms on the french newsgroup)
Martin Poirier [Thu, 1 May 2008 18:16:21 +0000 (18:16 +0000)]
Surface bugfix (reported by jms on the french newsgroup)

Adding Donut or Sphere surfaces with the Align to View option turned on added broken surfaces.

Those two surface type were always aligned in the past and their creation method were not made to deal with this. Fixed now (that is, they are aligned to view and created correctly if the option is on).

There might be other cases of this bug elsewhere.

13 years agoFix for bug #10144: "set editable" on a disabled particle system
Brecht Van Lommel [Thu, 1 May 2008 17:31:01 +0000 (17:31 +0000)]
Fix for bug #10144: "set editable" on a disabled particle system
could cause crashes.
Fix related to bug #10198: particle mode didn't respect undo steps
set to 0.

Also made the memory statistics print (ctrl+alt+shift+q) use the
more human readable form to give an overview, instead of printing
out a python script.

13 years agoFix BGE bug: dynamic-but-not-rigid objects are added as rigid body during the game.
Benoit Bolsee [Thu, 1 May 2008 16:00:59 +0000 (16:00 +0000)]
Fix BGE bug: dynamic-but-not-rigid objects are added as rigid body during the game.

13 years ago[#8397] "playback fps' jumps all over the map
Campbell Barton [Thu, 1 May 2008 14:51:06 +0000 (14:51 +0000)]
[#8397] "playback fps' jumps all over the map
average over the last 8 times to reduce flickering. ideally this would show how many frames were drawn in the last second. but I think this is good enough just to get an idea how fast the animation is playing without annoying flicker.

13 years agoChange plugin.def to pluging.DEF for case sensitive operating systems.
Stephen Swaney [Thu, 1 May 2008 14:22:21 +0000 (14:22 +0000)]
Change plugin.def to pluging.DEF for case sensitive operating systems.

File is source/blender/blenpluginapi/plugin.DEF

13 years ago* copy plugin header stuffies too.
Nathan Letwory [Thu, 1 May 2008 13:54:25 +0000 (13:54 +0000)]
* copy plugin header stuffies too.

13 years agoComplement to bug fix #8869: crash with alpha mesh
Benoit Bolsee [Thu, 1 May 2008 12:35:21 +0000 (12:35 +0000)]
Complement to bug fix #8869: crash with alpha mesh

13 years ago* remove redundant line.
Nathan Letwory [Thu, 1 May 2008 11:33:52 +0000 (11:33 +0000)]
* remove redundant line.

13 years ago* add missing int rel to BPy_Library and BPy_LibraryData
Nathan Letwory [Thu, 1 May 2008 08:11:08 +0000 (08:11 +0000)]
* add missing int rel to BPy_Library and BPy_LibraryData

13 years agoAdd support to bpy.library module for relative paths.
Ken Hughes [Thu, 1 May 2008 05:52:35 +0000 (05:52 +0000)]
Add support to bpy.library module for relative paths.

13 years ago* Fix Verse bug [#8959] Clients doesn't connect if libverse.a is compiled with -O2
Nathan Letwory [Wed, 30 Apr 2008 22:42:12 +0000 (22:42 +0000)]
* Fix Verse bug [#8959] Clients doesn't connect if libverse.a is compiled with -O2
  Merged from Verse SVN (r4524). See Verse bug tracker for bug report.

13 years agofix for bugs
Campbell Barton [Wed, 30 Apr 2008 22:30:52 +0000 (22:30 +0000)]
fix for bugs
[bf-blender-Bug Tracker][6693] x3d export bug in V2.44 release
[bf-blender-Bug Tracker][7773] .x3d exporter problems (moving meshes away)
Updated how objects are transformed, and use Mesh rather then NMesh.
also removed vertex color saving since it was really slow and vcolors are stored per face in blender.

13 years agofix BGE bug #8869: Added objects are not lit correctly
Benoit Bolsee [Wed, 30 Apr 2008 19:58:44 +0000 (19:58 +0000)]
fix BGE bug #8869: Added objects are not lit correctly

The current layer information is now stored in KX_GameObject and inherited from the parent object when dynamically added. This information is used during the rendering the select the lamps. As the selected lamps are always coming from active layers, their position and orientation are correct.

13 years agoFix for bug #9867: issues with making particle systems local.
Brecht Van Lommel [Wed, 30 Apr 2008 13:29:57 +0000 (13:29 +0000)]
Fix for bug #9867: issues with making particle systems local.

13 years agoFix for bug #8963: there was still an issue with SSS and transparency
Brecht Van Lommel [Wed, 30 Apr 2008 12:02:09 +0000 (12:02 +0000)]
Fix for bug #8963: there was still an issue with SSS and transparency
in the shading because of ramps.

13 years ago== bugfix ==
Andrea Weikert [Tue, 29 Apr 2008 21:43:17 +0000 (21:43 +0000)]
== bugfix ==
fix for [#6580] invalid file names not handled consistently when saving
only affects windows, where invisible file stream could be created if filename contains ':'

13 years agoFix for bug #8910: FSA + spotlight halo not working correct together.
Brecht Van Lommel [Tue, 29 Apr 2008 19:51:23 +0000 (19:51 +0000)]
Fix for bug #8910: FSA + spotlight halo not working correct together.

13 years ago== mmap for win32 ==
Andrea Weikert [Tue, 29 Apr 2008 18:41:34 +0000 (18:41 +0000)]
== mmap for win32 ==
replacement for mmap/munmap on Windows.
Implemented using CreateFileMapping/MapViewOfFile.

13 years agoFix for bug #9014: crash saving the depth pass with openexr or hdr,
Brecht Van Lommel [Tue, 29 Apr 2008 16:57:39 +0000 (16:57 +0000)]
Fix for bug #9014: crash saving the depth pass with openexr or hdr,
both file formats crashed on saving images with less than 4 channels.

13 years agogetting ARB shaders working again in GE.
Jean-Luc Peurière [Tue, 29 Apr 2008 16:22:13 +0000 (16:22 +0000)]
getting ARB shaders working again in GE.

This is is a kludge, and only to get a release
working. later solution is to use glew

13 years agoFix for octree filling print when rendering, the counter was per object,
Brecht Van Lommel [Tue, 29 Apr 2008 15:19:58 +0000 (15:19 +0000)]
Fix for octree filling print when rendering, the counter was per object,
now counts all faces as it did before.

13 years agoFix for bug #8949: diffuse tangent shading did not use correctly
Brecht Van Lommel [Tue, 29 Apr 2008 13:51:47 +0000 (13:51 +0000)]
Fix for bug #8949: diffuse tangent shading did not use correctly
normalized normal. Patch by André Pinto, thanks!

13 years agoFix for bug #9657: ipo's on the object in particle object visualisation
Brecht Van Lommel [Tue, 29 Apr 2008 09:56:52 +0000 (09:56 +0000)]
Fix for bug #9657: ipo's on the object in particle object visualisation
didn't always get correct time.

13 years agofix gcc warnings
Campbell Barton [Tue, 29 Apr 2008 08:24:33 +0000 (08:24 +0000)]
fix gcc warnings

13 years agoBugfix #9676; Assigning Driver to Own Object when Pinning IPO Editor
Joshua Leung [Tue, 29 Apr 2008 03:19:11 +0000 (03:19 +0000)]
Bugfix #9676; Assigning Driver to Own Object when Pinning IPO Editor

When the IPO Editor is pinned, drivers will now be handled as if they belonged to the object that the ipo-belonged to when the ipo was pinned. This behaviour is more predictable than using the active object.

13 years ago* make makesdna dependant on DNA header files too, instead of relying on makesdna...
Nathan Letwory [Mon, 28 Apr 2008 22:19:03 +0000 (22:19 +0000)]
* make makesdna dependant on DNA header files too, instead of relying on makesdna dependency only.
  Fix through pointer by jaguarandi. Thanks!

13 years agorunning scripts in background mode would crash blender when checking a scriptspace...
Campbell Barton [Mon, 28 Apr 2008 21:54:03 +0000 (21:54 +0000)]
running scripts in background mode would crash blender when checking a scriptspace areas

13 years agoif a blend file was opened with /./ in the path (for example "some/./path/to/./model...
Campbell Barton [Mon, 28 Apr 2008 21:29:15 +0000 (21:29 +0000)]
if a blend file was opened with /./ in the path (for example "some/./path/to/./model.blend" ) the relative paths from created from that location would be incorrect. This results in linked library paths being loaded incorrectly.

13 years agoFix for bug #8865: on mac os x, with certain processors (I'm guessing
Brecht Van Lommel [Mon, 28 Apr 2008 20:57:03 +0000 (20:57 +0000)]
Fix for bug #8865: on mac os x, with certain processors (I'm guessing
Intel Xeon only), doing a lot of mutex locking is really slow. Getting
the image  buffer for each texture read then made using more threads
actually slow down the render. Now I've split up the function in two
parts, one parts that checks if the image is available, and another
that does a mutex lock and loading if needed.

Changes quite a lot of code, so hopefully doesn't break stuff, but it
seemed to survive test with rendering a number of frames using all
image types and many threads, though this kind of threading problem
only happens once in a while .. so hard to test for.

13 years ago* improve the clean code. Instead of doing it the dumb way, do it smarter.
Nathan Letwory [Mon, 28 Apr 2008 19:48:44 +0000 (19:48 +0000)]
* improve the clean code. Instead of doing it the dumb way, do it smarter.

13 years agofix for [#9649] needs a patch,
Campbell Barton [Mon, 28 Apr 2008 19:13:38 +0000 (19:13 +0000)]
fix for [#9649] needs a patch,
slight change to the fix suggested, the svg imported was assuming that
"fill:" and "#" being in a string meant there was "fill:#", but the # could be used for other properties.

13 years agovertex parents to a mesh that no verts would crash blender
Campbell Barton [Mon, 28 Apr 2008 17:14:56 +0000 (17:14 +0000)]
vertex parents to a mesh that no verts would crash blender

13 years ago* make sure makesdna executable gets removed on scons clean.
Nathan Letwory [Mon, 28 Apr 2008 17:14:20 +0000 (17:14 +0000)]
* make sure makesdna executable gets removed on scons clean.

13 years agoCloth: Old RC1 and RC2 files with cloth should open again and not crash (after the...
Daniel Genrich [Mon, 28 Apr 2008 17:02:55 +0000 (17:02 +0000)]
Cloth: Old RC1 and RC2 files with cloth should open again and not crash (after the DNA rearrangement to fix a bug yesterday). But be carefull your settings get lost. Best thing to do: 1. write settings down, 2. open blend in new (>=17 subversion) blender and just save the file (and ignore warnings on the command line.) Take this as a good example why not to use svn blender versions for production purposes ;)

13 years agoAdd BF_X264_CONFIG and BF_XVIDCORE_CONFIG flags to scons, to allow passing
Ken Hughes [Mon, 28 Apr 2008 16:14:31 +0000 (16:14 +0000)]
Add BF_X264_CONFIG and BF_XVIDCORE_CONFIG flags to scons, to allow passing
configuration info for cross-compiling to ./configure scripts.  Also let

13 years agofix for [#9651] tooltip outdated?
Campbell Barton [Mon, 28 Apr 2008 16:09:17 +0000 (16:09 +0000)]
fix for [#9651] tooltip outdated?
own error, bpath looper was trying to free NULL pointer,
added fromOrig to python mtex api
made FromOrig and FromDupli tooltips be understandable

13 years agoFix for displacement baking when it doesn't find a hit. Instead
Brecht Van Lommel [Mon, 28 Apr 2008 14:54:24 +0000 (14:54 +0000)]
Fix for displacement baking when it doesn't find a hit. Instead
of writing 0.0 it now writes the neutral value of 0.5.

13 years agoFix for bug #9652: "draw zbuffer values" in the image editor did
Brecht Van Lommel [Mon, 28 Apr 2008 13:33:52 +0000 (13:33 +0000)]
Fix for bug #9652: "draw zbuffer values" in the image editor did
not work correct.

13 years agoBugfix:
Joshua Leung [Mon, 28 Apr 2008 12:26:41 +0000 (12:26 +0000)]

Restored Border-Select in the Action Editor for Action Channels. Was removed when doing the recode and never added back, hence a regression.

13 years agoFix for bug #9687: crash with FSA when compiling with openexr support.
Brecht Van Lommel [Mon, 28 Apr 2008 12:14:30 +0000 (12:14 +0000)]
Fix for bug #9687: crash with FSA when compiling with openexr support.
FSA requires exr, so I've disabled the buttons too in that case. I also
noticed CMake doesn't enable openexr by default, but a lot of the render
code relies on it, so I've enabled it by default now.

13 years ago== Action Editor - Group Colors ==
Joshua Leung [Mon, 28 Apr 2008 11:40:38 +0000 (11:40 +0000)]
== Action Editor - Group Colors ==

Made option to show group colors the default. If this is too colourful for you, disable it in the View menu.

13 years agoFix for bug #9504: compile error with verse on mingw, also fixed
Brecht Van Lommel [Mon, 28 Apr 2008 11:05:01 +0000 (11:05 +0000)]
Fix for bug #9504: compile error with verse on mingw, also fixed
in verse svn.

13 years ago* try/except block around import of BoolOption, to make sure one can use scons-0...
Nathan Letwory [Mon, 28 Apr 2008 10:47:45 +0000 (10:47 +0000)]
* try/except block around import of BoolOption, to make sure one can use scons-0.98.2 to compile with.

13 years agoBugfix #8937: Action constraint for non-armatures shows lag on clear transform
Joshua Leung [Mon, 28 Apr 2008 10:35:51 +0000 (10:35 +0000)]
Bugfix #8937: Action constraint for non-armatures shows lag on clear transform

The problem here was that the owner instead of the workob was being used to find the effect of the action constraint.

13 years ago* add small bit of docs about BF_CONFIG
Nathan Letwory [Mon, 28 Apr 2008 09:41:51 +0000 (09:41 +0000)]
* add small bit of docs about BF_CONFIG

13 years ago== Action Editor - Action Groups finishing touches ==
Joshua Leung [Mon, 28 Apr 2008 07:38:06 +0000 (07:38 +0000)]
== Action Editor - Action Groups finishing touches ==

* Added a new tool "Synchronise with Armature" (found under Channels->Grouping), which synchronises the grouping of action-channels and the grouping of their relevant bones.

This only works when the active object is an armature, and the action isn't pinned. All of the action's action-channels are removed from their groups, and are added back into groups according to the current grouping of their corresponding bones.

A bit of testing for weird cases is needed.

* Group colours are now not drawn if the group originally was using the 'default' colour-set.

13 years agoBugfix:
Joshua Leung [Mon, 28 Apr 2008 05:14:26 +0000 (05:14 +0000)]

The Outliner was being built incorrectly, leading to fake "IPO-Driver"-linked objects being shown under IPO's. These were caused by a missing break statement, which lead to the IPO case flowing on to the Action case. This could cause crashes with undo on some computers.

13 years agoAssorted tidy-ups for keyframing (including auto-keying), while trying to track down...
Joshua Leung [Mon, 28 Apr 2008 04:46:28 +0000 (04:46 +0000)]
Assorted tidy-ups for keyframing (including auto-keying), while trying to track down a bug.

13 years agoAdding new poses to a PoseLib also creates Action Groups in the PoseLib, just like...
Joshua Leung [Mon, 28 Apr 2008 00:51:31 +0000 (00:51 +0000)]
Adding new poses to a PoseLib also creates Action Groups in the PoseLib, just like for keyframing.

13 years agoCompiler warning fixes:
Joshua Leung [Mon, 28 Apr 2008 00:40:38 +0000 (00:40 +0000)]
Compiler warning fixes:
* in scene.c in blenkernel, set_last_seq (defined in src - editseq.c) is called... this may/may not need some stubs for game-engine stuff
* removed unused vars due to old particle-effects stuff

13 years agoSubversion bump because of big cloth struct change
Daniel Genrich [Sun, 27 Apr 2008 22:34:19 +0000 (22:34 +0000)]
Subversion bump because of big cloth struct change

13 years agofollow-up for the universal darwin
Jean-Luc Peurière [Sun, 27 Apr 2008 22:05:53 +0000 (22:05 +0000)]
follow-up for the universal darwin

also added bal level call stub for set_last_seq,
player building was broken by recent commit

13 years agoBugfix: 32bit cloth files were loaded bad in 64bit blenders and the way arround....
Daniel Genrich [Sun, 27 Apr 2008 22:04:47 +0000 (22:04 +0000)]
Bugfix: 32bit cloth files were loaded bad in 64bit blenders and the way arround. The e.g. GUI-only variable 'mass' was reseted to 0. Problem: makesdna doesn't cry out on compile - I wonder why this differences could happen. Solution: Rearange cloth DNA, resort things, clear up and bug was gone - weird. Problem left: Every file having cloth enabled before this revision is incompatible with this version. If anyone know a better solution, please go ahead

13 years agotake 2, disable enter editmode and enter editmode in .B.blend, commited rev 14289...
Campbell Barton [Sun, 27 Apr 2008 21:44:28 +0000 (21:44 +0000)]
take 2, disable enter editmode and enter editmode in .B.blend, commited rev 14289 but had to be reverted because other changes were made.

13 years agoattempt for an universal Os X config file
Jean-Luc Peurière [Sun, 27 Apr 2008 21:21:21 +0000 (21:21 +0000)]
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

13 years ago* Group unlinking wasnt removing groups from particle systems, or render layers light...
Campbell Barton [Sun, 27 Apr 2008 20:43:25 +0000 (20:43 +0000)]
* 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.

13 years ago* change BF_CONFIG so that it is understood as '' instead of config...
Nathan Letwory [Sun, 27 Apr 2008 20:17:14 +0000 (20:17 +0000)]
* change BF_CONFIG so that it is understood as '' instead of config/ it tried to do before. If defined, it overrides the search (and potential use) of
   It didn't work before anyway, so this change should affect nobody.
   usage: scons BF_CONFIG=someconfigfile

13 years ago* make sure BF_CONFIG is an accepted ARGUMENT
Nathan Letwory [Sun, 27 Apr 2008 19:51:49 +0000 (19:51 +0000)]
* make sure BF_CONFIG is an accepted ARGUMENT

13 years agoMake "scons clean" remove config files for ffmpeg, x264, xvidcore. Also
Ken Hughes [Sun, 27 Apr 2008 19:20:35 +0000 (19:20 +0000)]
Make "scons clean" remove config files for ffmpeg, x264, xvidcore.  Also
replace tabs with spaces.

13 years ago* let's copy *all* FFMPEG libraries, shall we?
Nathan Letwory [Sun, 27 Apr 2008 19:13:40 +0000 (19:13 +0000)]
* let's copy *all* FFMPEG libraries, shall we?

13 years ago== Multires ==
Nicholas Bishop [Sun, 27 Apr 2008 18:26:43 +0000 (18:26 +0000)]
== Multires ==

Fixed bug #9680, Crash on render

Caused by multires sometimes looking at editmesh data rather than mesh data during render

13 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.

13 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.

13 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

define BF_FFMPEG_EXTRA in to pass
those flags.

I use this on Os X to pass the SDK vars :

13 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.

13 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

13 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)

13 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.

13 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

13 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.

13 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.

13 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.

13 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.