blender-staging.git
10 years agoFix #21008: text editor scrollbar overlapping text, code here was not
Brecht Van Lommel [Sun, 7 Feb 2010 13:49:43 +0000 (13:49 +0000)]
Fix #21008: text editor scrollbar overlapping text, code here was not
fully updated when the scrollbar was moved from left the right.

10 years agoFix #20887: multires sculpt normals not updated correct in solid
Brecht Van Lommel [Sun, 7 Feb 2010 13:22:46 +0000 (13:22 +0000)]
Fix #20887: multires sculpt normals not updated correct in solid
textured draw mode.

10 years agoFix #20398: smooth brush + multires could still give problems at inner
Brecht Van Lommel [Sun, 7 Feb 2010 13:07:12 +0000 (13:07 +0000)]
Fix #20398: smooth brush + multires could still give problems at inner
face edges.

10 years agomat/lamp/world.textures -> texture_slots
Campbell Barton [Sun, 7 Feb 2010 12:51:47 +0000 (12:51 +0000)]
mat/lamp/world.textures -> texture_slots
object.materials -> material_slots

since neither contain textures or materials directly.

10 years agogroup objects were used uninitialized. (copy paste error?)
Campbell Barton [Sun, 7 Feb 2010 12:30:55 +0000 (12:30 +0000)]
group objects were used uninitialized. (copy paste error?)

10 years agoPatch/Bugfix #20997: Recent commit to object_randomize_transform.py by Cam added...
Joshua Leung [Sun, 7 Feb 2010 11:53:00 +0000 (11:53 +0000)]
Patch/Bugfix #20997: Recent commit to object_randomize_transform.py by Cam added some garbage to a variable name making the script fail

Patch by Daniel Salazar (ZanQdo)

10 years agoDopeSheet and Graph Editors: Select More/Less Operators
Joshua Leung [Sun, 7 Feb 2010 11:50:03 +0000 (11:50 +0000)]
DopeSheet and Graph Editors: Select More/Less Operators

This commit introduces the Select More/Less Operators (Ctrl +/-) for keyframes. This works like the ones for curves, by only selecting/deselecting keyframes lying in the same F-Curve. Inter F-Curve selection is not done by this operator. That is the job for another one.

This is especially useful for F-Curves set in the 0-1-0 pattern (i.e. 3 keyframes forming localised peaks), where the peaks can be selected by clicking on them individually, and immediately surrounding '0' values are selected too using "Select More".

10 years agoFix #20147: AO + onlyshadow wasn't being done right, also updated this
Brecht Van Lommel [Sun, 7 Feb 2010 11:17:19 +0000 (11:17 +0000)]
Fix #20147: AO + onlyshadow wasn't being done right, also updated this
code to work with new ao/env separation.

10 years agoFix #20488: fields render was crashing.
Brecht Van Lommel [Sun, 7 Feb 2010 10:42:45 +0000 (10:42 +0000)]
Fix #20488: fields render was crashing.

10 years agoFix #21006: ring select in face mode does loop select again, on second
Brecht Van Lommel [Sun, 7 Feb 2010 10:30:28 +0000 (10:30 +0000)]
Fix #21006: ring select in face mode does loop select again, on second
thought, it makes sense since it's basically the same with flushed
selection to faces.

10 years agoFix #20928: difference boolean modifier is not applied during rendering,
Brecht Van Lommel [Sun, 7 Feb 2010 10:16:42 +0000 (10:16 +0000)]
Fix #20928: difference boolean modifier is not applied during rendering,
fixed by last depsgraph commit and this extra check to avoid unnecessary
free of derivedmesh for sculpt/multires.

10 years agoOutliner:
Thomas Dinges [Sun, 7 Feb 2010 10:04:18 +0000 (10:04 +0000)]
Outliner:
Modifier Icons for Smoke and Solidify were missing.

10 years agoDepsgraph: fix for old problem where dependencies would not get executed
Brecht Van Lommel [Sun, 7 Feb 2010 10:00:27 +0000 (10:00 +0000)]
Depsgraph: fix for old problem where dependencies would not get executed
properly on file loading. Some things get preserved on file save/load,
like object matrices and armature poses, but other things need to be remade
like derivedmeshes and displists. The latter were not tagged for recalc on
load causing them to be made on countall or redraw typically, so not in the
right order and dependencies on hidden layer were not done at all.

