blender.git
10 years agofix typo in last commit fluidcontrol
Daniel Genrich [Mon, 22 Sep 2008 00:00:38 +0000 (00:00 +0000)]
fix typo in last commit

10 years agoThis should convert branch fluidcontrol files to trunk compatible ones
Daniel Genrich [Sun, 21 Sep 2008 23:50:36 +0000 (23:50 +0000)]
This should convert branch fluidcontrol files to trunk compatible ones

10 years agosvn merge -r 16593:16648 https://svn.blender.org/svnroot/bf-blender/trunk/blender
Daniel Genrich [Sun, 21 Sep 2008 13:03:39 +0000 (13:03 +0000)]
svn merge -r 16593:16648 https://svn.blender.org/svnroot/bf-blender/trunk/blender

10 years agoBugfix #17656
Ton Roosendaal [Sun, 21 Sep 2008 12:03:41 +0000 (12:03 +0000)]
Bugfix #17656

- Changed order for applying atmosphere, it does it now before alpha-adding
  sky, giving correct transparency
- Added correction for de-premulling and premulling scatter color

10 years ago#bugfix #17337
Ton Roosendaal [Sun, 21 Sep 2008 10:31:22 +0000 (10:31 +0000)]
#bugfix #17337

FSA didn't work for atmosphere option.

10 years agoAdded select grouped property (objects with shared property names will be selected)
Campbell Barton [Sun, 21 Sep 2008 10:12:33 +0000 (10:12 +0000)]
Added select grouped property (objects with shared property names will be selected)
(updated select group toolbox and header menu)

Added 2 copy property options - Replace All and Merge All, since there was no way to remove all properties, or set all objects game properties to be the same as the active objects.
Added set_ob_property(ob, prop) to property api.

bugfix in python api, copyAllPropertiesTo, it didnt check for duplicates or that it wasnt copying from/to the same object.

10 years agogame engine now compiles with SDL disabled. CDROM and Joystick wont function in this...
Campbell Barton [Sun, 21 Sep 2008 05:38:28 +0000 (05:38 +0000)]
game engine now compiles with SDL disabled. CDROM and Joystick wont function in this case

10 years agoset the visibility state based on the objects render option in the outliner.
Campbell Barton [Sun, 21 Sep 2008 04:39:40 +0000 (04:39 +0000)]
set the visibility state based on the objects render option in the outliner.
- saves adding UV's to faces just to set the invisibility option or having an logic bricks to set the visibility state.

10 years agoencountered some issue with the btDbvtBroadphase, switch of a deferred collision...
Erwin Coumans [Sun, 21 Sep 2008 01:13:54 +0000 (01:13 +0000)]
encountered some issue with the btDbvtBroadphase, switch of a deferred collision feature.

10 years agoattempt to support negative local scaling for convex hull, box,sphere, cylinder,...
Erwin Coumans [Sat, 20 Sep 2008 23:45:45 +0000 (23:45 +0000)]
attempt to support negative local scaling for convex hull, box,sphere, cylinder, cone and btScaledBvhTriangleMeshShape in Bullet.

10 years agofixed sphere-sphere collision: contact points were not properly removed/refreshed.
Erwin Coumans [Sat, 20 Sep 2008 22:34:54 +0000 (22:34 +0000)]
fixed sphere-sphere collision: contact points were not properly removed/refreshed.

10 years agoBGE bug fix: dupligroup scale not correctly applied to bullet shape.
Benoit Bolsee [Sat, 20 Sep 2008 22:19:59 +0000 (22:19 +0000)]
BGE bug fix: dupligroup scale not correctly applied to bullet shape.

10 years agoBGE patch: allow Bullet mesh shape sharing for objects copied with ALT-D.
Benoit Bolsee [Sat, 20 Sep 2008 21:33:54 +0000 (21:33 +0000)]
BGE patch: allow Bullet mesh shape sharing for objects copied with ALT-D.

10 years agoPatch #17631 by Early Ehlinger
Ton Roosendaal [Sat, 20 Sep 2008 14:43:59 +0000 (14:43 +0000)]
Patch #17631 by Early Ehlinger

His log:
One of the calls to PIL_dynlib_get_error_as_string was assuming that
it would return a valid string and not NULL (perhaps by converting
to std::string).
This patch simply changes it to always return a string, even when the
error is not recognized.

