Campbell Barton [Fri, 31 Jul 2009 23:15:00 +0000 (23:15 +0000)]
missed this line in last commit
Robert Holcomb [Fri, 31 Jul 2009 12:51:18 +0000 (12:51 +0000)]
Bug fix in low value setting. Originally checked against the wrong channel (chroma) instead of the luminence channel.
Changed default value for high value to 1.0 from 0.0.
Campbell Barton [Fri, 31 Jul 2009 09:05:13 +0000 (09:05 +0000)]
remove more unneeded args, also allow ipo to animate the ref value for KX_BlenderMaterial's
Campbell Barton [Thu, 30 Jul 2009 21:42:29 +0000 (21:42 +0000)]
remove some unused function args
Joseph Eagar [Tue, 28 Jul 2009 17:23:45 +0000 (17:23 +0000)]
changed some sprintfs to strcats, thanks to Fredrik Axelsson for the patch
Campbell Barton [Tue, 28 Jul 2009 01:48:10 +0000 (01:48 +0000)]
[#19036] blender should use 'static inline' in BKE_cloth.h to work with C99
Török Edwin (edwintorok)
this was the only thing stopping blender being compiled with clang
Campbell Barton [Sun, 26 Jul 2009 01:32:37 +0000 (01:32 +0000)]
ReplaceMesh Actuator option to replace the physics mesh and display mesh + python api options.
When the mesh field is left blank and Physics option is enabled, it reinstances the physics mesh from the existing mesh.
like calling gameOb.reinstancePhysicsMesh() from python.
Campbell Barton [Sat, 25 Jul 2009 22:57:29 +0000 (22:57 +0000)]
BGE Physics
Add support back for reinstancePhysics mesh, a frequently requested feature in the BGE forums.
from what I can tell Sumo supported this but bullet never did.
Currently only accessible via python at the moment.
- rigid body, dynamic, static types work.
- instanced physics meshes are modified too.
- compound shapes are not supported.
Physics mesh can be re-instanced from...
* shape keys & armature deformations
* subsurf (any other modifiers too)
* RAS_TexVert's (can be modified from python)
Moved the reinstancePhysicsMesh functions from RAS_MeshObject into KX_GameObject since the physics data is stored here.
video and blend file demo.
http://www.graphicall.org/ftp/ideasman42/reinstance.ogv
http://www.graphicall.org/ftp/ideasman42/reinstance_demo.blend
Campbell Barton [Sat, 25 Jul 2009 20:51:45 +0000 (20:51 +0000)]
fix memleak in BGE py api - action.channelNames
Campbell Barton [Sat, 25 Jul 2009 19:34:38 +0000 (19:34 +0000)]
- BGE Python API converting a mesh from a python arg was broken but happened to work if the uninitialized pointer was not NULL.
- iris.c - looks like a copy/paste error, was using rect where it could not have been initialized.
Kent Mein [Fri, 24 Jul 2009 17:17:04 +0000 (17:17 +0000)]
This is patch# 19017 16bit SGI image loading
submitted by Albertas Vyšniauskas (thezbyg)
Improves SGI image support.
Kent
Chris Want [Thu, 16 Jul 2009 18:44:48 +0000 (18:44 +0000)]
Don't link gameplayer against the decimation code (CMake).
Peter Schlaile [Wed, 15 Jul 2009 16:17:22 +0000 (16:17 +0000)]
== Sequencer ==
Small fix for:
* Scene-Strip rendering with compositor scenes failed, if they
had no camera attached...
Campbell Barton [Tue, 14 Jul 2009 15:08:07 +0000 (15:08 +0000)]
error in setting the alpha value when drawing text into a char buffer.
Would only show the errors with sequencer rendering with the stamp option enabled, since blenders rendering uses a float buffer.
Remigiusz Fiedler [Wed, 8 Jul 2009 22:37:49 +0000 (22:37 +0000)]
mingw-config.py prepared for work with python 2.5 and 2.6 controlled by only one parameter: BF_PYTHON_VERSION.
It needs the files: libpython25.a and libpython26.a to be copied to \\lib\windows\python\lib\
Joseph Eagar [Wed, 8 Jul 2009 07:02:59 +0000 (07:02 +0000)]
trunk bugfix: added missing undo push.
Campbell Barton [Mon, 6 Jul 2009 11:23:22 +0000 (11:23 +0000)]
fix for a bug reported by j michaelson, empty nodes were not exported, also noticed files were invalid if there were no meshes or surfaces.
Peter Schlaile [Sat, 4 Jul 2009 15:35:16 +0000 (15:35 +0000)]
== Python ==
Fix for the fix: G.scene slipped in at one point and the
filepath generation was broken due to a typo.
Peter Schlaile [Sat, 4 Jul 2009 14:59:28 +0000 (14:59 +0000)]
== Python ==
This fixes:
* background rendering on scenes different from active scene
* makes scene.render() behave the same in interactive and background mode
* makes saveRenderedImage() work correctly in background mode
Campbell Barton [Sat, 4 Jul 2009 12:41:34 +0000 (12:41 +0000)]
saving runtime on win32 didnt work with python2.6
Campbell Barton [Sat, 4 Jul 2009 00:33:50 +0000 (00:33 +0000)]
fix for python error when running in local view, the layer wasnt being set from the right object.
Campbell Barton [Wed, 1 Jul 2009 13:07:28 +0000 (13:07 +0000)]
converting nurbs to a mesh ignored smoothing for Alt+C and from pythons getFromObject()
Dalai Felinto [Mon, 29 Jun 2009 02:37:44 +0000 (02:37 +0000)]
fix for bug while importing transparent faces:
image.has_data can't be called before you load an image, otherwise it will return false even for valid images.
The workaround is to try to run image.glLoad() before. That will crash if the image is corrupted (for we are using try/catch here).
Campbell (ideasman42) thinks it would be better to have an api call proper for that. Since 2.4xx is close to its end I really don't think it's time to keep working in its API. Specially if we have similar functions doing what we need.
@ Arystanbek (kazanbas): I'm done with the obj fixes I told you. You are free to go with the importers :)
You may want to take a look at implementing a proper image.load() to 2.5 as Campbell suggested.
Campbell Barton [Sun, 28 Jun 2009 14:55:22 +0000 (14:55 +0000)]
patch [#18950] Get/set bone and type of drivers
by Alberto Torres Ruiz (dithi)
--- quoting the patch submission
This patchs adds the properties IpoCurve.driverBone and IpoCurve.driverBone2 and modifies IpoCurve.driverChannel to
allow OB_ROT_DIFF.
It sets the driver type to pose if IpoCurve.driverBone is not empty or None. Otherwise the driver type is set to
object.
Attached is the patch (with python doc) and an example .blend.
It also fixes the confusing description of IpoCurve.driver
Dalai Felinto [Fri, 26 Jun 2009 21:51:23 +0000 (21:51 +0000)]
fix for importing of transparent faces from .mtl files - ZTrans now is set for them as well.
(what makes importing from SketchUp really nice)
Peter Schlaile [Fri, 26 Jun 2009 19:40:28 +0000 (19:40 +0000)]
== Sequencer ==
Small fix by jms: rint() isn't available on win32...
(hmm, rint() is conforming to C99, that is _really_ strange...)
Peter Schlaile [Fri, 26 Jun 2009 15:09:39 +0000 (15:09 +0000)]
== Sequencer ==
Additional speed control fixes:
frame blending can now be done on more than two
frames, enabling really fine grained motion blur
if you speed up a sequence with high factors (bigger
than two).
Next step: add morphing support using motion
estimation.
Peter Schlaile [Fri, 26 Jun 2009 07:32:24 +0000 (07:32 +0000)]
== Sequencer ==
This fixes several issues with the Speed Control Effect:
* IPO curve-deletion resulted in non-working effect
* easy retiming only allowed enlarging of strips,
now shrinking is also possible (easy retiming:
use the right display handle of input strip and
shrink or enlarge, will make the speed of the
strip exactly fit the effect strip's length)
* frames after end-of-display of input strips can
now be accessed (which is necessary for fix #2)
=> just use easy retiming from now on, it's fun :)
Campbell Barton [Fri, 26 Jun 2009 02:49:47 +0000 (02:49 +0000)]
bugfix [#18949] bvh import does not do single rigid bodies
these BVH files are not that common but may as well support it.
Campbell Barton [Fri, 26 Jun 2009 02:22:53 +0000 (02:22 +0000)]
using the edge length to weight the vertex blue wasnt wokring very well (removed)
Ton Roosendaal [Thu, 25 Jun 2009 12:32:55 +0000 (12:32 +0000)]
Bugfix, testing venom's lab .blends
Using LightGroups override for material doesn't work for preview
renders. Code didn't correctly return correct light listbase then,
crashing Blender on preview render.
Campbell Barton [Thu, 25 Jun 2009 01:37:19 +0000 (01:37 +0000)]
Mathutils quat1 * quat2 was broken, returned quat1*quat1 instead.
Jens Ole Wund [Wed, 24 Jun 2009 23:42:45 +0000 (23:42 +0000)]
bug fix SoftBody module
vertex groups are not notified on deletion .. and other relevant changes ..
sneak in Mass and Spring Painting
Dalai Felinto [Sun, 21 Jun 2009 17:40:56 +0000 (17:40 +0000)]
BGE pyAPI update
(adding "when accessing it from the Game Engine use Mathutils instead of Blender.Mathutils" message in Blender pyAPI doc)
Peter Schlaile [Sun, 21 Jun 2009 17:00:18 +0000 (17:00 +0000)]
== AVI ==
Only open AVI files with at least one supported video track type.
(This is the real fix for DV-Type1-AVIs, since the FCC of iads, that
is used there, wasn't detected. But the code will happily open AVI-files
with only audio tracks... So the real fix is: only try to open things, that
contains something we know how to handle :) )
Peter Schlaile [Sun, 21 Jun 2009 12:02:40 +0000 (12:02 +0000)]
== Sequencer ==
Very, very last minute patch for Blender on Windows systems:
move blender's internal AVI reader the last try in the list of
codecs, when opening movie files.
Otherwise, it will fail on Movie Maker captured DV-AVI files.
(isavi() seems to mistreat these files as RAW/MJPEG AVI and fails
later on IMB_anim_absolute() )
Campbell Barton [Sat, 20 Jun 2009 05:16:09 +0000 (05:16 +0000)]
typo in logic buttons
Campbell Barton [Sat, 20 Jun 2009 04:03:13 +0000 (04:03 +0000)]
Mistake in FBX export broke importing on some apps (but not the ones I tested with. grr)
Reported by James Dolan on autodesks forum
http://area.autodesk.com/forum/autodesk-fbx/fbx-sdk/fbx-files-exported-from-blender-cause-assert/
Campbell Barton [Thu, 18 Jun 2009 18:23:22 +0000 (18:23 +0000)]
own copy/paste error, euler.wrapped would give a bad value
Ton Roosendaal [Thu, 18 Jun 2009 18:12:13 +0000 (18:12 +0000)]
Part two of svn release commit, last one!
Ton Roosendaal [Thu, 18 Jun 2009 18:11:51 +0000 (18:11 +0000)]
Part one of 2.49a release commit
Ton Roosendaal [Thu, 18 Jun 2009 17:00:47 +0000 (17:00 +0000)]
Bufix #18942
Composite "Map UV" node was using false UVs (0,0) from neighbouring
pixels when those pixels were not rendered (or have no UV).
This commit checks for each neighbour sample it takes if the UV was
correctly set. Solves bad errors on edges of UV maps. With FSA even
totally smooth. :)
Campbell Barton [Thu, 18 Jun 2009 16:01:47 +0000 (16:01 +0000)]
Attribute PolyDimensions GmbH for funding OBJ spline import/export.
Kent Mein [Thu, 18 Jun 2009 12:57:39 +0000 (12:57 +0000)]
coverity issue CID: 596
Checker: FORWARD_NULL (help)
File: base/src/source/blender/render/intern/source/texture.c
Function: do_lamp_tex
Description: Variable "dx" tracked as NULL was dereferenced.
Also found a typo the 3rd check was checking projx instead of projz
I also expanded the elses to set dyt as well as dxt.
Kent
Remigiusz Fiedler [Thu, 18 Jun 2009 10:34:16 +0000 (10:34 +0000)]
DXF-Exporter v1.35 - 2009.06.18 by migius
- missing support for multiple-instances of Curve-Objects as BLOCK/INSERTs
Remigiusz Fiedler [Wed, 17 Jun 2009 23:25:22 +0000 (23:25 +0000)]
DXF-Exporter: apply modifiers: reactivate temporary deactivated code
Dalai Felinto [Wed, 17 Jun 2009 21:18:32 +0000 (21:18 +0000)]
Fix for bug: [#18619] Shadow face flag ignores object's scale
In time for the 2.49a ahoy :)
Remigiusz Fiedler [Wed, 17 Jun 2009 14:06:55 +0000 (14:06 +0000)]
DXF-Exporter v1.35 - 2009.06.17 by migius
- added export Cameras (ortho and persp) to VPORTs, incl. clipping
- added export Cameras (ortho and persp) to VIEWs, incl. clipping
- export multiple-instances of Mesh-Objects as BLOCK/INSERTs
- on start prints dxfLibrary version
Campbell Barton [Wed, 17 Jun 2009 12:32:28 +0000 (12:32 +0000)]
fix for a bug reported by zapman on blenderartist.
De-activating a loop-end actuator didnt work (it kept looping).
Looked into this further and it turns out that the actuators run with both positive and negative events false, the sound actuator assumes because its not negative that its a positive event and plays the sound anyway.
Fix by checking that its a positive event before playing.
The size limit on the message actuator was 100 which broke some scripts, set to 16384 instead.
Remigiusz Fiedler [Wed, 17 Jun 2009 11:35:35 +0000 (11:35 +0000)]
DXF-Importer v1.12 - 2009.06.16 by migius
d7 fix for ignored BLOCKs (e.g. *X) which are members of other BLOCKs
Campbell Barton [Wed, 17 Jun 2009 09:42:04 +0000 (09:42 +0000)]
BGE PyAPI
while making a demo of using python to control bones found some more problems.
also added channelNames attribute to BL_ActionActuator to get a list of valid channels to use.
demo: http://www.graphicall.org/ftp/ideasman42/armature_python.blend
its still not that useful since theres not way to know rest bone locations yet but better then nothing.
Benoit Bolsee [Wed, 17 Jun 2009 08:36:37 +0000 (08:36 +0000)]
BGE #18823: Loading older blend files (from the blender Gamekit 1.0 demos) that use Sumo crash on playback in 2.48.5, worked in rc3. Fixed by upgrading Sumo to support the new method of sensor synchronization introduced with Sensor objects in Bullet. Sumo demo will not crash but may still not run well as other features and methods have not been ported.
Benoit Bolsee [Wed, 17 Jun 2009 06:54:35 +0000 (06:54 +0000)]
BGE bug #18931: YoFrankie bug in 249-trunk (works in 248).
Peter Schlaile [Tue, 16 Jun 2009 21:28:19 +0000 (21:28 +0000)]
== FFMPEG ==
This fixes:
[#18262] From FFMPEG/audio menu the PCM selection is missing
(thanks to Mika Saari (mikasaari) for the patch!)
Peter Schlaile [Tue, 16 Jun 2009 21:16:22 +0000 (21:16 +0000)]
== Sequencer ==
Fixed color balance tool. Problem was: we pretended to do Lift/Gamma/Gain,
but in reality we did (1-Offset)/Power/Slope. (slightly modified ASC CDL).
So now, the GUI is able to switch modes between ASC CDL-mode and real
Lift/Gamma/Gain.
It also adds a switch to enable Neutral Black/White flipping
(very usefull for black point selection)
This closes:
[#18078] bugfix #18010 Sequencer lift
Campbell Barton [Tue, 16 Jun 2009 18:25:48 +0000 (18:25 +0000)]
BGE Action Actuator setChannel() function was broken in a number of ways.
* extract_pose_from_pose only checked one of the list items for NULL when looping over them yet its possible they are different sizes.
* game_free_pose needed to be used rather then MEM_freeN, channels would never be freed leaking memory.
* setChannel() would make a new pose that wasnt aligned with the existing pose, the lists are assumed aligned so when extracting the channels its unlikely this was ever useful.
* Added getChannel() - returns pose loc/size/quat
* Added option args for setChannel(channel, matrix) or setChannel(channel, loc, size, quat)
Campbell Barton [Tue, 16 Jun 2009 15:44:08 +0000 (15:44 +0000)]
looks like a mistake. should check with the scene render size, not the current scenes.
Remigiusz Fiedler [Tue, 16 Jun 2009 10:43:43 +0000 (10:43 +0000)]
DXF-export update: dxfLibrary.py v1.33 - 2009.06.16
- fix _point(): converts all coords to floats
- fix LineType class: implement elements
- added VPORT class, incl. defaults
- fix Insert class
Campbell Barton [Tue, 16 Jun 2009 08:52:04 +0000 (08:52 +0000)]
KX_PythonSeq (used for a number of BGE sequence types)
* cont.actuators.get("key", default) # dict like get function
* if "key" in cont.sensors: ...
Updated docs
Added missing include to Particle.c
Campbell Barton [Tue, 16 Jun 2009 07:16:51 +0000 (07:16 +0000)]
BGE Py API
* Removed modules Expression and CValue, neither were ever available.
* Added GameLogic.EvalExpression(exp) from the Expression module, evaluates an expression like the expression controller (not sure if this is really that useful since python is far more advanced).
* resetting the original blend file path didint work (own fault == -> =)
* Py3.x PyModule_Create didnt allow importing since it didn't add to sys.modules,
Looks like they want us to use init-tab array, but this doesn't suit us since
it needs to be setup before python is initialized.
* Documented GameLogic.globalDict
Campbell Barton [Mon, 15 Jun 2009 20:22:50 +0000 (20:22 +0000)]
saving globalDict didnt work with python3.x
Brecht Van Lommel [Mon, 15 Jun 2009 12:18:17 +0000 (12:18 +0000)]
Bug #18920, clarification in tooltip of Mirror Vgroup option in
the mirror modifier.
Brecht Van Lommel [Mon, 15 Jun 2009 11:48:42 +0000 (11:48 +0000)]
Fix for bug #18924: OpenGL performance issue with particle modifiers,
actually two modifier datamask optimizations that were never done.
* Don't use modifier data mask for disabled modifiers.
* Check if UV data is needed for particle system instead of always
requesting it.
Peter Schlaile [Sun, 14 Jun 2009 20:52:43 +0000 (20:52 +0000)]
== Sequencer ==
Fixes an irritating but harmless error message when using custom proxy files.
Benoit Bolsee [Sun, 14 Jun 2009 20:01:12 +0000 (20:01 +0000)]
BGE bug #18869: Can't create Windows runtime.
Benoit Bolsee [Sun, 14 Jun 2009 19:59:59 +0000 (19:59 +0000)]
Update MSVC9 project files. Use pthreadVC2 instead of pthreadVSE2 to match scons (don't know why we were using VSE2 in the first place).
Peter Schlaile [Sun, 14 Jun 2009 18:54:35 +0000 (18:54 +0000)]
== Sequencer ==
Big proxy fix (addressing hopefully most complaints on mailing list and
in tracker)
* proxy render settings are now independent of render size settings.
That means: which proxy size is used, is controlled by two parameters
now: the proxy size of the files, can be controlled with additional
buttons within the proxy panels. What is shown in a specific preview
window depends on the header settings of the preview panel.
So: proxies are _only_ used in those windows, that are switched to a
specific proxy resolution.
* output rendering is always done _without_ proxies.
* proxy generation now shows a waitcursor with numbers.
(closing Bug: [#18909] Building Proxies doesn't give any feedback
which was rather a feature request, since the problem mentioned there
was always the case :) )
Peter Schlaile [Sun, 14 Jun 2009 10:59:54 +0000 (10:59 +0000)]
== Sequencer ==
This fixes:
* free_imbuf_seq() didn't free all scenes. That will lead to steady memory
growth in case of nested timelines with several scenes.
* sequencer panels were always jumping around, depending on strip type,
which was caused by choosing always the same panel position and the
silly limitation, that
* effect strips had no filter option, which was therefore added.
So you can apply color balance on effect filter output now :)
Campbell Barton [Sun, 14 Jun 2009 06:52:46 +0000 (06:52 +0000)]
typo in gpu_extensions.c, removed unused function
Campbell Barton [Sun, 14 Jun 2009 06:03:12 +0000 (06:03 +0000)]
changing the scale of a sleeping object wasnt working with bullet.
Example is a cube that lands on a plane, sleeps after some time, a script changes the scale.
It would still use the scale when the object first went to sleep.
reported on blenderartist.
http://blenderartists.org/forum/showthread.php?t=158617
Kent Mein [Sat, 13 Jun 2009 22:31:14 +0000 (22:31 +0000)]
coverity issue CID: 275
Checker: FORWARD_NULL (help)
File: base/src/source/blender/gpu/intern/gpu_extensions.c
Function: GPU_shader_create
Description: Variable "fragcode" tracked as NULL was passed to a function that dereferences it.
fix provided by Brecht. :)
Kent
Kent Mein [Sat, 13 Jun 2009 22:23:24 +0000 (22:23 +0000)]
coverity issue CID: 307
Checker: FORWARD_NULL (help)
File: base/src/source/blender/blenkernel/intern/modifier.c
Function: meshdeformModifier_deformVerts
Description: Variable "dm" tracked as NULL was passed to a function that dereferences it.
fix provided by Brecht.
Kent
Kent Mein [Sat, 13 Jun 2009 16:57:26 +0000 (16:57 +0000)]
coverity issue CID: 469
Checker: REVERSE_INULL (help)
File: base/src/source/blender/blenkernel/intern/BME_tools.c
Function: BME_split_face
Description: Pointer "example" dereferenced before NULL check
Check for null before we try to use it.
Kent
Kent Mein [Sat, 13 Jun 2009 16:52:01 +0000 (16:52 +0000)]
coverity issue CID: 401
Checker: NULL_RETURNS (help)
File: base/src/source/blender/imbuf/intern/radiance_hdr.c
Function: imb_loadhdr
Description: Incrementing possibly NULL value "ptr"
Make sure were not trying to index past our array.
Kent
Kent Mein [Sat, 13 Jun 2009 16:49:30 +0000 (16:49 +0000)]
coverity issue CID: 228
Checker: DEADCODE (help)
File: base/src/source/blender/gpu/intern/gpu_material.c
Function: GPU_materials_free
Description: Conditional "ma != 0"
was looping over wrong variable I'm guessing a cut and
paste error from above.
Kent
Kent Mein [Sat, 13 Jun 2009 15:54:39 +0000 (15:54 +0000)]
coverity issue CID: 44
Checker: FORWARD_NULL (help)
File: base/src/source/blender/render/intern/source/texture.c
Function: do_lamp_tex
Description: Variable "co" tracked as NULL was dereferenced.
co was set to NULL at the beginning of the function and it could
possibly slip through all the logic above so lets test it before
we use it blindly.
Kent
Robin Allen [Sat, 13 Jun 2009 14:22:40 +0000 (14:22 +0000)]
Omission of a texture node to specify coordinates was regarded as a bug by some users. I rather agree :)
Campbell Barton [Sat, 13 Jun 2009 13:02:01 +0000 (13:02 +0000)]
G.sipo was being passed in the BGE when it wasnt needed, just access G.sipo directly.
KX_PythonSeq.cpp - disable the cmpfunc with py3, need to have richcmp.
Campbell Barton [Sat, 13 Jun 2009 11:28:29 +0000 (11:28 +0000)]
allow building without SDL
Campbell Barton [Sat, 13 Jun 2009 09:33:55 +0000 (09:33 +0000)]
in some cases importing without materials could raise a python error.
surprising nobody found before.
reported by <chewed-on> who doesnt want his real name used for some reason.
Campbell Barton [Sat, 13 Jun 2009 04:31:30 +0000 (04:31 +0000)]
no need to use mathutils
Campbell Barton [Sat, 13 Jun 2009 03:54:27 +0000 (03:54 +0000)]
OBJ Import
* Wasn't setting the curve 3D option
* The nurbs object name could be None which caused an error, check its set.
OBJ Export
* Off by 1 error on closed nurbs was incorrect, broke other importers but worked with blender.
* Nurbs verts were not adding to the total vert count, scrambling meshes added after (somehow my first test case had all the curve objects last)
Kent Mein [Sat, 13 Jun 2009 03:08:58 +0000 (03:08 +0000)]
coverity issue CID: 523
Checker: UNINIT (help)
File: base/src/source/blender/blenlib/intern/freetypefont.c
Function: objchr_to_ftvfontdata
Description: Using uninitialized value "face" in call to function "freetypechar_to_vchar"
freetypechar_to_vchar expects face to be defined so we need to
return before then if we have a problem. Also it doesn't
make sense to not return FALSE if there is an error because we
didn't do anything.
Kent
Campbell Barton [Sat, 13 Jun 2009 03:05:20 +0000 (03:05 +0000)]
X90 Rotate option so you can export without rotation and import, keeping the same orientation.
Nathan Letwory [Fri, 12 Jun 2009 15:37:23 +0000 (15:37 +0000)]
=== SCons ===
* make the nsis installer script automatically use the Python version we build against
* bump Python version used
Campbell Barton [Fri, 12 Jun 2009 12:56:12 +0000 (12:56 +0000)]
use contains for ListValue and KX_GameObject types (has_key is deprecated by python)
eg.
if 'prop' in gameOb: ...
if 'GameOb' in sce.objects: ...
Campbell Barton [Fri, 12 Jun 2009 04:16:12 +0000 (04:16 +0000)]
OBJ import support for nurbs curves
Imports nurbs with orderU and endpointU (inferred from weights).
No support for vert-weights, surfaces, 2D curves or non-bspline's yet.
fix for exporting closed nurbs, was overlapping too much of the curve.
Peter Schlaile [Thu, 11 Jun 2009 22:21:00 +0000 (22:21 +0000)]
== Sequencer ==
This fixes:
[#18894] Scene iterfer with movie in sequencer
(the real use cases that also triggered that bug are fixed with the
previous commit)
Erwin Coumans [Thu, 11 Jun 2009 13:42:41 +0000 (13:42 +0000)]
Bugfix for [#18911] Applied torque breaks rigid bodies in game engine
Peter Schlaile [Thu, 11 Jun 2009 11:44:47 +0000 (11:44 +0000)]
== SEQUENCER ==
This fixes
* some issues with Scene strips containing audio by removing
the curpos pointer from sequence structure. (the same scene
strip can now be used in a row)
That also makes the code a lot cleaner.
* fixed a corner case on the beginning of a strip, where audio was
not mixed in, depending of current audio buffer state.
* Also: made some hardwired variables macros to enhance readability.
Problem remaining: mixing the same scene strip several times (read
put it into a stack instead of into a row) has
problems with HD-audio since the same HD-audio state structure is
used and therefore the system will seek permanently, which leads to
audio distortions...
Campbell Barton [Thu, 11 Jun 2009 10:46:13 +0000 (10:46 +0000)]
update from Aaron Keith, fixes normal flipping
Campbell Barton [Thu, 11 Jun 2009 10:26:53 +0000 (10:26 +0000)]
Sound actuator bug reported by zapman on blenderartist.
Negative events would play on an actuator if it hadn't played a sound yet.
Campbell Barton [Wed, 10 Jun 2009 19:33:59 +0000 (19:33 +0000)]
was printing all warnings twice
Campbell Barton [Wed, 10 Jun 2009 19:14:05 +0000 (19:14 +0000)]
Option to export curves as OBJ native curves (rather then a bunch of edges)
- nurbs and polyline (not bezier)
- closed / open curves
- OrderU works as expected
- Endpoint U works too.
Dalai Felinto [Tue, 9 Jun 2009 22:56:43 +0000 (22:56 +0000)]
fix for bug #18898: GE perspective 3D View not working properly (missing LENS)
note: I'm not changing GamePlayer files. There is no such a thing as 3D view camera in gameplayer (override_camera).
Brecht Van Lommel [Tue, 9 Jun 2009 18:50:02 +0000 (18:50 +0000)]
Fix for bug #18710: a crash with hair emitted from vertices.
Brecht Van Lommel [Tue, 9 Jun 2009 18:25:57 +0000 (18:25 +0000)]
Fix for bug #18860: particle hair strands missed first segment
when rendering as regular geometry (not strand render).
Campbell Barton [Tue, 9 Jun 2009 18:21:48 +0000 (18:21 +0000)]
Built in limitations for script scanning was making python fail on meta-androcto script pack.
If a total of 30 subdirs was hit, or 4 dirs deep was hit - script scanning would quit, skipping files in the root scripts path too.
To work around this the script pack included some of blenders scripts twice just so they would get into the menu but this is a dodgy workaround.
* dont stop scanning for scripts when limits are reached (just dont scan further).
* global 30 dir limit per scan is silly - removed.
* limit recursive depth is kept but keep scanning at lower depths.
* bumped recursive limit from 4 to 6
* flt_properties.py had #!BPY without a menu header.
Chris Want [Tue, 9 Jun 2009 18:08:45 +0000 (18:08 +0000)]
Use fputs instead of fprintf in mem_error_cb(). This silences the
gcc warning "format not a string literal and no format arguments".
Brecht Van Lommel [Tue, 9 Jun 2009 17:56:07 +0000 (17:56 +0000)]
Fix for bug #18855: in texture node editor, "Add New" for world
did not set texture in correct place and crashed without an active
object.