Now these get tagged for recalc and flags flushed on load. There shouldn't
be much if any slowdown on opening existing files, if there is it should be
fixable.

10 years agoFix for stamp marker name lookup, was returning wrong incorrect pointer.
Brecht Van Lommel [Sun, 7 Feb 2010 09:52:43 +0000 (09:52 +0000)]
Fix for stamp marker name lookup, was returning wrong incorrect pointer.

10 years agoFixed display of IK DOF limits for bones. The old rotations were using M_PI/360 inste...
Joshua Leung [Sun, 7 Feb 2010 04:38:45 +0000 (04:38 +0000)]
Fixed display of IK DOF limits for bones. The old rotations were using M_PI/360 instead of M_PI/180 in many places, which I overlooked when porting this over to using radians only.

10 years agoPatch + Bugfix #20999: Node Header icons drawn wrong
Joshua Leung [Sun, 7 Feb 2010 02:54:41 +0000 (02:54 +0000)]
Patch + Bugfix #20999: Node Header icons drawn wrong

Thanks to Thomas Raab (fando) for this patch.

This patch fixes the arrow showing whether nodes are expanded or not, and includes a fix for the other icons getting scaled twice.

10 years agoFix jumping panels when opening a new properties area or area containing
Brecht Van Lommel [Sun, 7 Feb 2010 01:11:02 +0000 (01:11 +0000)]
Fix jumping panels when opening a new properties area or area containing
a region with panels (e.g. file browser).

10 years agoFix #21000: normal size button increment too small to see, also fixed
Brecht Van Lommel [Sun, 7 Feb 2010 01:09:12 +0000 (01:09 +0000)]
Fix #21000: normal size button increment too small to see, also fixed
increment for lamp energy.

10 years agoFix #20220: edge ring select confusing
Brecht Van Lommel [Sun, 7 Feb 2010 01:01:32 +0000 (01:01 +0000)]
Fix #20220: edge ring select confusing

* no longer a modal operator now, that was useful when it was part of
  the loopcut macro but is no longer the case, and should have not
  affected regular edge ring selection.
* don't fall through to loop select in face mode, that is bad 2.4
  behavior, just use alt+rmb if you want to loop select.
* fix error number of cuts error print, missing select mode flush, and
  use more accurate notifier.

10 years agoFix #20922: image window draw z-buffer wasn't drawing the z-buffer
Brecht Van Lommel [Sun, 7 Feb 2010 00:28:49 +0000 (00:28 +0000)]
Fix #20922: image window draw z-buffer wasn't drawing the z-buffer
from the select render layer.

10 years agoFix #20350: particles are offset from emittor in dupli-objects.
Brecht Van Lommel [Sat, 6 Feb 2010 20:59:09 +0000 (20:59 +0000)]
Fix #20350: particles are offset from emittor in dupli-objects.

10 years agoFix compiling when GameEngine is disabled.
Joshua Leung [Sat, 6 Feb 2010 20:59:08 +0000 (20:59 +0000)]
Fix compiling when GameEngine is disabled.

10 years agoFix #20452: motion blur buttons were missing. Motion blur samples
Brecht Van Lommel [Sat, 6 Feb 2010 20:25:17 +0000 (20:25 +0000)]
Fix #20452: motion blur buttons were missing. Motion blur samples
are now also decoupled from antialiasing samples. Implemented by
Matt, I'm just committing the patch.

10 years agoFix game engine crashing with subsurf modifier, only allow caching
Brecht Van Lommel [Sat, 6 Feb 2010 18:21:33 +0000 (18:21 +0000)]
Fix game engine crashing with subsurf modifier, only allow caching
of CCGSubsurf when computing ob/em->derivedFinal.

10 years agoGame engine: show popup with error rather than printing in console when
Brecht Van Lommel [Sat, 6 Feb 2010 17:38:23 +0000 (17:38 +0000)]
Game engine: show popup with error rather than printing in console when
trying to start game engine disabled in build.

10 years agoFix part of #20468: material changes when switch to sculpt mode.
Brecht Van Lommel [Sat, 6 Feb 2010 17:04:13 +0000 (17:04 +0000)]
Fix part of #20468: material changes when switch to sculpt mode.