10 years agosimple changes for bez point selection. use as a flag incase other flags are stored...
Campbell Barton [Sat, 20 Sep 2008 13:21:10 +0000 (13:21 +0000)]
simple changes for bez point selection. use as a flag incase other flags are stored in bezt->f1,2,3

10 years agoPatch #8461, by Rob Hausauer
Ton Roosendaal [Sat, 20 Sep 2008 13:02:06 +0000 (13:02 +0000)]
Patch #8461, by Rob Hausauer

This unifies all usage of FTOCHAR, putting it in utildefines.h
Submitter did several interesting tests for speed, check it here:
http://projects.blender.org/tracker/?func=detail&atid=127&aid=8461&group_id=9

10 years agoPatch 17403, small gcc warning fixes.
Ton Roosendaal [Sat, 20 Sep 2008 12:28:01 +0000 (12:28 +0000)]
Patch 17403, small gcc warning fixes.

10 years agoPatch 17403, small gcc warning fixes.
Ton Roosendaal [Sat, 20 Sep 2008 12:26:18 +0000 (12:26 +0000)]
Patch 17403, small gcc warning fixes.

10 years ago16624 was incorrect. Blender wont always give the requested name for new datablocks...
Campbell Barton [Sat, 20 Sep 2008 11:54:27 +0000 (11:54 +0000)]
16624 was incorrect. Blender wont always give the requested name for new datablocks or for renaming. scripts need to account for this.

