blender.git
10 years agomerge 16951:17122
Martin Poirier [Mon, 20 Oct 2008 00:48:10 +0000 (00:48 +0000)]
merge 16951:17122

10 years agoFixed overlapping panels in Armature Buttons that resulted after adding a constraint...
Joshua Leung [Sun, 19 Oct 2008 23:52:28 +0000 (23:52 +0000)]
Fixed overlapping panels in Armature Buttons that resulted after adding a constraint/IK using the hotkeys.

10 years ago=== Blender Python API ===
Nathan Letwory [Sun, 19 Oct 2008 23:20:17 +0000 (23:20 +0000)]
=== Blender Python API ===

* add DataSize() to module level
  with this one can get datablock struct size.

10 years agoforgot to add removeRenderLayer() documentation
Nathan Letwory [Sun, 19 Oct 2008 22:09:45 +0000 (22:09 +0000)]
forgot to add removeRenderLayer() documentation

10 years ago=== SCons ===
Nathan Letwory [Sun, 19 Oct 2008 22:01:46 +0000 (22:01 +0000)]
=== SCons ===

[#17867] Adds option to SCONS to generate Python API documentation

Added patch from Brandano with some small improvements (BF_DOCDIR, clean) by yours truly.

To use make sure you have epydoc installed. Enable with WITH_BF_BPYDOC=1.

10 years ago=== Blender Python API ===
Nathan Letwory [Sun, 19 Oct 2008 21:39:50 +0000 (21:39 +0000)]
=== Blender Python API ===
* fix two typos in RenderLayer API (renderosiy -> renderosity in two places. Will break .py's saved with render_save_layers.py, just fix passRadiosiy and passRadiosiyXOR)
* add some docs on RenderLayer API
* fix some copy/paste leftover in render_save_layers.py

10 years agoAdded WITH_BF_NOBLENDER to scons so that blenderplayer can be compiler by itself...
Ken Hughes [Sun, 19 Oct 2008 21:25:17 +0000 (21:25 +0000)]
Added WITH_BF_NOBLENDER to scons so that blenderplayer can be compiler by itself (false by default).  Also added dependency for 'blender' on command line;  seems 'blender' was intended to be a target, but would give the error "Do not know how to make target `blender' ".

10 years agomodified OBJ import and export UI's to be less confusing with nicer layout. removed...
Campbell Barton [Sun, 19 Oct 2008 15:53:22 +0000 (15:53 +0000)]
modified OBJ import and export UI's to be less confusing with nicer layout. removed an unneeded workaround in fbx export.

10 years ago* small code change from Split to env.Glob()
Nathan Letwory [Sun, 19 Oct 2008 13:51:52 +0000 (13:51 +0000)]
* small code change from Split to env.Glob()

10 years ago=== BPy API ===
Nathan Letwory [Sun, 19 Oct 2008 13:48:37 +0000 (13:48 +0000)]
=== BPy API ===
* Add read access for octree resolution

10 years agoonly set the SDL audio driver to alsa when not running in background mode and when...
Campbell Barton [Sun, 19 Oct 2008 06:12:11 +0000 (06:12 +0000)]
only set the SDL audio driver to alsa when not running in background mode and when blender is compiled with SDL.

10 years agosource/blender/blenloader/intern/readfile.c - use memmove rather then strncpy for...
Campbell Barton [Sun, 19 Oct 2008 04:02:37 +0000 (04:02 +0000)]
source/blender/blenloader/intern/readfile.c - use memmove rather then strncpy for overlapping strings.
source/blender/blenlib/intern/fileops.c - zero length strings would check for a slash before the strings first char.
source/gameengine/GameLogic/SCA_JoystickSensor.cpp - m_istrig_prev was not initialized
source/blender/src/editmesh.c - active face pointer was not set to NULL in free_editMesh()

10 years agoFew tiny cleanups in Action Editor code (comments only)
Joshua Leung [Sun, 19 Oct 2008 03:41:49 +0000 (03:41 +0000)]
Few tiny cleanups in Action Editor code (comments only)

10 years agoBGE bug #17858 fixed: [SHOWSTOPPER] BGE Memory leak. The memory leak has been identi...
Benoit Bolsee [Sat, 18 Oct 2008 18:37:58 +0000 (18:37 +0000)]
BGE bug #17858 fixed: [SHOWSTOPPER]  BGE Memory leak. The memory leak has been identified and fixed in bullet.

10 years agopatch [#17856] Correction on docs for Ipo module. from Lucas Vella (lvella) + some...
Campbell Barton [Sat, 18 Oct 2008 13:33:27 +0000 (13:33 +0000)]
patch [#17856] Correction on docs for Ipo module. from Lucas Vella (lvella) + some other minor changes.

10 years agoAdded joystick epydocs, only changed incorrect docstrings in SCA_JoystickSensor.cpp
Campbell Barton [Sat, 18 Oct 2008 13:23:30 +0000 (13:23 +0000)]
Added joystick epydocs, only changed incorrect docstrings in SCA_JoystickSensor.cpp
patch [#17857] HotKeys Update by dfelinto - SmoothStroke and Anchored.
Made own edits, removed videoscape and added curve and armature specials.

10 years ago* Fixed eekadoodle problem where faces with a zero index vert in the wrong place...
Campbell Barton [Sat, 18 Oct 2008 09:04:25 +0000 (09:04 +0000)]
* Fixed eekadoodle problem where faces with a zero index vert in the wrong place would reotate the UVs and VCols incorrectly
* Fixed an error that made IndexedLineSet and IndexedPointSet not load for x3d's
* Added support for opening gzip x3d/wrl files

10 years agox3d and vrml importer for loading thes files as static scenes. x3d needs a full pytho...
Campbell Barton [Fri, 17 Oct 2008 19:06:24 +0000 (19:06 +0000)]
x3d and vrml importer for loading thes files as static scenes. x3d needs a full python install. VRML97 files can be imported without python.

for details on what is supported see
http://wiki.blender.org/index.php/Scripts/Manual/Import/X3D_VRML97#Compatibility

10 years agoFix for bug #17829: with ATI drivers, GLSL shadows crashed on physics
Brecht Van Lommel [Fri, 17 Oct 2008 13:36:40 +0000 (13:36 +0000)]
Fix for bug #17829: with ATI drivers, GLSL shadows crashed on physics
'show pivot' drawing in the viewport. Also added checks for some other
cases where this could happen.

10 years agoFix for imagepaint soften tool giving a bit too dark results,
Brecht Van Lommel [Fri, 17 Oct 2008 13:34:20 +0000 (13:34 +0000)]
Fix for imagepaint soften tool giving a bit too dark results,
due to poor float-to-char conversion.

10 years agoBGE bug fix (continuation of previous bug fix):
Benoit Bolsee [Fri, 17 Oct 2008 09:24:35 +0000 (09:24 +0000)]
BGE bug fix (continuation of previous bug fix):
- Forgot to make SCA_ISensor::UnregisterToManager() virtual to intercept active-inactive transition on collision sensor to clear colliders reference.
- Don't record collision on inactive sensor.
  This situation occurs when an object with an inactive collision sensor collides with an object with an active collision sensor: the collision handler triggers both sensors.
  The result of this bug was pending references that eventually cause temporary memory leak (until the sensor is reactivated).

10 years agoBGE showstopper bug fix:
Benoit Bolsee [Thu, 16 Oct 2008 23:33:40 +0000 (23:33 +0000)]
BGE showstopper bug fix:
- Reset hit object pointer at end of frame of touch sensor to avoid returning invalid pointer to getHitObject().
- Clear all references in KX_TouchSensor::m_colliders when the sensor is disabled to avoid loose references.
- Test GetSGNode() systematically for all KX_GameObject functions that can be called from python in case a python controller keeps a reference in GameLogic (bad practice anyway).

10 years ago[#17845] View Snapping causes background grid confusion
Martin Poirier [Thu, 16 Oct 2008 21:43:25 +0000 (21:43 +0000)]
[#17845] View Snapping causes background grid confusion

view needs to be reset while moving to take care of view snapping properly.

10 years agovrml exporting with images was broken.
Campbell Barton [Tue, 14 Oct 2008 23:43:08 +0000 (23:43 +0000)]
vrml exporting with images was broken.

10 years agocleanup epydoc errors
Campbell Barton [Tue, 14 Oct 2008 22:31:10 +0000 (22:31 +0000)]
cleanup epydoc errors

10 years ago== windows installer ==
Andrea Weikert [Tue, 14 Oct 2008 20:27:37 +0000 (20:27 +0000)]
== windows installer ==
small update for release 2.48 - no need to re-tag

10 years ago=== Installer (win32) === v2.48
Nathan Letwory [Tue, 14 Oct 2008 16:24:27 +0000 (16:24 +0000)]
=== Installer (win32) ===

* Fix for [#17651] Silent Install Issue
  - make sure silent install is really silent ( /S on command-line)
* Improve installer to check for msvc90.dll
* Improve installer to check for py 25 install (using registry)

10 years agoresaved in the gimp, now loads with libpng 1.2.30
Campbell Barton [Tue, 14 Oct 2008 14:10:49 +0000 (14:10 +0000)]
resaved in the gimp, now loads with libpng 1.2.30

10 years agoBugfix #17832
Ton Roosendaal [Tue, 14 Oct 2008 12:16:12 +0000 (12:16 +0000)]
Bugfix #17832

Particle system crashed in convertblender, missing NULL check.
This fixes crash, render survives, but I doubt it was meant so...

Will leave it Janne to evaluate later.

10 years agoCollisions: CollisionModifier needs to be resetted for every loop
Daniel Genrich [Tue, 14 Oct 2008 11:54:07 +0000 (11:54 +0000)]
Collisions: CollisionModifier needs to be resetted for every loop

10 years agoBugfix for regression from 2.46 on cloth collisions reported by Daniel Salazar via IRC
Daniel Genrich [Tue, 14 Oct 2008 11:50:30 +0000 (11:50 +0000)]
Bugfix for regression from 2.46 on cloth collisions reported by Daniel Salazar via IRC

10 years agoBugfix on IRC report. Luckily Daniel Salazar *does* carefully check our
Ton Roosendaal [Tue, 14 Oct 2008 11:42:53 +0000 (11:42 +0000)]
Bugfix on IRC report. Luckily Daniel Salazar *does* carefully check our
regression files, it showed small dark outline errors on envmap.

This commit rewinds bugfix #8437, which actually had to be fixed on
another location in code, which was done a few weeks ago. :)

10 years agoBugreport in IRC: Area lamp, "Constant jitterred" had wrong alignment
Ton Roosendaal [Tue, 14 Oct 2008 10:55:18 +0000 (10:55 +0000)]
Bugreport in IRC: Area lamp, "Constant jitterred" had wrong alignment
code, causing the "SamplesY" button to overlap others.

10 years agoBugfix #17830
Ton Roosendaal [Tue, 14 Oct 2008 10:44:22 +0000 (10:44 +0000)]
Bugfix #17830

Index OB pass didn't support FSA for Ztransp.
Also made buttons to set black/white for non-RGBA images hide in Image Window,
the Curves color code only supports 4 channels atm.

10 years agoAction Editor - Grease Pencil Bugfix:
Joshua Leung [Tue, 14 Oct 2008 10:11:01 +0000 (10:11 +0000)]
Action Editor - Grease Pencil Bugfix:

When Action Editor was maximised, Grease Pencil data disappeared. This was due to the screen-swapping that went on. Now, it uses the old-screen that was stored in the maximised Action Editor's screen (should be safe...)

10 years agoGrease Pencil Bugfixes:
Joshua Leung [Tue, 14 Oct 2008 09:36:08 +0000 (09:36 +0000)]
Grease Pencil Bugfixes:
* Onion-skinning with GStep > 0 was not showing enough of a noticable difference between ghosts. Improved method of calculating this.

* Clicking in a Grease-Pencil datablock channel in the Action Editor would crash

10 years agobugfix: copy/paste bug merged from Bullet main repo into Blender, hope it still can...
Erwin Coumans [Tue, 14 Oct 2008 06:14:25 +0000 (06:14 +0000)]
bugfix: copy/paste bug merged from Bullet main repo into Blender, hope it still can make 2.48

10 years agoPart two of the 2.48 release preparation!
Ton Roosendaal [Mon, 13 Oct 2008 10:03:17 +0000 (10:03 +0000)]
Part two of the 2.48 release preparation!
(After this svn tag)

10 years agoPart one of the release 2.48 commit.
Ton Roosendaal [Mon, 13 Oct 2008 10:01:52 +0000 (10:01 +0000)]
Part one of the release 2.48 commit.

10 years agomissing calls to countall() on switching scenes in the outliner.
Campbell Barton [Mon, 13 Oct 2008 03:55:59 +0000 (03:55 +0000)]
missing calls to countall() on switching scenes in the outliner.

10 years agoAdded a -noglsl option to disable GLSL from the command line.
Brecht Van Lommel [Sun, 12 Oct 2008 18:32:26 +0000 (18:32 +0000)]
Added a -noglsl option to disable GLSL from the command line.

10 years agohard limit in for bpy material was wrong
Campbell Barton [Sun, 12 Oct 2008 15:35:17 +0000 (15:35 +0000)]
hard limit in for bpy material was wrong

10 years agocorrection to epydoc
Campbell Barton [Sun, 12 Oct 2008 14:27:30 +0000 (14:27 +0000)]
correction to epydoc

10 years ago- Fix for bug #17825: baking SSS is not supported, but it didn't give
Brecht Van Lommel [Sun, 12 Oct 2008 13:32:28 +0000 (13:32 +0000)]
- Fix for bug #17825: baking SSS is not supported, but it didn't give
  proper results, should bake as if SSS was disabled.
- Fix for GLSL to handle failing shadow buffer creation better.
- Fix for sky/atmosphere version patch, was not doing files from 2.46
  and newer.

10 years agoBugfix, studio report by Pablo Venomgfx
Ton Roosendaal [Sun, 12 Oct 2008 13:16:23 +0000 (13:16 +0000)]
Bugfix, studio report by Pablo Venomgfx

- insert key crashed when object ipo was in action, but action got unlinked
  from object

10 years ago== Sequencer ==
Peter Schlaile [Sun, 12 Oct 2008 12:00:26 +0000 (12:00 +0000)]
== Sequencer ==

This fixes (works around):
[#13598] LOAD / SAVE: Segfault after attempting to load surround encoded file

10 years agoin rare cases the screen cant be found for BPy's file/image selector
Campbell Barton [Sun, 12 Oct 2008 11:31:11 +0000 (11:31 +0000)]
in rare cases the screen cant be found for BPy's file/image selector

10 years agoSmall fix, ancient issue:
Ton Roosendaal [Sun, 12 Oct 2008 11:13:35 +0000 (11:13 +0000)]
Small fix, ancient issue:
drawing object names in 3d window, zbuffered mode, didn't show up.

10 years agoc3d_import needed encoding defined for python 2.5+ to run.
Campbell Barton [Sun, 12 Oct 2008 10:39:45 +0000 (10:39 +0000)]
c3d_import needed encoding defined for python 2.5+ to run.
wav file reading minor fix checking array bounds.

10 years agoread wave files block align value, rather then assuming 2 or 4.
Campbell Barton [Sun, 12 Oct 2008 07:58:05 +0000 (07:58 +0000)]
read wave files block align value, rather then assuming 2 or 4.

10 years ago* Patch #17729 from Dalai Felinto
Matt Ebb [Sun, 12 Oct 2008 06:39:47 +0000 (06:39 +0000)]
* Patch #17729 from Dalai Felinto

Additional sculpt mode hotkeys to toggle Smooth stroke (Shift S) and Anchored brush (Shift A) . Menus are updated with hotkeys too. This is a real last minute one, but it was given the ok previously, and I've just had time to commit this for him.

10 years agoBugfix:
Joshua Leung [Sun, 12 Oct 2008 00:59:58 +0000 (00:59 +0000)]
Bugfix:

Grease Pencil panel in Sequencer and Nodes were not able to be minimised.

10 years agofix for [#17783] problem when packing wav
Campbell Barton [Sun, 12 Oct 2008 00:51:55 +0000 (00:51 +0000)]
fix for [#17783] problem when packing wav
"data" is aligned differently in this wave file and the buffer was read past its allocated length.

Fix this by searching for the buffer in increments of 2 (this finds the "data" for the wav file)
added a check not to allow the search to go past the buffer length, so corrupt wave files should not crash.

10 years agoFix for opengl errors being thrown when creating textures, it was
Brecht Van Lommel [Sun, 12 Oct 2008 00:41:28 +0000 (00:41 +0000)]
Fix for opengl errors being thrown when creating textures, it was
setting the magnification to GL_LINEAR_MIPMAP_NEAREST but that is
only valid for minifaction, should be GL_LINEAR instead. OpenGL
driver should refuse setting this so should be harmless, but better
to fix it anyway.

10 years agoGrease Pencil Bugfixs:
Joshua Leung [Sun, 12 Oct 2008 00:13:25 +0000 (00:13 +0000)]
Grease Pencil Bugfixs:

- Eraser now works in Sequence Editor. Cleaned up the code that handles Sequencer coordinate-conversions so that it should be a bit faster (doesn't need to recalculate offsets+scaling for every point that is made).

- Fixed mistake made in previous commit that made the pressure value (for tablets) an integer instead or a float. This should solve some of the reports of bits of strokes being missed on tablets.

10 years agoFix for two more game engine issues:
Brecht Van Lommel [Sat, 11 Oct 2008 23:48:37 +0000 (23:48 +0000)]
Fix for two more game engine issues:
* Debug text drawing didn't disable textures correct leaving
  texture state invalid, quite old issue.
* Multitexture materials didn't get enabled correct, recent bug.

Both pointed out by José Ignacio Romero, thanks!

10 years agoFix crash in game engine IPO code, got out of sync after IPO cleanup, removed the...
Brecht Van Lommel [Sat, 11 Oct 2008 22:29:50 +0000 (22:29 +0000)]
Fix crash in game engine IPO code, got out of sync after IPO cleanup, removed the duplicated function declarations.

10 years agoActual fix for bug #17819, that doesn't disable the functionality, crash with tiled...
Brecht Van Lommel [Sat, 11 Oct 2008 22:16:39 +0000 (22:16 +0000)]
Actual fix for bug #17819, that doesn't disable the functionality, crash with tiled image textures in the game engine.

10 years agoprevent crash in gpu_draw.c, so tilemode might not have GLSL/GPU features
Erwin Coumans [Sat, 11 Oct 2008 20:54:18 +0000 (20:54 +0000)]
prevent crash in gpu_draw.c, so tilemode might not have GLSL/GPU features

/* for tiles, copy only part of image into buffer */
if (GTS.tilemode) {
return 0; //disabled for now, it causes crashes

See tracker issue here:
http://projects.blender.org/tracker/index.php?func=detail&aid=17819&group_id=9&atid=125

10 years agoLast (hopefully) soft body fixes:
Erwin Coumans [Sat, 11 Oct 2008 20:19:04 +0000 (20:19 +0000)]
Last (hopefully) soft body fixes:
Enable soft body collision clusters by default.
Add option to 'disable collision' button between soft body and rigid body connected by constraint (option was already available between two rigid bodies)

10 years agoFix for bug #17794: GLSL didn't take into account normal maps
Brecht Van Lommel [Sat, 11 Oct 2008 19:34:48 +0000 (19:34 +0000)]
Fix for bug #17794: GLSL didn't take into account normal maps
for Nor texture inputs.

10 years agoremove constraints from world, if not done yet
Erwin Coumans [Sat, 11 Oct 2008 19:32:53 +0000 (19:32 +0000)]
remove constraints from world, if not done yet

10 years agoFix for recent commit, should only do glFinish() on Windows.
Brecht Van Lommel [Sat, 11 Oct 2008 18:58:07 +0000 (18:58 +0000)]
Fix for recent commit, should only do glFinish() on Windows.

10 years agoFix for bug #17809: crash with glsl materials and nodes refresh,
Brecht Van Lommel [Sat, 11 Oct 2008 18:52:36 +0000 (18:52 +0000)]
Fix for bug #17809: crash with glsl materials and nodes refresh,
didn't attach to the right materials to the lamp.

10 years agoFix for bug #17793: the glFinish() call in ghost that was disabled in a previous...
Brecht Van Lommel [Sat, 11 Oct 2008 16:03:17 +0000 (16:03 +0000)]
Fix for bug #17793: the glFinish() call in ghost that was disabled in a previous commit, because it was causing performance issues for the game engine, apparently still is needed to solved issues with FSAA. Now instead it will still call this for blender but not anymore for blenderplayer.

10 years agoUpdated python license, this is compatible with current 2.5 and older.
Ton Roosendaal [Sat, 11 Oct 2008 15:55:22 +0000 (15:55 +0000)]
Updated python license, this is compatible with current 2.5 and older.

http://www.python.org/download/releases/2.5.2/license/

10 years agoBugfix #17810: Blender crashes when constraint-keys are moved in NLA
Joshua Leung [Sat, 11 Oct 2008 12:23:56 +0000 (12:23 +0000)]
Bugfix #17810: Blender crashes when constraint-keys are moved in NLA

Copy and paste error. Was using ob-ipo instead of conchan->ipo

10 years agoQuick PyAPI patch:
Joshua Leung [Sat, 11 Oct 2008 12:17:16 +0000 (12:17 +0000)]
Quick PyAPI patch:

Now it is possible to clean IPO-curves using the call:
icu.clean()
There's an optional value to specify the threshold to use for cleaning.

This just wraps the internal clean_ipo_curve() function.

10 years agoGrease Pencil Bugfixes:
Joshua Leung [Sat, 11 Oct 2008 11:07:25 +0000 (11:07 +0000)]
Grease Pencil Bugfixes:

* Fix for #17808: Can't compile using SunCC - gpencil.c uses DOS line endings.
Added some svn-properties on gpencil files and also keyframing ones that I added, so that this shouldn't be a problem anymore.

* In Node Editor, it is now possible to close an open Grease Pencil panel when there is no node-tree being shown (i.e. after switching between node editing modes)

10 years agoremoved warning in fluidsim.c
Campbell Barton [Sat, 11 Oct 2008 04:30:09 +0000 (04:30 +0000)]
removed warning in fluidsim.c
fixed tooltip for delay sensor - delay is in tics not frames

10 years agoFix for a relative paths issue in the game engine. G.sce was being
Brecht Van Lommel [Sat, 11 Oct 2008 00:56:49 +0000 (00:56 +0000)]
Fix for a relative paths issue in the game engine. G.sce was being
kept as the original file, but that can't work correct for solving
relative paths once a .blend in another directory is loaded. The
reason it went OK with the apricot tech demo is that the images there
were lib linked into the level file, which still worked.

Now it sets G.sce to the current loaded .blend file. Note that the
python config file path still uses the first loaded .blend file so it
looks in the same location each time.

Also added some NULL pointer checks in the joystick code because it
was crashing there on Mac, there's similar checks in related functions
so I'm assuming this was just a missed case.

10 years agoBugfix #17802: Grease Pencil still draws when not shown in Image Editor
Joshua Leung [Fri, 10 Oct 2008 22:49:17 +0000 (22:49 +0000)]
Bugfix #17802: Grease Pencil still draws when not shown in Image Editor

Added missing check for this case.

10 years agoThis commit fixes bug: [#17770] Texture Plugins do not work. (on windows)
Kent Mein [Fri, 10 Oct 2008 17:52:25 +0000 (17:52 +0000)]
This commit fixes bug: [#17770] Texture Plugins do not work. (on windows)
Thanks to Lguillaume for helping with this one.

Had to go back to bug: [#17631] PIL_dynlib_get_error_as_string() returns NULL, causes crash

and revert the fix and make some new updates.
function needs to return NULL so fix the functions that were assuming it
always returns a string.

Kent

10 years agoMissing include, apparently only scons+mingw suffers this, strange.
Ton Roosendaal [Fri, 10 Oct 2008 14:22:54 +0000 (14:22 +0000)]
Missing include, apparently only scons+mingw suffers this, strange.

10 years agoBGE bug #17789 fixed: Lock Active Camera and Layer to Scene doesn't work in BGE....
Benoit Bolsee [Fri, 10 Oct 2008 07:20:42 +0000 (07:20 +0000)]
BGE bug #17789 fixed: Lock Active Camera and Layer to Scene doesn't work in BGE. This bug fix applies only to games started from the 3D view. Now the BGE will use the layer and camera selected in the 3d viewport under the mouse when the user presses P. Note that there is still a problem with the restart game actuator but that's another bug.

10 years agofix: leave default behaviour the same to be backward compatible with previous rigid...
Erwin Coumans [Fri, 10 Oct 2008 05:32:04 +0000 (05:32 +0000)]
fix: leave default behaviour the same to be backward compatible with previous rigid body constraints: No Collision between linked objects if button is pressed.

10 years agouse BLI_strcasecmp instead of strcasecmp so it actually links under Windows
Erwin Coumans [Fri, 10 Oct 2008 05:17:47 +0000 (05:17 +0000)]
use BLI_strcasecmp instead of strcasecmp so it actually links under Windows

10 years agoFix bug in rigid body constraint buttons drawing, and while we are at it, add 'Collis...
Erwin Coumans [Fri, 10 Oct 2008 05:12:57 +0000 (05:12 +0000)]
Fix bug in rigid body constraint buttons drawing, and while we are at it, add 'Collision' button to disable collisions between bodies, linked between constraint.

10 years agofix for [#12255] Rename the File at File Window,the file is deleted
Campbell Barton [Thu, 9 Oct 2008 22:44:52 +0000 (22:44 +0000)]
fix for [#12255] Rename the File at File Window,the file is deleted

renaming a file on win32 would delete it because it didnt test if the 2 filenames were the same (case insensitive), and remove the 'to' file to make way for the 'from' file.

10 years ago== Python ==
Willian Padovani Germano [Thu, 9 Oct 2008 22:28:44 +0000 (22:28 +0000)]
== Python  ==

Bug: [#17734] Loading a python script's help dosn't work

reported by Rian Tut (thanks).

Actual problem: scripts with spaces in their filenames were not supported by the code that registers scripts in menus and runs them. Added support w/o breaking eventual, rare scripts that parse the Bpymenus file. They will still need an update to support filenames with spaces, like done here for these scripts: Scripts Help Browser and Scripts Config Editor.

PS: tested on Linux. Please test on other platforms: just make sure scripts still appear in menus (the File->Export, for example), even after re-registering them (Scripts window -> Scripts Menu -> Update Menus) and that the Scripts Help Browser still works.

10 years agoReverted bugfix #17709
Ton Roosendaal [Thu, 9 Oct 2008 17:18:33 +0000 (17:18 +0000)]
Reverted bugfix #17709

I misread report, didn't know vertex bevel weights existed even!

10 years agobugfix #17709
Ton Roosendaal [Thu, 9 Oct 2008 17:00:53 +0000 (17:00 +0000)]
bugfix #17709

SHIFT+CTRL+E 'bevel weight' didn't support vertex selection mode yet.

10 years agoBugfix #11712
Ton Roosendaal [Thu, 9 Oct 2008 14:28:17 +0000 (14:28 +0000)]
Bugfix #11712

Definitely one of the oldest bugs ever (1995 or so).
Case is a path (child on path, or deformer, or motion modifier) where the
child is far away from path (300 units or so). In that case you can see
the path jumping to another position a bit after a few frames.

Reason:
For interpolating path positions, I was using bspline code still having a
very ancient constant 0.1666f.
Floats have higher precision, like 0.16666666. That solved it :)

10 years agoBugfix for [#17333] Fluid bake memory issues provided by Andre Pinto
Daniel Genrich [Thu, 9 Oct 2008 12:19:16 +0000 (12:19 +0000)]
Bugfix for [#17333] Fluid bake memory issues provided by Andre Pinto

10 years agoBugfix #8911
Ton Roosendaal [Thu, 9 Oct 2008 10:59:48 +0000 (10:59 +0000)]
Bugfix #8911

Image counter can be set to zero when unlinking images, whilst they can
be in use for texture. This is a temporary solution to prevent errors!

(Now image unlinking doesn't set zero users anymore)

10 years agoBGE bug fix: fix several bugs and inconsistencies in sound actuator:
Benoit Bolsee [Thu, 9 Oct 2008 06:06:11 +0000 (06:06 +0000)]
BGE bug fix: fix several bugs and inconsistencies in sound actuator:

- support stopping of loop sound
- support stopping by python
- keep state of actuator in sync with audio device.
  The lack of state sync was causing several other problems:
  - actuator stop playing the sound
  - sound chopped before the end
  - not possible to pause sound

10 years agoThis is patch [#17773] seq plugin crash -> use not converted to float with ibuf1...
Kent Mein [Thu, 9 Oct 2008 04:11:33 +0000 (04:11 +0000)]
This is patch [#17773] seq plugin crash -> use not converted to float with ibuf1 & ibuf2

Submitted by Rob Hausauer (paprmh)

See the link for details:
https://projects.blender.org/tracker/index.php?func=detail&aid=17773&group_id=9&atid=127

Kent

10 years agoGrease Pencil:
Joshua Leung [Wed, 8 Oct 2008 23:42:00 +0000 (23:42 +0000)]
Grease Pencil:

Added comments a few + stroke simplification code (hidden behind rt and userpref, adapted from theeth's etch-a-ton code). This shouldn't have any other adverse effects.

10 years agoPatch #7065, from Stephane SOPPERA, part two: improvements when using
Chris Want [Wed, 8 Oct 2008 19:58:57 +0000 (19:58 +0000)]
Patch #7065, from Stephane SOPPERA, part two: improvements when using
the commandline 'nmake' to build blender on windows -- please test!

10 years agoPatch #7065, from Stephane SOPPERA, part one: define macro WITH_OPENEXR
Chris Want [Wed, 8 Oct 2008 19:56:41 +0000 (19:56 +0000)]
Patch #7065, from Stephane SOPPERA, part one: define macro WITH_OPENEXR
when the sources are configured with OpenEXR support.

10 years agoBugfix #17784
Ton Roosendaal [Wed, 8 Oct 2008 18:35:41 +0000 (18:35 +0000)]
Bugfix #17784

Playanim now works for:

- tiff, cineon, dpx, hdr, exr

Only multilayer not, that's too much for a bugfix. Multilayer is a totally
different image format, handled separately.

ALso removed redundant printing for dpx/cineon.
And fixed crash in cineon when G.scene doesnt exist. Bad bad, should
not be there!

10 years agoBugfix #17784
Ton Roosendaal [Wed, 8 Oct 2008 18:15:19 +0000 (18:15 +0000)]
Bugfix #17784

libtiff init was missing on "Play anim", causing it to not read tiffs.

10 years agoBugfix #17785
Ton Roosendaal [Wed, 8 Oct 2008 17:34:26 +0000 (17:34 +0000)]
Bugfix #17785

Fixed tooltip for "double sided" so it clearly denotes it's about light. :)

10 years agoown error, bvh import would always miss the last frame.
Campbell Barton [Wed, 8 Oct 2008 17:07:32 +0000 (17:07 +0000)]
own error, bvh import would always miss the last frame.
thanks ppClarity for picking up on this.

10 years agoBugfix #17778
Ton Roosendaal [Wed, 8 Oct 2008 16:50:06 +0000 (16:50 +0000)]
Bugfix #17778

COmpositor: Multilayer images in Image input node could crash on
making icon previews for the browse menu.

10 years agoPython API
Ken Hughes [Wed, 8 Oct 2008 16:37:33 +0000 (16:37 +0000)]
Python API
----------
Add optional string argument to Object.newParticleSystem() method, so that
objects can link to existing particle systems (if the name of the particle
system is known).  Also cleans up some code in Object.c which accesses the
particle sys listbase.

10 years agoBugfix #17767
Ton Roosendaal [Wed, 8 Oct 2008 16:29:09 +0000 (16:29 +0000)]
Bugfix #17767

NULL check missing in particle bvhtree testing.

10 years agoBugfix #17769
Ton Roosendaal [Wed, 8 Oct 2008 15:42:49 +0000 (15:42 +0000)]
Bugfix #17769

Someone managed to write over the protected part of ID name (python???).
This crashes blender in unexpted place, added error print for this.

10 years agomy changes broke the "level" option for joystick keys being held between states
Campbell Barton [Wed, 8 Oct 2008 11:40:39 +0000 (11:40 +0000)]
my changes broke the "level" option for joystick keys being held between states

10 years agofix for a bug where getting ID props would rename the datablock (including its type...
Campbell Barton [Wed, 8 Oct 2008 09:27:26 +0000 (09:27 +0000)]
fix for a bug where getting ID props would rename the datablock (including its type), then crash.
http://blenderartists.org/forum/showthread.php?p=1228670#post1228670