blender.git
11 years ago- Particle-particle effectors we're quite unstable and not accurate at all. Now this...
Janne Karhu [Tue, 23 Sep 2008 12:53:00 +0000 (12:53 +0000)]
- Particle-particle effectors we're quite unstable and not accurate at all. Now this should be fixed (especially with other integrators than euler) as the needed inter-frame effector particle positions are interpolated properly from the current and previous positions (previously only the most recent position was used).
- In practice this removes the dependency of particle simulations from the update order of objects and different particle systems inside objects.
- As a nice side effect out of this we also get fully correct birth positions for "near reactor particles" (previously for example smoke trail reactor particles were not born smoothly along the target particles path).

11 years ago"Fix" for [#17671] Particles spin out of control and pass through when hitting collis...
Janne Karhu [Tue, 23 Sep 2008 11:51:40 +0000 (11:51 +0000)]
"Fix" for [#17671] Particles spin out of control and pass through when hitting collision object
-The fix is that particle random size factor should never ever be bigger than 1.0, else negative sizes are possible! Don't know who to blame, but probably my self :)
-The second issue of passing through the deflection and rotating wildly around strange centers is not a bug, but for particles the group and object visualization objects have to be centered on the global origin. I'll probably make an option later to use the object center, but this is how things are for now.

11 years agochanging the number of subdivisions for nurbs curves.
Campbell Barton [Tue, 23 Sep 2008 06:26:48 +0000 (06:26 +0000)]
changing the number of subdivisions for nurbs curves.
this way each edge/segment gets the same number of points matching the resolution value.
before, a nurbs curve would have the same number of points no matter if it was cyclic or not.

This will make slight changes to objects on an animated path, but only noticable if the path has a low resolution.

bug [#11744] NurbCurve Radius incorrect - now dosnt show bad results with order 4 on non-cyclic curve.

11 years agobugfix for [#7006] Sleeping Objects losing Ghost Constraint
Erwin Coumans [Tue, 23 Sep 2008 05:00:00 +0000 (05:00 +0000)]
bugfix for [#7006] Sleeping Objects losing Ghost Constraint

Bullet logic bug in (de)activation/island management: deactivated 'fantom' objects do merge islands, in particular when connected by constraints. (fantom = object with collision detection but no collision response).

11 years agofix for [#13825] Lack of Flags in Face Mode Set
Campbell Barton [Tue, 23 Sep 2008 01:28:42 +0000 (01:28 +0000)]
fix for [#13825] Lack of Flags in Face Mode Set
undo was also not working.

11 years ago[#8540] Import scripts for MilkShape3D file formats
Campbell Barton [Tue, 23 Sep 2008 00:49:44 +0000 (00:49 +0000)]
[#8540] Import scripts for MilkShape3D file formats
from Markus Ilmola (glome)

note, UV's will be incorrect in some faces because of eekadoodle problem.

11 years agoMake GameLogic work for python autocomplete (after running the BGE once at least)
Campbell Barton [Tue, 23 Sep 2008 00:37:19 +0000 (00:37 +0000)]
Make GameLogic work for python autocomplete (after running the BGE once at least)
only clear newly added items from the gameLogic dictionary rather then the whole dictionary.

11 years agoBGE patch #17569 approved: Make FrameProp: work in Shape Action. PyDoc updated.
Benoit Bolsee [Mon, 22 Sep 2008 21:49:48 +0000 (21:49 +0000)]
BGE patch #17569 approved: Make FrameProp: work in Shape Action. PyDoc updated.

11 years agoFix for second part of bug #17506: issue with swapped uv coordinates
Brecht Van Lommel [Mon, 22 Sep 2008 21:22:16 +0000 (21:22 +0000)]
Fix for second part of bug #17506: issue with swapped uv coordinates
on creating multires in editmode, wasn't doing test_index_face for
the face data.

11 years agoFix file browser for Windows: going to the parent directory introduces ../\. Correct...
Benoit Bolsee [Mon, 22 Sep 2008 21:15:48 +0000 (21:15 +0000)]
Fix file browser for Windows: going to the parent directory introduces ../\. Correct parent is ..\  under Windows.

11 years agoFix for part of bug #17506: uv editing with multires is only
Brecht Van Lommel [Mon, 22 Sep 2008 20:26:28 +0000 (20:26 +0000)]
Fix for part of bug #17506: uv editing with multires is only
allowed at level 1, missed a case.

11 years agoBGE patch: KX_STATEx constant to allow simple state manipulation in setState()
Benoit Bolsee [Mon, 22 Sep 2008 19:54:30 +0000 (19:54 +0000)]
BGE patch: KX_STATEx constant to allow simple state manipulation in setState()

The constants KX_STATE1 to KX_STATE30 can be used
with setState() to change the object state in a
python controller. The constants are defined in the
GameLogic module so that the full name is
GameLogic.KX_STATE1 to GameLogic.KX_STATE30 but you
can simplify this with the import statement:

from GameLogic import *
cont = getCurrentController()
ob = cont.getOwner()
ob.setState(KX_STATE2) #go to state 2

KX_STATEx constants are defined as (1<<(x-1))
Binary operators |, &, ^ and ~ can be used to combine states:

You can activate more than one state at a time with the | operator:

ob.setState(KX_STATE1|KX_STATE2)  #activate state 1 and 2, stop all others

You can add a state to the current state mask with:

state = ob.getState()
ob.setState(state|KX_STATE3)      #activate state 3, keep others

You can substract a state to the current state mask with the & and operator:

state = ob.getState()
ob.setState(state&~KX_STATE2)     #stop state 2, keep others

You can invert a state with the ^ operator:

state = ob.getState()
ob.setState(state^KX_STATE2)     #invert state 2, keep others

11 years agoFix for bug #11163: strand render without tangent shading didn't
Brecht Van Lommel [Mon, 22 Sep 2008 19:37:30 +0000 (19:37 +0000)]
Fix for bug #11163: strand render without tangent shading didn't
give correct results.

11 years agoRevert full screen, maximized and minimized code (rev 16543).
Diego Borghetti [Mon, 22 Sep 2008 19:09:46 +0000 (19:09 +0000)]
Revert full screen, maximized and minimized code (rev 16543).

Revert this because don't work "fine" with dual-monitor.

The problem is not the code, this work fine, but full screen
for a window manager is not both monitor (until set xinerama or
whatever..).

11 years agoFurther fix for #8132, mac/nvidia driver issue drawing node previews,
Brecht Van Lommel [Mon, 22 Sep 2008 18:33:04 +0000 (18:33 +0000)]
Further fix for #8132, mac/nvidia driver issue drawing node previews,
zoom level was not correct.

11 years agoBGE patch #17483 approved: object actuator DRot reverted since Blender 246.
Benoit Bolsee [Mon, 22 Sep 2008 17:12:57 +0000 (17:12 +0000)]
BGE patch #17483 approved: object actuator DRot reverted since Blender 246.

11 years agoPatch #17665 by Vladimir Marek
Ton Roosendaal [Mon, 22 Sep 2008 15:59:50 +0000 (15:59 +0000)]
Patch #17665 by Vladimir Marek

Fixes for solaris compiling

11 years agoPatch #17666 by Vladimi<C2>r Marek
Ton Roosendaal [Mon, 22 Sep 2008 15:59:04 +0000 (15:59 +0000)]
Patch #17666 by Vladimi<C2>r Marek

Fixes for solaris compiling

11 years agoRealy time for 2.5!
Ton Roosendaal [Mon, 22 Sep 2008 15:38:17 +0000 (15:38 +0000)]
Realy time for 2.5!
Takes half an hour to find a nice empty spot for a button! Another attempt
to locate new shadow color swatch. Now back in shadow panel, bottom.

11 years agofix for [#15020] File browser: going back from the root of all directories introduces...
Campbell Barton [Mon, 22 Sep 2008 15:37:32 +0000 (15:37 +0000)]
fix for [#15020] File browser: going back from the root of all directories introduces "../" ad libitum + harcoded path?
bug was introduced when fixing BLI_cleanup_dir not to write to negative character indicies.
added a BLI_parent_dir(char *path)

11 years agoBugfix:
Ton Roosendaal [Mon, 22 Sep 2008 14:52:50 +0000 (14:52 +0000)]
Bugfix:

- Button for 'shadow color' was drawn over 'layer shadow' button...
  The shadow+spot panel was cramped... spot shadowbuffer uses all
  space. Moved it to the Lamp panel with label, more clear now.
  Panel reorg is for later :)
- Small fix: Area Lamp 'gamma' slider didn't update preview.
  Unfortunately had to move this slider to smaller button...

11 years agoBugfix #14428: Constraints lost when object made single user
Joshua Leung [Mon, 22 Sep 2008 13:01:51 +0000 (13:01 +0000)]
Bugfix #14428: Constraints lost when object made single user

When there was a setup where an object was linked to more than one scene at once, and in one of those scenes some of the objects in that scene were related to it, the objects related to it were not correctly relinked to the new copy.

This was due to the 2nd check for selected objects
if( (base->flag & flag)==flag)
meaning that only selected objects would get corrected.

11 years agoFluid: Remove SDL threads, also fixed the 'finished too early' problem reported once...
Daniel Genrich [Mon, 22 Sep 2008 12:31:27 +0000 (12:31 +0000)]
Fluid: Remove SDL threads, also fixed the 'finished too early' problem reported once in tracker

11 years agoBugfix #12835
Ton Roosendaal [Mon, 22 Sep 2008 12:18:07 +0000 (12:18 +0000)]
Bugfix #12835

Zbuffer error in render: when you render faces clipped by 'clip end' the
z values could wrap around, resulting in errors. Code not nicely clamps,
plus should be faster even!

11 years agoFixing missing function in elbeem
Daniel Genrich [Mon, 22 Sep 2008 10:58:50 +0000 (10:58 +0000)]
Fixing missing function in elbeem

11 years agoRemoving control define
Daniel Genrich [Mon, 22 Sep 2008 10:21:57 +0000 (10:21 +0000)]
Removing control define

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.