10 years ago[#17600] char* -> const char*
Campbell Barton [Sat, 20 Sep 2008 11:08:35 +0000 (11:08 +0000)]
[#17600] char* -> const char*
Thanks to Sean Bartell (wtachi), was causing many many warnings which distracted from the real problems.

10 years agoPyAPI - *.insertkey()
Joshua Leung [Sat, 20 Sep 2008 10:30:10 +0000 (10:30 +0000)]
PyAPI - *.insertkey()

Updated insertkey calls in PyAPI so that they behave like the new common_insertkey() behaviour.

10 years agoPython api access to obcolor
Campbell Barton [Sat, 20 Sep 2008 10:11:42 +0000 (10:11 +0000)]
Python api access to obcolor
Option to copy obcolor in the copy menu
Option to select same color in select grouped menu
console.py - mistake in last commit caused a python error

10 years agoPatch #17654: Fix for Scene.Get with input >20 chars
Joshua Leung [Sat, 20 Sep 2008 10:10:50 +0000 (10:10 +0000)]
Patch #17654: Fix for Scene.Get with input >20 chars
Patch by Darryl Pogue (paradox).

Blender cuts off datablock names at 20 chars, which causes issues if you're trying to access Scenes with a string longer
than 20 chars.

Ex.

s = 'GuildPub-Writers_GLOBAL'
Blender.Scene.New(s) #This creates the scene "GuildPub-Writers_GLOB"
Blender.Scene.Get(s) #This throws an error: the name and the string don't match

This patch cuts down the input of Scene.Get() to the 20 char limits, thus making the the above example return the correct
scene.

10 years agoBugfix #17652: "K" mode for controlling keys and drivers cause crashes
Joshua Leung [Sat, 20 Sep 2008 10:02:13 +0000 (10:02 +0000)]
Bugfix #17652: "K" mode for controlling keys and drivers cause crashes

When using a transform and there didn't exist an IPO-channel for that transform's focus (i.e. no rot curves when rotating) and "K" mode was active, there would be a crash due to missing checks for such situations.

10 years agoFix for gcc compiler warning about a call to do_lamp_tex() resulting in "overflow...
Joshua Leung [Sat, 20 Sep 2008 09:17:40 +0000 (09:17 +0000)]
Fix for gcc compiler warning about a call to do_lamp_tex() resulting in "overflow in implicit constant conversion"

10 years agoText.c
Campbell Barton [Sat, 20 Sep 2008 04:37:10 +0000 (04:37 +0000)]
Text.c
 - calling Text_reset within C/Api funcs didnt decref the Py_None Text_reset returned.
 - Text_delete wasnt checking if the input was an int.
 - a number of functions wernt checking if the text was removed.
console.py
 - added clear output
 - command history leaves empty command before wrapping
 - add imports as dummy user input so commands written to a text file will run.
 - faster writing of output to a textblock.

10 years ago== Outliner ==
Diego Borghetti [Fri, 19 Sep 2008 22:51:05 +0000 (22:51 +0000)]
== Outliner ==

Commit patch #8195

New outliner mode: Sequence, it's show all the sequence and strip that
we have in the outliner, split it for type (particle, sound and so on..).

Some notes to take care:
 * The strip can be selected with LMB
 * The sequence can be deleted with XKEY (all the selected)
 * The "Meta" are stored in a single tree (Meta Strip)
   with all the sequence.
 * Duplicate sequence (with the same name) are store in a single tree
   and you can select all the Sequence with LMB in the "root" entry.
 * Also show the directory path.

[ As Ton point in the tracker, still need more work (and options, Luca made
  a really good list in the tracker), so move to the trunk and start
  working here, probably a good topic for next meeting. ]

10 years agoSmall dependency debugging aid: now it also prints cycles for
Brecht Van Lommel [Fri, 19 Sep 2008 22:03:16 +0000 (22:03 +0000)]
Small dependency debugging aid: now it also prints cycles for
the object depsgrah instead of only armatures.

10 years ago== Render ==
Diego Borghetti [Fri, 19 Sep 2008 21:57:15 +0000 (21:57 +0000)]
== Render ==

Commit patch #7788, allow to set the render step, so it's
possible make render every N frames only.

The step is change in Scene buttons (F10), below start and
end frame buttons.

Also add a command line options (-j), so it's possible to
overwrite the file step (useful for renderfarm).

[ Brecht, this work with OpenGL renders and simulated
  the skipped frames, please double check ]

10 years agoFix for bug #16662: modifiers on lattices were ignored sometimes
Brecht Van Lommel [Fri, 19 Sep 2008 21:52:15 +0000 (21:52 +0000)]
Fix for bug #16662: modifiers on lattices were ignored sometimes
when rendering opengl previews, it unnecessarily cleared lattice
displists when it was really intended for shaded mode colors.

10 years agoLinux platforms
Ken Hughes [Fri, 19 Sep 2008 21:00:45 +0000 (21:00 +0000)]
Linux platforms
---------------
Patch to include freedesktop icons in linux release builds, contributed by
Ralf H√∂lzemer (cheleb).

10 years agoBGE patch: new 'Advanced Settings' button to keep special Bullet options away from...
Benoit Bolsee [Fri, 19 Sep 2008 20:41:38 +0000 (20:41 +0000)]
BGE patch: new 'Advanced Settings' button to keep special Bullet options away from main UI.

Three features that were on the main UI interface are now
moved to the Advanced Settings panel:
Margin, Actor (that becomes Sensor Actor) and No sleeping.

Sensor Actor is now a feature: it can be turned on and off
for all types of objects, and not just static objects.
Select the Sensor Actor button to make the object visible
to Near and Radar sensor.
The button is selected by default for dynamic objects
and unselected by default for static objects, to match
previous behavior.

10 years agoPatch #17348 by Roger Wickes
Ton Roosendaal [Fri, 19 Sep 2008 20:22:54 +0000 (20:22 +0000)]
Patch #17348 by Roger Wickes

Fix in Bake Constraints script, better naming for new object.

10 years ago== Python Space Handlers ==
Willian Padovani Germano [Fri, 19 Sep 2008 18:53:05 +0000 (18:53 +0000)]
== Python Space Handlers ==

Patch #9673: "Short patch to make spacehandler event scripts work more like normal python gui script handlers" by Steven Truppe:
http://projects.blender.org/tracker/?func=detail&atid=127&aid=9673&group_id=9

This patch adds the Blender.eventValue variable available for space handlers, holding the event value (aka 1 for button and key presses, X or Y coordinate for mousex / mousey movement). Thanks, Steven. PS: this doesn't break existing scripts.

10 years agoFix again for the NVidia driver bug. This time I'm just giving up
Brecht Van Lommel [Fri, 19 Sep 2008 16:09:26 +0000 (16:09 +0000)]
Fix again for the NVidia driver bug. This time I'm just giving up
using linking together the precompiled library shader code and
material code and recompiling it all again for each material even
if it gives a performance hit, since the previous workaround only
worked on some driver versions still.

10 years agoPatch #13422, By Roland Hess, Shadow Color
Ton Roosendaal [Fri, 19 Sep 2008 16:01:22 +0000 (16:01 +0000)]
Patch #13422, By Roland Hess, Shadow Color

Finally, after a long time new render candy for the non-game peoples! :)

Good doc is here: (url splits in two)
http://www.harkyman.com/2008/08/06/controllable-shadow-intensity-
and-color/

Note the colorpicker for shadow is in "Shadow and Spot" panel. A bit
hidden, could get more attention. For later. :)