10 years ago[#20994] seem that -F flags is not honored any more on linux ubuntu 9.10
Martin Poirier [Sat, 6 Feb 2010 16:39:44 +0000 (16:39 +0000)]
[#20994] seem that -F flags is not honored any more on linux ubuntu 9.10

Case Insensitive flag was reversed, making -F act like -f.

10 years agoWrong text for missing format with -F
Martin Poirier [Sat, 6 Feb 2010 16:38:53 +0000 (16:38 +0000)]
Wrong text for missing format with -F

10 years agoFix #20953: vertex and weight paint mode still had 500k verts limit.
Brecht Van Lommel [Sat, 6 Feb 2010 15:50:53 +0000 (15:50 +0000)]
Fix #20953: vertex and weight paint mode still had 500k verts limit.

10 years agoFix #20951: move to layer popup hotkeys shift 1..9 were not working correct.
Brecht Van Lommel [Sat, 6 Feb 2010 15:29:18 +0000 (15:29 +0000)]
Fix #20951: move to layer popup hotkeys shift 1..9 were not working correct.

10 years agobugfix [#20990] maker name don't show in render stamp
Campbell Barton [Sat, 6 Feb 2010 14:56:25 +0000 (14:56 +0000)]
bugfix [#20990] maker name don't show in render stamp

10 years agobugfix [#20989] DupliVert of DupliGroup crash
Campbell Barton [Sat, 6 Feb 2010 14:32:50 +0000 (14:32 +0000)]
bugfix [#20989] DupliVert of DupliGroup crash

10 years agocommit from joe 26206, removed timer from zoom. this is needed for continuous zoom.
Campbell Barton [Sat, 6 Feb 2010 12:44:37 +0000 (12:44 +0000)]
commit from joe 26206, removed timer from zoom. this is needed for continuous zoom.

10 years agoConstraints Loading:
Joshua Leung [Sat, 6 Feb 2010 11:50:39 +0000 (11:50 +0000)]
Constraints Loading:

Refactored the constraints reading code to take advantage of the new ID loopers. Now, adding a new constraint type will not require much effort with the file loading code, unless the constraint uses any special direct data which needs to be handled differently.

10 years agoConstraints API: ID-Loopers
Joshua Leung [Sat, 6 Feb 2010 11:28:22 +0000 (11:28 +0000)]
Constraints API: ID-Loopers

Added a system for running a callback on all the ID-blocks referenced by constraints (like for modifiers). Also, added an API function which calls these on the constraints present in the given list.

These could be used for:
- the proxies + action/pyconstraint fix that campbell committed
- simplification of file loading code

10 years agoMSVC compile fix
Andrea Weikert [Sat, 6 Feb 2010 10:50:34 +0000 (10:50 +0000)]
MSVC compile fix
* needed to add _USE_MATH_DEFINES to make M_PI known

10 years agoBGE: rna update for Logic Bricks
Dalai Felinto [Sat, 6 Feb 2010 06:21:42 +0000 (06:21 +0000)]
BGE: rna update for Logic Bricks

New Actuators done:
* SCENE
* RANDOM
* MESSAGE
* GAME
* VISIBILITY
* TWODFILTER
* PARENT

Actuators to be done:
* OBJECT (aka MOTION)
* SOUND
* PROPERTY
* CONSTRAINT
* EDIT_OBJECT
* ACTION
* SHAPE_ACTION
* STATE
* ARMATURE

Actuators done already:
* IPO
* CAMERA

once again: feedback is appreciated.

10 years agoBGE: rna update for Logic Bricks
Dalai Felinto [Fri, 5 Feb 2010 23:50:33 +0000 (23:50 +0000)]
BGE: rna update for Logic Bricks

Sensor and Controllers: small fixes and suggestion (comments) for future improvement - mainly to replace text properties to material, text or object datablocks.

Actuators done:
* IPO
* CAMERA

Actuators to be done:
All the others (their structure is in the file)

Adding NC_LOGIC

** If someone want to help on that:
Files used for actuator RNA:
- logic_window.c
- DNA_actuator_types.h

*** my first big RNA operation. critics/suggestions are welcome

**** padded some DNA variables that were not been used.

10 years agoBugfix #20971: IK Joints Inexplicably Stiff In Recent Blender 2.5 Builds
Joshua Leung [Fri, 5 Feb 2010 22:03:19 +0000 (22:03 +0000)]
Bugfix #20971: IK Joints Inexplicably Stiff In Recent Blender 2.5 Builds

- IK-Solver interfaces were still converting units from degrees to radians. Made these all use radians now.

- Tried to fix the DOF limits drawing. This is still not totally functional again yet, but at least there are visible lines now.

10 years agoDisabled ability to animate FPS setting, since this was producing weird and crazy...
Joshua Leung [Fri, 5 Feb 2010 21:23:07 +0000 (21:23 +0000)]
Disabled ability to animate FPS setting, since this was producing weird and crazy effects for when viewing timecodes.

See http://www.pasteall.org/blend/1769 and switch to timecode displays in the timeline (Ctrl T) to see the effects of this (in an old build).

10 years agoMerge -c 26630 from COLLADA branch into trunk.
Arystanbek Dyussenov [Fri, 5 Feb 2010 18:39:04 +0000 (18:39 +0000)]
Merge -c 26630 from COLLADA branch into trunk.

10 years agochanges to 'view selected' operator.
Campbell Barton [Fri, 5 Feb 2010 15:55:45 +0000 (15:55 +0000)]
changes to 'view selected' operator.
- near clipping is not used to clamp minimum zoom level in ortho mode.
- view selected applied to a single point (no bound-box volume) just moves the view rather then zooming in.

for sintels face view selected didnt work well for eg: selecting a face at the mouth and zooming in.

10 years agopatch [#20910] Support for exporting UV layouts to EPS files
Campbell Barton [Fri, 5 Feb 2010 15:20:12 +0000 (15:20 +0000)]
patch [#20910] Support for exporting UV layouts to EPS files
also improved this so visible UVs are exported unless 'All UVs' is enabled, taking into account local-view and mesh face selection.

10 years agoactive face was incorrectly set on entering editmode.
Campbell Barton [Fri, 5 Feb 2010 15:07:44 +0000 (15:07 +0000)]
active face was incorrectly set on entering editmode.

10 years agoadd menus for vertex group and shape key panels, functionality wasnt communicated...
Campbell Barton [Fri, 5 Feb 2010 14:29:05 +0000 (14:29 +0000)]
add menus for vertex group and shape key panels, functionality wasnt communicated well with icons and getting cluttered.
also made 'transfer shape' script copy into the active object to match 'join as shape', which was quite confusing before.

10 years agoVBO's face index was incorrect, didnt see this break anything but was giving the...
Campbell Barton [Fri, 5 Feb 2010 13:40:43 +0000 (13:40 +0000)]
VBO's face index was incorrect, didnt see this break anything but was giving the triangulated index (always wrong for quads).

10 years ago[#20462] Weight painting subsurf mesh doesn't work with VBO
Campbell Barton [Fri, 5 Feb 2010 13:38:41 +0000 (13:38 +0000)]
[#20462] Weight painting subsurf mesh doesn't work with VBO
- backbuf colors were ignored with VBO's, disable since to make this work with VBO's it would need to re-bind a color array, then restore the previous one after.

10 years agoBugfix for "Show Only Selected" option and Bones (in Animation Editors):
Joshua Leung [Fri, 5 Feb 2010 11:52:51 +0000 (11:52 +0000)]
Bugfix for "Show Only Selected" option and Bones (in Animation Editors):

If you have some bones selected, and then hide their layer, they would stay selected + visible even when you make another selection. Now, they are hidden and are no longer visible when they aren't on visible layers.

Currently, this is only done if the channels are being filtered by visibility, but this could easily be changed to do without this check. Will see how this goes after some production testing. :)

10 years agoArmature Drawing - Active Bone:
Joshua Leung [Fri, 5 Feb 2010 11:39:58 +0000 (11:39 +0000)]
Armature Drawing - Active Bone:

Active bones are now only highlighted if they are also selected. This reduces confusion over when something will get moved/edited.

10 years agobugfix for proxying linked objects & action constraints, reference to linked actions...
Campbell Barton [Fri, 5 Feb 2010 11:32:27 +0000 (11:32 +0000)]
bugfix for proxying linked objects & action constraints, reference to linked actions were being lost.

10 years agobugfix [#20936] Making lasso-selection of verts in weightpaint-mode "misses target"
Campbell Barton [Fri, 5 Feb 2010 10:17:43 +0000 (10:17 +0000)]
bugfix [#20936] Making lasso-selection of verts in weightpaint-mode "misses target"
xray objects can overwrite the view's obmat.

10 years agoFly Mode Bugfix: Animation recording works again
Joshua Leung [Fri, 5 Feb 2010 08:14:33 +0000 (08:14 +0000)]
Fly Mode Bugfix: Animation recording works again

10 years agoBugfix #20975: Deleting a constraint causes segfault
Joshua Leung [Fri, 5 Feb 2010 06:05:24 +0000 (06:05 +0000)]
Bugfix #20975: Deleting a constraint causes segfault

Missing null checks in API functions.

10 years agoBGE: Sound Actuator API
Dalai Felinto [Fri, 5 Feb 2010 00:51:32 +0000 (00:51 +0000)]
BGE: Sound Actuator API
act.time can set the sound position (float in seconds)
act.is3D RO gives you the dimension of the audio
act.minGain3D, maxGain3D ... set the 3D parameters of the sound

** PyDoc to be done. Jörg Müller (NeXyon) do you want to document them? The file is here:
//source/gameengine/PyDoc/GameTypes.py

+ adding a missing \n to KX_Scene.cpp. (kind of typo)

10 years agoBGE fix: KX_Lamp using strcmp wrongly + typo in rna_define
Dalai Felinto [Thu, 4 Feb 2010 23:51:41 +0000 (23:51 +0000)]
BGE fix: KX_Lamp using strcmp wrongly + typo in rna_define

10 years agofixing blenderplay compiling
Tom Musgrove [Thu, 4 Feb 2010 23:03:08 +0000 (23:03 +0000)]
fixing blenderplay compiling

10 years agouse the camera's lens angle as radians.
Campbell Barton [Thu, 4 Feb 2010 21:48:10 +0000 (21:48 +0000)]
use the camera's lens angle as radians.

10 years agoaccess spot size in radians from python.
Campbell Barton [Thu, 4 Feb 2010 19:24:20 +0000 (19:24 +0000)]
access spot size in radians from python.

10 years agoreading in hair with dynamics wasnt working but mostly crashed when duplicating the...
Campbell Barton [Thu, 4 Feb 2010 16:54:25 +0000 (16:54 +0000)]
reading in hair with dynamics wasnt working but mostly crashed when duplicating the object.
from reading all places dynamic hair is used I think these changes are correct (cloth seems to share pointcache with the psys) but its not obvious.

jahka: please check this is ok.

10 years agowhen autodepth is enabled use the z-depth for placing the cursor.
Campbell Barton [Thu, 4 Feb 2010 16:30:28 +0000 (16:30 +0000)]
when autodepth is enabled use the z-depth for placing the cursor.

10 years agosync the custom transform option for proxies
Campbell Barton [Thu, 4 Feb 2010 10:42:15 +0000 (10:42 +0000)]
sync the custom transform option for proxies

10 years agofix for crash when deleting duplictaed objects with particle systems
Campbell Barton [Thu, 4 Feb 2010 09:59:05 +0000 (09:59 +0000)]
fix for crash when deleting duplictaed objects with particle systems
cloth modifier was copied but not assigned to the new psys.

10 years agoghash tweak to not do so much preallocation
Joseph Eagar [Thu, 4 Feb 2010 00:17:25 +0000 (00:17 +0000)]
ghash tweak to not do so much preallocation

10 years agoBGE: Optimize Soft body conversion: don't create BVH structure.
Benoit Bolsee [Wed, 3 Feb 2010 21:41:03 +0000 (21:41 +0000)]
BGE: Optimize Soft body conversion: don't create BVH structure.

A btBvhTriangleMeshShape object is created when converting
a mesh to physics, also in case of Soft body although the
soft body will not use it (it only uses the mesh interface).

This patch keeps this system for compatibility with the
KX converter but avoids the creation of the BVH structure,
which consumes a lots of CPU. This should speed up
significantly the conversion of large mesh to softbody.

A secondary optimization is that the sharing of shapeInfo
is extended to rigid body using gImpact. Before it was
only active between static body and soft body.

10 years ago[#20681] Text beveling works incosistently when not justifying text left
Campbell Barton [Wed, 3 Feb 2010 21:33:22 +0000 (21:33 +0000)]
[#20681] Text beveling works incosistently when not justifying text left
as changed in 2.4x

10 years agoSmall tweaks to Knife Cut
Joshua Leung [Wed, 3 Feb 2010 21:33:15 +0000 (21:33 +0000)]
Small tweaks to Knife Cut
- Number of multicuts can now be set (only usable for multicut mode)
- Midpoint cutting is now done using shift-k + drag hotkey mapping

These were just minor properties changes, which shouldn't be too much of a hassle for BMesh merging.

10 years agoAdd btBvhTriangleMeshShape::buildOptimizedBvh() in preparation of next commit. This...
Benoit Bolsee [Wed, 3 Feb 2010 21:20:06 +0000 (21:20 +0000)]
Add btBvhTriangleMeshShape::buildOptimizedBvh() in preparation of next commit. This patch has been approved already and will be in Bullet 2.76.

10 years agoUpdate MSVC project files.
Benoit Bolsee [Wed, 3 Feb 2010 21:14:50 +0000 (21:14 +0000)]
Update MSVC project files.

10 years agoNew Transform 3D view recalculate scheme.
Martin Poirier [Wed, 3 Feb 2010 21:01:41 +0000 (21:01 +0000)]
New Transform 3D view recalculate scheme.

Only recalculate changes when absolutely necessary (mouse move triggers a soft recalc that will only happen before the next redraw other events trigger hard recalcs). The problem was that mouse moves are reported as lots of events (with small dx,dy) between each redraw which would trigger often heavy recalculations every time while only the last one was really important (the one before the redraw).

This makes snap project (retopo) much more manageable but induces a very small lag equal to one refresh cycle. Confirming transform does a hard refresh, so the final result is always consistent with mouse position.

10 years agoWrong argument for internal snap call.
Martin Poirier [Wed, 3 Feb 2010 20:49:05 +0000 (20:49 +0000)]
Wrong argument for internal snap call.

10 years agoPre Draw callback for 3D view.
Martin Poirier [Wed, 3 Feb 2010 20:45:35 +0000 (20:45 +0000)]
Pre Draw callback for 3D view.

10 years ago[#20957] Python API: unlink an object while in edit mode may crash Blender
Campbell Barton [Wed, 3 Feb 2010 19:25:43 +0000 (19:25 +0000)]
[#20957] Python API: unlink an object while in edit mode may crash Blender
disallow unlinking objects if there not in object mode.

10 years agoavoid nan tangents which happen with cubes that have generated UVs
Campbell Barton [Wed, 3 Feb 2010 19:16:18 +0000 (19:16 +0000)]
avoid nan tangents which happen with cubes that have generated UVs

10 years ago-fpe command line argument. Tying it to -d is just hell.
Martin Poirier [Wed, 3 Feb 2010 17:48:39 +0000 (17:48 +0000)]
-fpe command line argument. Tying it to -d is just hell.

10 years agouse fpe_handler on linux when running with -d, this runs a function rarther then...
Campbell Barton [Wed, 3 Feb 2010 15:50:08 +0000 (15:50 +0000)]
use fpe_handler on linux when running with -d, this runs a function rarther then quitting, use for setting breakpoints to find where nan/inf occur.

10 years agoEh... stupid me. Left a duplicate main function in the rig type.
Nathan Vegdahl [Wed, 3 Feb 2010 15:44:19 +0000 (15:44 +0000)]
Eh... stupid me.  Left a duplicate main function in the rig type.
(Tail between legs, walks away shamefully.)

10 years agoAdded a new rig type "shape_key_transforms" that drives shape keys based on the local...
Nathan Vegdahl [Wed, 3 Feb 2010 15:40:56 +0000 (15:40 +0000)]
Added a new rig type "shape_key_transforms" that drives shape keys based on the local transforms of a single bone.  Quite useful in a variety of situations.

Required options:
    mesh:  name of mesh object(s) to add/get shapekeys to/from
           (if multiple objects, make a comma-separated list)
Optional options:
    loc_<x/y/z>:       name of the shape key to tie to translation of the bone
    loc_<x/y/z>_fac:   default multiplier of the bone influence on the shape key
    rot_<x/y/z>:       name of the shape key to tie to rotation of the bone
    rot_<x/y/z>_fac:   default multiplier of the bone influence on the shape key
    scale_<x/y/z>:     name of the shape key to tie to scale of the bone
    scale_<x/y/z>_fac: default multiplier of the bone influence on the shape key

10 years agobugfix [#20709] Strange rendering artifacts in raytraced refraction
Campbell Barton [Wed, 3 Feb 2010 13:54:09 +0000 (13:54 +0000)]
bugfix [#20709] Strange rendering artifacts in raytraced refraction

10 years agobugfix [#20943] Solidify Modifier working incorrectly
Campbell Barton [Wed, 3 Feb 2010 12:01:57 +0000 (12:01 +0000)]
bugfix [#20943] Solidify Modifier working incorrectly
old code was merged chich use the angle degrees.

10 years agoBugfix #20586: Selecting "Straight Line" from Grease Pencil crashes in UV image editor
Joshua Leung [Wed, 3 Feb 2010 11:53:57 +0000 (11:53 +0000)]
Bugfix #20586: Selecting "Straight Line" from Grease Pencil crashes in UV image editor

This commit adds a check that should prevent crashes of the kind that were occurring in the report description from happening.

However, I couldn't verify yet whether this really works, since it appears the bug has temporarily disappeared in recent svn. Just in case, I've committed this fix, and we can revert/improve if the bug returns.

10 years agoMissed a few places in previous constraints commit
Joshua Leung [Wed, 3 Feb 2010 11:43:26 +0000 (11:43 +0000)]
Missed a few places in previous constraints commit

10 years agoBugfix #20902: In PoseMode, ObjectMode constraints can't be deleted or moved up/down
Joshua Leung [Wed, 3 Feb 2010 11:36:09 +0000 (11:36 +0000)]
Bugfix #20902: In PoseMode, ObjectMode constraints can't be deleted or moved up/down

10 years agoSpline IK: Small tweak improving (but not completely solving) the situation for bug...
Joshua Leung [Wed, 3 Feb 2010 11:09:47 +0000 (11:09 +0000)]
Spline IK: Small tweak improving (but not completely solving) the situation for bug #20708

The best workaround for problems with SplineIK applied to a chain of BBones so far is to disable 'Chain Offset'. Hopefully this workaround will soon become irrelevant.

10 years agofix for shape key value not updating.
Campbell Barton [Wed, 3 Feb 2010 10:27:31 +0000 (10:27 +0000)]
fix for shape key value not updating.

10 years ago[#20905] Blender 2.5 - Crash on drag an drop
Campbell Barton [Wed, 3 Feb 2010 10:16:12 +0000 (10:16 +0000)]
[#20905] Blender 2.5 - Crash on drag an drop
Only allow dnd' adding objects in object mode.

10 years agobugfix [#20909] (2.5) crash when clicking the arrow-restore button in keymap editor
Campbell Barton [Wed, 3 Feb 2010 10:00:43 +0000 (10:00 +0000)]
bugfix [#20909] (2.5) crash when clicking the arrow-restore button in keymap editor

10 years agobugfix [#20944] bad use of wm.invoke_popup(self) is crashing Blender
Campbell Barton [Wed, 3 Feb 2010 09:39:46 +0000 (09:39 +0000)]
bugfix [#20944] bad use of wm.invoke_popup(self) is crashing Blender

10 years agoBugfix #20940: Offset always resets to 1 in follow path constraint
Joshua Leung [Wed, 3 Feb 2010 09:05:31 +0000 (09:05 +0000)]
Bugfix #20940: Offset always resets to 1 in follow path constraint

Made the 'Offset Factor' setting use a separate variable from the 'Offset' setting in the DNA stuff. While we could get away with this sort of thing in the past, it turns out that with the Datablocks viewer these days, settings sharing an internal var but with different ranges/behaviour doesn't work well anymore, since later instances override earlier ones.

10 years agoBugfix #20935: Evaluation Time For Curves No Longer Accepts Input Over 1.0
Joshua Leung [Wed, 3 Feb 2010 06:30:16 +0000 (06:30 +0000)]
Bugfix #20935: Evaluation Time For Curves No Longer Accepts Input Over 1.0

Reverting the part of an earlier commit to show the Evaluation time in the Path panel that made the Evaluation Time setting a factor. This setting should not be a factor, since it gets divided by 'Path Length' to normalise it to the 0-1 range needed. When this setting isn't animated, the evaluation time setting is automatically set to the current frame number, so that when divided by Path Length, child objects still follow the curve.

10 years agoBugfix #20942: Unassigned Vertex Groups crash Blender on sort
Joshua Leung [Wed, 3 Feb 2010 02:31:29 +0000 (02:31 +0000)]
Bugfix #20942: Unassigned Vertex Groups crash Blender on sort

This commit fixes the crash, but it seems that the sorting doesn't work correctly with or without any vertices assigned.

10 years agoSpline IK Bugfix:
Joshua Leung [Wed, 3 Feb 2010 01:08:37 +0000 (01:08 +0000)]
Spline IK Bugfix:

Spline IK now takes curve-object transforms into account when the 'Chain Offset' option is not enabled, since the intention of that feature is to allow a chain of bones following the shape of a curve to be placed anywhere in the scene.

10 years agoAnimation Data Types - RNA Fixes:
Joshua Leung [Wed, 3 Feb 2010 00:54:26 +0000 (00:54 +0000)]
Animation Data Types - RNA Fixes:

* Fixed bug with Graph Editor that meant that after switching modes, driver F-Curves would often still be shown black until the curves were edited

* Added notifiers and missing flags for F-Curves and Actions

10 years agopatch [#20889] Support "unit"s for FloatProperty
Campbell Barton [Tue, 2 Feb 2010 23:03:56 +0000 (23:03 +0000)]
patch [#20889] Support "unit"s for FloatProperty
from Martin Bürbaum (pontiac)
(with own minor changes)

10 years agovertex group sort operator, access from the vgroup panel, sintels mesh has 144 vertex...
Campbell Barton [Tue, 2 Feb 2010 21:43:26 +0000 (21:43 +0000)]
vertex group sort operator, access from the vgroup panel, sintels mesh has 144 vertex groups which got quite tedious to look through.

10 years agoBugfix #19970: auto-clamped / auto working strangly in f-curve editor
Joshua Leung [Tue, 2 Feb 2010 21:16:28 +0000 (21:16 +0000)]
Bugfix #19970: auto-clamped / auto working strangly in f-curve editor

Thanks to a great doc from Bassam (slikdigit) on the different types of handles (which should probably become/be part of future 2.5 docs), I've revised the code again so that this works well again.

The doc:
http://docs.google.com/View?id=dvgkxj6_1d8cpfw79

10 years agoPET Connectivity calculation. Adding threshold to take care of possible imprecisions.
Martin Poirier [Tue, 2 Feb 2010 19:51:56 +0000 (19:51 +0000)]
PET Connectivity calculation. Adding threshold to take care of possible imprecisions.

10 years ago[#20934] fbx export with armature results in 0bytes writen REV:26548
Campbell Barton [Tue, 2 Feb 2010 18:56:06 +0000 (18:56 +0000)]
[#20934] fbx export with armature results in 0bytes writen REV:26548

10 years agoFix semi-exit of particle edit mode after adding/removing hairs, when
Brecht Van Lommel [Tue, 2 Feb 2010 18:54:23 +0000 (18:54 +0000)]
Fix semi-exit of particle edit mode after adding/removing hairs, when
child particles were enabled, should only free edit in case the parent
particle amount changes.

10 years agolinking in mesh data with animation crashed blender. also fixed some warnings.
Campbell Barton [Tue, 2 Feb 2010 18:24:10 +0000 (18:24 +0000)]
linking in mesh data with animation crashed blender. also fixed some warnings.

10 years agoUpdates to mouth rig. Old method didn't work well in combination with shape keys...
Nathan Vegdahl [Tue, 2 Feb 2010 17:57:12 +0000 (17:57 +0000)]
Updates to mouth rig.  Old method didn't work well in combination with shape keys.  This new method (effectively just weighting directly to the lip control bones) is much simpler, but also requires more manual weight painting to get it to look right.