blender.git
11 years ago[#17388] snap view to main views while rotating from Roelf De Kock (kiemdoder)
Campbell Barton [Mon, 22 Sep 2008 10:00:31 +0000 (10:00 +0000)]
[#17388] snap view to main views while rotating from Roelf De Kock (kiemdoder)
hold down ctrl when rotating the viewport

11 years agoAdded three XYZ color space options in code, will be activated later.
Ton Roosendaal [Mon, 22 Sep 2008 09:09:03 +0000 (09:09 +0000)]
Added three XYZ color space options in code, will be activated later.
Thanks matt for the typing work :)

11 years agoBugfix: for sunsky preview I added another camera, accidentally changed clip
Ton Roosendaal [Mon, 22 Sep 2008 07:52:08 +0000 (07:52 +0000)]
Bugfix: for sunsky preview I added another camera, accidentally changed clip
and lens value for other cameras.

11 years agocopy object properties was crashing because of my recent changes. need to NULL listba...
Campbell Barton [Mon, 22 Sep 2008 07:17:39 +0000 (07:17 +0000)]
copy object properties was crashing because of my recent changes. need to NULL listbase first.
changed visibility actuator menu to 3 toggle buttons and added tooltip note about outliner render restriction being used for visibility.

11 years agoBugfix - Long Keyframes:
Joshua Leung [Mon, 22 Sep 2008 04:30:21 +0000 (04:30 +0000)]
Bugfix - Long Keyframes:

In a A___B|---|B situation created by duplicating the B keyframe, the long keyframe between the 'B' keyframes was not showing up until the A keyframe was already duplicated. Reverting the 'optimisation' applied there (i.e. searching from last block, as that's where most blocks would be added)

Also removed some unused lines from gpencil.c

11 years agoKX_PythonInit.cpp - workaround for current sandbox and possible fix. no real change...
Campbell Barton [Mon, 22 Sep 2008 04:18:17 +0000 (04:18 +0000)]
KX_PythonInit.cpp - workaround for current sandbox and possible fix. no real change for now but others may want to look into it.
blendef.h - removed some unused defines.
editipo_mods.c - deselect all was selecting instead.

11 years agoMake msvc happy (reported by broken)
Daniel Genrich [Mon, 22 Sep 2008 00:32:07 +0000 (00:32 +0000)]
Make msvc happy (reported by broken)

11 years agoBugfix where copy-protection of several modifiers like collision, softbody and partic...
Daniel Genrich [Sun, 21 Sep 2008 22:47:50 +0000 (22:47 +0000)]
Bugfix where copy-protection of several modifiers like collision, softbody and particleInstance could be bypassed by using ctrl-c + 'copy all' option.

11 years agoUpdate MSVC project files
Benoit Bolsee [Sun, 21 Sep 2008 21:41:27 +0000 (21:41 +0000)]
Update MSVC project files

11 years agoFixing little bug allowing neegative attraction forces again
Daniel Genrich [Sun, 21 Sep 2008 21:24:46 +0000 (21:24 +0000)]
Fixing little bug allowing neegative attraction forces again

11 years agoPatch for rearranging fluid GUI provided by artist nudelZ
Daniel Genrich [Sun, 21 Sep 2008 21:02:41 +0000 (21:02 +0000)]
Patch for rearranging fluid GUI provided by artist nudelZ

11 years ago[#17662] Blender runs the older version a python script when reloading it from disk
Martin Poirier [Sun, 21 Sep 2008 20:39:19 +0000 (20:39 +0000)]
[#17662] Blender runs the older version a python script when reloading it from disk

Missing free compiled.

11 years agoRespect compile flags if elbeem is disabled, fix compiling for that case
Daniel Genrich [Sun, 21 Sep 2008 18:36:25 +0000 (18:36 +0000)]
Respect compile flags if elbeem is disabled, fix compiling for that case

11 years agoMerging fluidcontrol to trunk from rev16649 fluidcontrol branch. Code provided by...
Daniel Genrich [Sun, 21 Sep 2008 18:20:02 +0000 (18:20 +0000)]
Merging fluidcontrol to trunk from rev16649 fluidcontrol branch. Code provided by Nils Thuerey.

11 years agoSunsky / Atmoshphere:
Ton Roosendaal [Sun, 21 Sep 2008 16:04:33 +0000 (16:04 +0000)]
Sunsky / Atmoshphere:

- Added blending mode and factor option, so it's more clear and
  controllable what happens with it. Also nice for crazy effects
  of course!
- Preview render now shows preview for it too

On the todos:

- have this in World buttons (as well) for quicker sky setups
- review math of color clamping and scaling, this is definitely
  not good... but a fix will make old files look very different.

11 years agoBGE real-time soft bodies, step 2 / 3: create a btSoftBody. Next step is hooking...
Erwin Coumans [Sun, 21 Sep 2008 15:17:50 +0000 (15:17 +0000)]
BGE real-time soft bodies, step 2 / 3: create a btSoftBody. Next step is hooking up / deform graphics mesh and choose collision shape.
Note: feature is still disabled.

11 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

11 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

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

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

11 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

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

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

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

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

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

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

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

11 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

11 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

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

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

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

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

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

11 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

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

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

11 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"

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

11 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. ]

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

11 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 ]

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

11 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).

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

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

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

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

11 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. :)

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

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

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

11 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

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

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

11 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

11 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

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

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

11 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 :)

11 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

11 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

11 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'.

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

11 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

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

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

11 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

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

11 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

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

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

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

11 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 :)

11 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

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

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

11 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

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

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

11 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

11 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

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

11 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.*

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

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

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

11 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

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

11 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

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

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

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

11 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).

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

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

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

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

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