10 years agoPatch #8213 by Shunichi Fuji
Ton Roosendaal [Fri, 19 Sep 2008 14:18:41 +0000 (14:18 +0000)]
Patch #8213 by Shunichi Fuji

Fixes crash with FT fonts in some cases, just removed unnused line of code.

10 years agoPyConstraints:
Joshua Leung [Fri, 19 Sep 2008 12:43:21 +0000 (12:43 +0000)]
PyConstraints:

Basic (non-python) target evaluation still occurs when scriptlinks are disabled.

10 years agoBugfix #17643: Action Editor buffer copy/paste not working
Joshua Leung [Fri, 19 Sep 2008 12:41:26 +0000 (12:41 +0000)]
Bugfix #17643: Action Editor buffer copy/paste not working

Removed superfluous check for destination IPO-block/IPO-curve which may not have existed. This meant that pasting keyframes into an "empty" Action Channel sometimes failed.

10 years ago== IPO Defines Cleanup ==
Joshua Leung [Fri, 19 Sep 2008 12:33:17 +0000 (12:33 +0000)]
== IPO Defines Cleanup ==

Just a bit of tidyup for IPO header-files.

Warning:
Moved IPO Curves + Drivers out of DNA_curve_types.h

10 years agoscons update, BF_NO_ELBEEM wasnt working, WITH_BF_SDL wasnt implimented, WITH_CCGSUBS...
Campbell Barton [Fri, 19 Sep 2008 01:39:34 +0000 (01:39 +0000)]
scons update, BF_NO_ELBEEM wasnt working, WITH_BF_SDL wasnt implimented, WITH_CCGSUBSURF isnt used anymore.

10 years ago== Python Script Links ==
Willian Padovani Germano [Thu, 18 Sep 2008 22:33:49 +0000 (22:33 +0000)]
== Python Script Links ==

Bug #17599:
Summary: Python constraints, good in 2.46 not working anymore in 2.47
http://projects.blender.org/tracker/?func=detail&atid=125&aid=17599&group_id=9

Improved my old hack to avoid frame changed scriptlinks from running when rendering stills, should fix this bug. It also causes REDRAW scriptlinks to be executed during renders, but that conforms to how FRAMECHANGED ones work.

BTW: this can still be improved. The current system meant to disable all Python functionality at once needs imo to be replaced by one that allows to enable / disable per feature (scriptlinks, pyconstraints, pynodes, etc.). A better way to inform scriptlinks about what is going on (render, anim, render anim, etc.) would also help. Will discuss with others.

10 years agofixing scons build. needed BoolOption in argument definition
Martin Poirier [Thu, 18 Sep 2008 21:18:53 +0000 (21:18 +0000)]
fixing scons build. needed BoolOption in argument definition

10 years ago[#7297] Fix knife visualization on MacMini Intel w/ Intel gfx
unclezeiv [Thu, 18 Sep 2008 20:37:11 +0000 (20:37 +0000)]
[#7297] Fix knife visualization on MacMini Intel w/ Intel gfx

10 years agoBGE patch: change constraint location actuator to work in local coordinates. It won...
Benoit Bolsee [Thu, 18 Sep 2008 19:28:28 +0000 (19:28 +0000)]
BGE patch: change constraint location actuator to work in local coordinates. It won't change anything for root objects but will be of some use for child objects.

10 years agoA typo in my fix for bug #11740 caused problems with at least grid distributed particles.
Janne Karhu [Thu, 18 Sep 2008 17:42:17 +0000 (17:42 +0000)]
A typo in my fix for bug #11740 caused problems with at least grid distributed particles.

10 years agoReactor particles were born with incorrect timing. Some changes made could effect...
Janne Karhu [Thu, 18 Sep 2008 17:19:40 +0000 (17:19 +0000)]
Reactor particles were born with incorrect timing. Some changes made could effect normal particles too, but after many tests I didn't notice any adverse effects. Be sure to poke me hard if there are some though :)

10 years agoThis file did not compile, but is also not part of the build target...
Ton Roosendaal [Thu, 18 Sep 2008 16:43:31 +0000 (16:43 +0000)]
This file did not compile, but is also not part of the build target...
Fixed neverheless, patch #6258 from Early Ehlinger

10 years agosvn merge -r 16454:16593 https://svn.blender.org/svnroot/bf-blender/trunk/blender
Daniel Genrich [Thu, 18 Sep 2008 14:59:44 +0000 (14:59 +0000)]
svn merge -r 16454:16593 https://svn.blender.org/svnroot/bf-blender/trunk/blender

10 years agoGrease Pencil - Stroke Sensitivity:
Joshua Leung [Thu, 18 Sep 2008 11:49:57 +0000 (11:49 +0000)]
Grease Pencil - Stroke Sensitivity:

Sensitivity to mouse movement when drawing can now be customised in the User Prefs, under 'Edit Methods'.

10 years agoscons options BF_CXX, WITH_BF_STATICCXX, BF_CXX_LIB_STATIC for static linking to...
Campbell Barton [Thu, 18 Sep 2008 03:05:02 +0000 (03:05 +0000)]
scons options BF_CXX, WITH_BF_STATICCXX, BF_CXX_LIB_STATIC for static linking to stdc++ because of problems running blender on some systems.

10 years agoHopefully fixes crash in particle system with effector enabled
Daniel Genrich [Thu, 18 Sep 2008 01:55:43 +0000 (01:55 +0000)]
Hopefully fixes crash in particle system with effector enabled

10 years agoFix for bug #3858: the game engine mouse focus sensor did not work
Brecht Van Lommel [Thu, 18 Sep 2008 01:46:28 +0000 (01:46 +0000)]
Fix for bug #3858: the game engine mouse focus sensor did not work
correct if there was more than one camera. It shoots rays from the
active camera, but used the viewport from whichever camera was drawn
last, now it uses the correct vieport.

10 years agoThis adds support for the new-ish options:
Matt Ebb [Thu, 18 Sep 2008 00:51:51 +0000 (00:51 +0000)]
This adds support for the new-ish options:
QUATERNION
B_BONE_REST
INVERT_VERTGROUP
MULTIMODIFIER

to the bpy armature modifier API.

It also fixes a significant problem - In the docs, it refers to
the 'VERTGROUP' field as being a string value, shared
by lattice, armature, etc, referring to the 'VGroup' field in the
armature modifier that defines a vertex group 'mask'
which the armature's effect is restricted to.

However, previously, for some very mistaken reason, in processing
the getters/setters for the armature modifier, the
VERTGROUP field was pointing to the quite different 'Vert. Groups'
toggle in the armature modifier, that enables or
disables using vertex groups for deformation (as opposed to
envelopes).

I've fixed this, so VERTGROUP points to the VGroup string, as is
already defined in the docs and consistent with other
modifiers like Lattice. A new field: 'VGROUPS' has been added,
which is the analog to the 'Vert Groups' toggle.

10 years agoneeded these changes to get bullet building with cmake and linking with scons
Campbell Barton [Thu, 18 Sep 2008 00:10:12 +0000 (00:10 +0000)]
needed these changes to get bullet building with cmake and linking with scons

10 years agoBGE bug #17578: repair linV actuator in Add+Local mode.
Benoit Bolsee [Wed, 17 Sep 2008 21:47:05 +0000 (21:47 +0000)]
BGE bug #17578: repair linV actuator in Add+Local mode.

10 years agoUpdate MSVC project file to include BulletSoftBody
Benoit Bolsee [Wed, 17 Sep 2008 21:14:48 +0000 (21:14 +0000)]
Update MSVC project file to include BulletSoftBody

10 years agoadded another missing file, btHashMap
Erwin Coumans [Wed, 17 Sep 2008 20:02:20 +0000 (20:02 +0000)]
added another missing file, btHashMap

10 years agoadded src/LinearMath/btConvexHull.cpp
Erwin Coumans [Wed, 17 Sep 2008 19:58:16 +0000 (19:58 +0000)]
added src/LinearMath/btConvexHull.cpp

10 years agoPlease add extern/bullet2/src/LinearMath/btConvexHull.cpp to your build system!
Erwin Coumans [Wed, 17 Sep 2008 19:47:26 +0000 (19:47 +0000)]
Please add extern/bullet2/src/LinearMath/btConvexHull.cpp to your build system!
Reverted back to original Bullet version.

10 years agoFix for [#17642] Particule Hair - Vertex Group lenght don't works without Children
Janne Karhu [Wed, 17 Sep 2008 19:29:44 +0000 (19:29 +0000)]
Fix for [#17642] Particule Hair - Vertex Group lenght don't works without Children
- This feature had been removed from the code! So this is how things work now:
For normal (non-child) hair particles the length vgroup is used if we're not in particle edit mode and if there are no child particles. So for example checking "Parents" in the visualization panel when children are in use will result in full length parent strands, this is a feature so that you can see how the parent's go to predict child behavior better, not a bug :)

10 years agoFix for [#17637] Children from "Faces" in Object without a face leads to crash
Janne Karhu [Wed, 17 Sep 2008 17:59:29 +0000 (17:59 +0000)]
Fix for [#17637] Children from "Faces" in Object without a face leads to crash
- a simple check for psys->child was missing

10 years agoBugfix #14412
Ton Roosendaal [Wed, 17 Sep 2008 17:47:59 +0000 (17:47 +0000)]
Bugfix #14412

Outliner option 'unlink group' didn't remove its members, in case the
group members were local in file, a confusing situation happened. Now
it removes members.

10 years agoFix for bug #17634: crash on automatically removing zero size window.
Brecht Van Lommel [Wed, 17 Sep 2008 16:59:52 +0000 (16:59 +0000)]
Fix for bug #17634: crash on automatically removing zero size window.

10 years agoAdded BulletSoftBody as target for Makefile installing of .h files
Ton Roosendaal [Wed, 17 Sep 2008 11:31:03 +0000 (11:31 +0000)]
Added BulletSoftBody as target for Makefile installing of .h files

10 years agorev 16569 broke building.
Campbell Barton [Wed, 17 Sep 2008 11:23:28 +0000 (11:23 +0000)]
rev 16569 broke building.
Looks like bullets Extras/ConvexDecomposition is missing from blenders source.
comment functions so it builds for now.

10 years ago* Some tweaks to the OBJ importer/exporter after chatting with Campbell
Matt Ebb [Wed, 17 Sep 2008 04:07:58 +0000 (04:07 +0000)]
* Some tweaks to the OBJ importer/exporter after chatting with Campbell
- renamed the 'morph target' option to 'keep vertex order'
- enabled 'keep vertex order' by default

This should improve usability for importing and exporting shape keys, point caches, mdds ,etc.

10 years agoDelete Keyframe Tool:
Joshua Leung [Wed, 17 Sep 2008 04:06:59 +0000 (04:06 +0000)]
Delete Keyframe Tool:

* Changed hotkey to Alt-I. As a result, Remove IK is now Ctrl-Alt-I, though that shouldn't affect many people at all as it appears that hardly anyone uses it.

* Added menu entries for Delete Keyframe

10 years agoTexture_getHFracDim was returning an int rather then a float (thanks zuegs for spotting)
Campbell Barton [Wed, 17 Sep 2008 03:13:15 +0000 (03:13 +0000)]
Texture_getHFracDim was returning an int rather then a float (thanks zuegs for spotting)
removed unused var

10 years agoApplied some fixes from Bullet: issues with btDbvtBroadphase, and btSoftBody, and...
Erwin Coumans [Wed, 17 Sep 2008 02:30:19 +0000 (02:30 +0000)]
Applied some fixes from Bullet: issues with btDbvtBroadphase, and btSoftBody, and better fix for 64-bit issue in btCompoundCollisionAlgorithm.

10 years agoPreparation for real-time soft bodies for the game engine, step 1 out of 3. This...
Erwin Coumans [Wed, 17 Sep 2008 01:49:47 +0000 (01:49 +0000)]
Preparation for real-time soft bodies for the game engine, step 1 out of 3. This should be harmless/non-intrusive.
Please make sure each build system include extern/bullet2/src/BulletSoftBody/* and extern/bullet2/src/LinearMath/btConvexHull.*

10 years agoFix for bug #4192: game engine armatures that are dynamically added
Brecht Van Lommel [Wed, 17 Sep 2008 01:29:54 +0000 (01:29 +0000)]
Fix for bug #4192: game engine armatures that are dynamically added
but don't have an action got the pose of already added armatures, even
though they're not related. This also fixes an issue where the armature
in Blender would end up in the pose from the game after ESC, removes
unneeded copies made during armature evaluation, and also solves the
constraint copying hack.

10 years agoBGE patch: bullet buttons UI change after discussion with Erwin: use a drop down...
Benoit Bolsee [Tue, 16 Sep 2008 22:52:42 +0000 (22:52 +0000)]
BGE patch: bullet buttons UI change after discussion with Erwin: use a drop down instead of a series of buttons. Introduction of soft body option.

10 years ago* make BulletSoftBody own small lib to make sure bullet libs don't grow too large...
Nathan Letwory [Tue, 16 Sep 2008 21:23:56 +0000 (21:23 +0000)]
* make BulletSoftBody own small lib to make sure bullet libs don't grow too large for our beloved scons/mingw users.

10 years agoFix for [#17561] when i try to change the particle to hair I cant choose group or...
Janne Karhu [Tue, 16 Sep 2008 21:16:32 +0000 (21:16 +0000)]
Fix for [#17561] when i try to change the particle to hair I cant choose group or object as viz.
-Partly reverted Genscher's previous fix on the issue and added the idea he had as a special case

10 years agoFix for bug #5413: game engine armature actions and shapes keys
Brecht Van Lommel [Tue, 16 Sep 2008 21:11:38 +0000 (21:11 +0000)]
Fix for bug #5413: game engine armature actions and shapes keys
didn't work correct with scene suspend/resume, now works the same
as IPO's.

10 years agoadd BulletSoftBody to SConscript and Makefile
Erwin Coumans [Tue, 16 Sep 2008 21:09:24 +0000 (21:09 +0000)]
add BulletSoftBody to SConscript and Makefile

10 years agoadd src/BulletSoftBody/* to cmake (other build systems also will need to do this...
Erwin Coumans [Tue, 16 Sep 2008 20:52:38 +0000 (20:52 +0000)]
add src/BulletSoftBody/* to cmake (other build systems also will need to do this soon)

10 years agoFix bug that broke editing vertices through python in the game engine.
Brecht Van Lommel [Tue, 16 Sep 2008 19:28:54 +0000 (19:28 +0000)]
Fix bug that broke editing vertices through python in the game engine.

10 years agoFix (harmless) error print about GameLogic.globalDict being lost. Also
Brecht Van Lommel [Tue, 16 Sep 2008 19:25:35 +0000 (19:25 +0000)]
Fix (harmless) error print about GameLogic.globalDict being lost. Also
fixed some memory leaks in this code and simplified it.

10 years ago== Transform Snap ==
Martin Poirier [Tue, 16 Sep 2008 19:10:58 +0000 (19:10 +0000)]
== Transform Snap ==

Tighten test for excluding objects as snap target.

Now exclude all object that are themselves moving (that includes childs of selected objects) as well as objects with moving geometry (like hooked meshes).

The previous situation would cause unfrequent bugs, but especially present in alignment cases (those concerned will understand).

10 years ago"Fix" for #17636 Crashing bug - won't open a file
Janne Karhu [Tue, 16 Sep 2008 18:40:54 +0000 (18:40 +0000)]
"Fix" for #17636 Crashing bug - won't open a file
- The cause was indeed corrupted particle settings which should have caused a deletion of the whole particle system. However the particle modifier was still left and that led to the crash.
- A "fix" because there's really no way of knowing what caused the corruption of the particle settings. If anyone else gets this and can recreate I'd love to get a .blend. Now that there shouldn't be a crash anymore the symptom will be a missing particle system after file load in an object that had a particle system before.

10 years agoAdded check for failing linking of a ID_PA block.
Ton Roosendaal [Tue, 16 Sep 2008 16:20:51 +0000 (16:20 +0000)]
Added check for failing linking of a ID_PA block.

10 years agoBugfix #17633
Ton Roosendaal [Tue, 16 Sep 2008 15:28:07 +0000 (15:28 +0000)]
Bugfix #17633

Tiny feature: "Flip normals" in editmode also recalculates vertex normals.

10 years agoBugfix #17630: objects are disappearing if you insert a layer key and then change...
Joshua Leung [Tue, 16 Sep 2008 06:55:15 +0000 (06:55 +0000)]
Bugfix #17630: objects are disappearing if you insert a layer key and then change time

Forgot to set type of data for inserting keyframes, so data was probably written as float or so.

10 years agoBugfix #17622: clicking on action IPO in outliner causes crash
Joshua Leung [Tue, 16 Sep 2008 06:33:59 +0000 (06:33 +0000)]
Bugfix #17622: clicking on action IPO in outliner causes crash

In some cases, no action channels existed, but yet the Outliner displayed some that, when clicked on, would cause a crash.

10 years agoadded static openal and openexr options for scons.
Campbell Barton [Tue, 16 Sep 2008 06:31:55 +0000 (06:31 +0000)]
added static openal and openexr options for scons.
also added a target 'blenderlite' - turns almost everything off, compressed binary is ~3.4meg

10 years agoBugfix #17627: Autokeyframe for Visual keying
Joshua Leung [Tue, 16 Sep 2008 06:11:02 +0000 (06:11 +0000)]
Bugfix #17627: Autokeyframe for Visual keying

Several months old typo! 'Visual keying' was not working for autokeyframing, as the test for it didn't even work.

10 years agoFix for bug #12028: background rendering on Mac OS X without
Brecht Van Lommel [Tue, 16 Sep 2008 02:58:33 +0000 (02:58 +0000)]
Fix for bug #12028: background rendering on Mac OS X without
a window manager did not work anymore since 2.46.

10 years agoFix for #17618 Particles: changing RGB sliders snap back
Janne Karhu [Mon, 15 Sep 2008 22:08:30 +0000 (22:08 +0000)]
Fix for #17618 Particles: changing RGB sliders snap back
-particle drawing was reading material ipos in a too invasive way

10 years agoBGE bug #17565 fixed: Constraint Actuator Location: GUI broken. Axis selection was...
Benoit Bolsee [Mon, 15 Sep 2008 21:37:27 +0000 (21:37 +0000)]
BGE bug #17565 fixed: Constraint Actuator Location: GUI broken. Axis selection was not persistent, now it is.

10 years agoBGE bug #17621 fixed: State Actuator GUI Flaw. State actuator didn't behave like...
Benoit Bolsee [Mon, 15 Sep 2008 21:10:51 +0000 (21:10 +0000)]
BGE bug #17621 fixed: State Actuator GUI Flaw. State actuator didn't behave like the object state mask. Now it works the same: LMB select one state, deselects all others, multiple select with SHIFT-LMB

10 years agoSmall fix in GHOST X11 system.
Diego Borghetti [Mon, 15 Sep 2008 18:23:34 +0000 (18:23 +0000)]
Small fix in GHOST X11 system.

* Fix and a little of cleanup to the full screen, minimzed and
  maximized code.

* Fix bad argument in the ClientMessage event to support the
  _NET_ACTIVE_WINDOW property.

* Fix focus problem in some WM (like TWM), this is because Blender
  don't set the WM_PROTOCOLS list, now it does, a very basic list
  but it's what we need now.

10 years agoWorkaround for an Nvidia driver bug on 32 bit linux (maybe windows too).
Brecht Van Lommel [Mon, 15 Sep 2008 18:15:11 +0000 (18:15 +0000)]
Workaround for an Nvidia driver bug on 32 bit linux (maybe windows too).
I reversed the order of attaching shader objects for linking to solve an
issue in the driver before, but now it appears it needs to be the other
way around again? I don't know if these are the same cards that now want
it different again due to changes in the glsl code, but I found another
workaround for the first bug in a forum post (leaving out parameter names
in the declarations), so with some luck both cases work?

http://developer.nvidia.com/forums/index.php?showtopic=596

10 years agoSmall tweak to get things compiling again.
Kent Mein [Mon, 15 Sep 2008 15:58:50 +0000 (15:58 +0000)]
Small tweak to get things compiling again.

Kent

10 years agoAdded -d debug option for blenderplayer, and remove some
Brecht Van Lommel [Mon, 15 Sep 2008 12:40:17 +0000 (12:40 +0000)]
Added -d debug option for blenderplayer, and remove some
invalid/unnecessary opengl calls on shader errors.

10 years agoFix glsl vertex shader string that was not 0 terminated, no idea
Brecht Van Lommel [Mon, 15 Sep 2008 11:39:49 +0000 (11:39 +0000)]
Fix glsl vertex shader string that was not 0 terminated, no idea
if it caused any problems.

10 years agocopy menu didnt copy visible and initial states, physics margin was also missing...
Campbell Barton [Mon, 15 Sep 2008 09:24:54 +0000 (09:24 +0000)]
copy menu didnt copy visible and initial states, physics margin was also missing from "all physical attributes" option

10 years agotooltip improvements from dfelinto, some minor edits
Campbell Barton [Mon, 15 Sep 2008 09:08:36 +0000 (09:08 +0000)]
tooltip improvements from dfelinto, some minor edits

10 years agoDelete Key Tool - Bugfixes:
Joshua Leung [Mon, 15 Sep 2008 04:15:37 +0000 (04:15 +0000)]
Delete Key Tool - Bugfixes:

* Available option would crash
* 'Visual' options are now not available for this tool (are not relevant)