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

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

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

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

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

11 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

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

11 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

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

11 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

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

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

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

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

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

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

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

11 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

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

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

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

11 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

11 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

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

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

11 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

11 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

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

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

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

11 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

11 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

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

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

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

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

11 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

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

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

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

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

11 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

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

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

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

11 years agoFix #20926: 2d image paint was missing clone image, clone alpha, and wrap
Brecht Van Lommel [Tue, 2 Feb 2010 17:41:32 +0000 (17:41 +0000)]
Fix #20926: 2d image paint was missing clone image, clone alpha, and wrap
option in the UI, also fixes missing refresh when changing these and wrong
order in keymap for clone grabbing operator.

11 years agoFix #20932: add surface operator did not pop up type menu when invoked.
Brecht Van Lommel [Tue, 2 Feb 2010 17:38:56 +0000 (17:38 +0000)]
Fix #20932: add surface operator did not pop up type menu when invoked.

11 years agoGive border render coordinates a sane default, so enabling border in the
Brecht Van Lommel [Tue, 2 Feb 2010 17:28:53 +0000 (17:28 +0000)]
Give border render coordinates a sane default, so enabling border in the
render properties shows the render border in the 3d view.

11 years agoFix for a recent bugfix removing the wm* opengl function replacements,
Brecht Van Lommel [Tue, 2 Feb 2010 16:31:29 +0000 (16:31 +0000)]
Fix for a recent bugfix removing the wm* opengl function replacements,
broke drawing duplis.

11 years agorender simplify option to disable triangulation.
Campbell Barton [Tue, 2 Feb 2010 15:51:44 +0000 (15:51 +0000)]
render simplify option to disable triangulation.
- triangulating non planer quads is needed to resolve some artifacts however this also ends up triangulating most faces in - Suzzane subsurf level 4 for eg.
this check could be tuned for better performance but for now skipping it is useful for test renders.

11 years agoerror mirrorring weight group, wasnt checking if the mirror vert was the same
Campbell Barton [Tue, 2 Feb 2010 15:18:37 +0000 (15:18 +0000)]
error mirrorring weight group, wasnt checking if the mirror vert was the same

11 years ago- lamp bias of 0.0 was allowed when it should not be.
Campbell Barton [Tue, 2 Feb 2010 14:50:43 +0000 (14:50 +0000)]
- lamp bias of 0.0 was allowed when it should not be.
- enable floating point exceptions in debug mode on linux, makes nan's easy to track.

11 years agoadding back quotes, looks like well need to strip them some other way
Campbell Barton [Tue, 2 Feb 2010 13:58:42 +0000 (13:58 +0000)]
adding back quotes, looks like well need to strip them some other way

11 years agoBug in cmake broke vc build. Fixed by Jerome Lelong on ML.
Arystanbek Dyussenov [Tue, 2 Feb 2010 13:54:01 +0000 (13:54 +0000)]
Bug in cmake broke vc build. Fixed by Jerome Lelong on ML.

11 years agoUpdated OpenCollada section of cmake windows config.
Arystanbek Dyussenov [Tue, 2 Feb 2010 13:05:21 +0000 (13:05 +0000)]
Updated OpenCollada section of cmake windows config.

11 years agoerrors in arg parsing from yesterdays commit
Campbell Barton [Tue, 2 Feb 2010 12:10:13 +0000 (12:10 +0000)]
errors in arg parsing from yesterdays commit

11 years agoshape key transfer
Campbell Barton [Tue, 2 Feb 2010 12:04:03 +0000 (12:04 +0000)]
shape key transfer
- use the shape key basis for applying relative vertex locations

11 years agoediting the basis shape now updates others when relative is enabled.
Campbell Barton [Tue, 2 Feb 2010 11:10:02 +0000 (11:10 +0000)]
editing the basis shape now updates others when relative is enabled.

11 years agoPROP_ANIMATEABLE -> PROP_ANIMATABLE (more common spelling)
Campbell Barton [Tue, 2 Feb 2010 00:02:55 +0000 (00:02 +0000)]
PROP_ANIMATEABLE -> PROP_ANIMATABLE (more common spelling)

11 years agoobj export broke since api updates to mathutils
Campbell Barton [Mon, 1 Feb 2010 23:52:46 +0000 (23:52 +0000)]
obj export broke since api updates to mathutils

11 years agosubtype support for properties in bpy.props.
Campbell Barton [Mon, 1 Feb 2010 22:04:33 +0000 (22:04 +0000)]
subtype support for properties in bpy.props.

11 years agoProportional Edit Connected: Use connectivity distance for falloff (connectivity...
Martin Poirier [Mon, 1 Feb 2010 21:31:32 +0000 (21:31 +0000)]
Proportional Edit Connected: Use connectivity distance for falloff (connectivity distance now also calculated across inner face edges).

11 years ago(no commit message)
Tom Musgrove [Mon, 1 Feb 2010 19:53:51 +0000 (19:53 +0000)]

11 years agoFix part of #19858: texture node outputs don't work separately, the meaning
Brecht Van Lommel [Mon, 1 Feb 2010 19:35:32 +0000 (19:35 +0000)]
Fix part of #19858: texture node outputs don't work separately, the meaning
of node output indices was changed without a version patch.

11 years agoFix sculpt mode drawing performance regression, happened on at least
Brecht Van Lommel [Mon, 1 Feb 2010 19:22:54 +0000 (19:22 +0000)]
Fix sculpt mode drawing performance regression, happened on at least
NVidia/Linux. Disabling GL_MULTISAMPLE apparently makes things go much
slower even though we're not using it, why is a mystery to me.

11 years agolibpng.dll is not included in our libs on win64
Tom Musgrove [Mon, 1 Feb 2010 19:17:47 +0000 (19:17 +0000)]
libpng.dll is not included in our libs on win64

11 years agoSVN maintenance.
Guillermo S. Romero [Mon, 1 Feb 2010 19:01:57 +0000 (19:01 +0000)]
SVN maintenance.

11 years agothis restores building on mingw with Collada support, also it restores cross compilin...
Tom Musgrove [Mon, 1 Feb 2010 18:39:41 +0000 (18:39 +0000)]
this restores building on mingw with Collada support, also it restores cross compiling, thanks to Sergey Sharybin for the patch.  Note that the icons for linux cross might not be committed here, if not i'll add them in another commit

11 years agobugfix for reading invalid id prop lengths from python.
Campbell Barton [Mon, 1 Feb 2010 18:38:33 +0000 (18:38 +0000)]
bugfix for reading invalid id prop lengths from python.

11 years agoMesh Extrude menu
Martin Poirier [Mon, 1 Feb 2010 18:30:00 +0000 (18:30 +0000)]
Mesh Extrude menu

Todo for Campbell:
- Make menu context sensitive
- Make menu automatically run the operator if there is only one option

Note: Saved configurations and keymaps with references to "Extrude and Move" operator needs to be updated to either call the menu or one of the new extrude macros.

11 years agoRemove NO_CONTEXT flag from enum when copying operator properties to the operator...
Martin Poirier [Mon, 1 Feb 2010 18:26:45 +0000 (18:26 +0000)]
Remove NO_CONTEXT flag from enum when copying operator properties to the operator itself.

11 years agoWrong include path in revision 26519 (missing space when concatenating includes)
Martin Poirier [Mon, 1 Feb 2010 18:23:24 +0000 (18:23 +0000)]
Wrong include path in revision 26519 (missing space when concatenating includes)

11 years agoQuicktime/QTKit : fix too dark images conversion issue
Damien Plisson [Mon, 1 Feb 2010 17:46:19 +0000 (17:46 +0000)]
Quicktime/QTKit : fix too dark images conversion issue

11 years agoCocoa/DND : give feedback to user of drop possibility before actual drop
Damien Plisson [Mon, 1 Feb 2010 17:38:44 +0000 (17:38 +0000)]
Cocoa/DND : give feedback to user of drop possibility before actual drop

The '+' in the cursor during the DND operation is displayed only if drop is accepted.
(through a previous call to GHOST_setAcceptDragOperation(window, TRUE); )

11 years agoCocoa/DND : added bitmap data type handling in drag'n'drop operations
Damien Plisson [Mon, 1 Feb 2010 17:33:41 +0000 (17:33 +0000)]
Cocoa/DND : added bitmap data type handling in drag'n'drop operations

Conversion of OS type to ImBuf is done inside ghost.

11 years agoFix for problem drawing second level popup menus due to recent commit,
Brecht Van Lommel [Mon, 1 Feb 2010 16:50:23 +0000 (16:50 +0000)]
Fix for problem drawing second level popup menus due to recent commit,
should find a better way to get this matrix for the UI.

11 years agoFix #20891: opengl animation render could mess up the view.
Brecht Van Lommel [Mon, 1 Feb 2010 15:32:55 +0000 (15:32 +0000)]
Fix #20891: opengl animation render could mess up the view.

The problem was that wmPushMatrix/wmOrtho/.. and similar functions did not
work well for offscreen rendering. It would have been possible to make a
fake subwindow for this, but I decided to just remove this extra layer as
it does not seem to have much purpose and has been quite confusing when
trying to fix other bugs. The relevant matrices are already stored in
RegionView3D so there will be no increase in calls to glGetFloat, which may
have been a performance reason to use this system in the past.

11 years agoBGE: fix for [#20684] Game Render blanks screen on Anaglyph Stereo view
Dalai Felinto [Mon, 1 Feb 2010 15:13:05 +0000 (15:13 +0000)]
BGE: fix for [#20684] Game Render blanks screen on Anaglyph Stereo view

The problem was: the Blender default camera has DOF distance as 0.0. Since we are using this as Focal Length for the stereo calculation we had terrible stereo by default.

Fix: whenever DOF == 0.0 we use focal length as eye separation * 30.0 (known to be a reasonable value)

11 years agoshape key transfer fix.
Campbell Barton [Mon, 1 Feb 2010 15:09:35 +0000 (15:09 +0000)]
shape key transfer fix.
workaround for the vert locations not being relyable, use the base shape key rather then the verts to calculate the offsets.

11 years agoopengl render wasnt using the right stamp flag
Campbell Barton [Mon, 1 Feb 2010 14:42:23 +0000 (14:42 +0000)]
opengl render wasnt using the right stamp flag

11 years agoremove workaround thats not needed anymore and could cause a python error when linkin...
Campbell Barton [Mon, 1 Feb 2010 14:25:38 +0000 (14:25 +0000)]
remove workaround thats not needed anymore and could cause a python error when linking a mesh with keys to an object.

11 years agoadded extrude enum function, cant be used yet because macros have no way to expose...
Campbell Barton [Mon, 1 Feb 2010 13:48:13 +0000 (13:48 +0000)]
added extrude enum function, cant be used yet because macros have no way to expose in a way that lets transform run after.

11 years agoBugfix #19970: auto-clamped / auto working strangly in f-curve editor
Joshua Leung [Mon, 1 Feb 2010 11:45:24 +0000 (11:45 +0000)]
Bugfix #19970: auto-clamped / auto working strangly in f-curve editor

Fixed the operators for DopeSheet/Graph Editors responsible for setting the "auto-clamped". This option is actually per F-Curve instead of per handle, and the code here should function like it did in 2.4x

However, despite this, it still appears to work oddly IMO. Any comments Bassam or animators familiar with the intentions of this?

11 years agoFix #20420: grab brush + subsurf modifier crash. Previously the PBVH nodes
Brecht Van Lommel [Mon, 1 Feb 2010 11:36:22 +0000 (11:36 +0000)]
Fix #20420: grab brush + subsurf modifier crash. Previously the PBVH nodes
were cached once at the start, but these can change when modifiers are
executed, now it simply doesn't cache them anymore, that was only really
a performance bottleneck when it was caching individual vertices.

11 years agoCocoa : fix mouse cursor hang when RMB-dragging in a not frontmost window
Damien Plisson [Mon, 1 Feb 2010 11:20:01 +0000 (11:20 +0000)]
Cocoa : fix mouse cursor hang when RMB-dragging in a not frontmost window

With continuous grab on, in 2+ window setup, when RMB-dragging an object in a 3D view of a not active (not frontmost) window, mouse cursor was stuck, with no escape.
Cursor grab must be done by the window that is key (able to receive mouse move events).

11 years agoFix #20502: add constraint (with targets) menu has no last used memory.
Brecht Van Lommel [Mon, 1 Feb 2010 11:13:55 +0000 (11:13 +0000)]
Fix #20502: add constraint (with targets) menu has no last used memory.

The last click button memory can now deal with menus with varying amounts
of menu entries and multi column layouts.

11 years agobpy.props.IntVectorProperty & BoolVectorProperty
Campbell Barton [Mon, 1 Feb 2010 10:51:34 +0000 (10:51 +0000)]
bpy.props.IntVectorProperty & BoolVectorProperty

11 years agoFix automatic draw method detection not clearing things properly
Brecht Van Lommel [Mon, 1 Feb 2010 10:39:36 +0000 (10:39 +0000)]
Fix automatic draw method detection not clearing things properly
on e.g. resizing windows.

11 years agoOSX : fix OpenCollada build for 10.4 targets with scons
Damien Plisson [Mon, 1 Feb 2010 10:14:22 +0000 (10:14 +0000)]
OSX : fix OpenCollada build for 10.4 targets with scons

11 years agoGPU type detection tweaks for unix/mac software rendering.
Brecht Van Lommel [Mon, 1 Feb 2010 10:04:37 +0000 (10:04 +0000)]
GPU type detection tweaks for unix/mac software rendering.

11 years agoWM Draw Method added to do Overlap assuming swap exchange / flipping,
Brecht Van Lommel [Mon, 1 Feb 2010 10:02:53 +0000 (10:02 +0000)]
WM Draw Method added to do Overlap assuming swap exchange / flipping,
and made that the default for windows software opengl because that
seems to be working better at least on XP. Previously this could only
be specified from the command line.

11 years agostub additions for building the game engine
Tom Musgrove [Mon, 1 Feb 2010 09:33:32 +0000 (09:33 +0000)]
stub additions for building the game engine

11 years agoNLA Editor Bugfix:
Joshua Leung [Mon, 1 Feb 2010 09:26:50 +0000 (09:26 +0000)]
NLA Editor Bugfix:

Operator to add action-clips now takes names without needing the "AC" prefix. The previous way was non-obvious for scripting usage, but did not cause too much trouble to replace.

11 years agoCocoa : implement opening .blend file by double-clicking on it in OSX Finder
Damien Plisson [Mon, 1 Feb 2010 09:11:18 +0000 (09:11 +0000)]
Cocoa : implement opening .blend file by double-clicking on it in OSX Finder

When the user double-clicks on a document file in the Finder, OSX doesn't simply give the filename as a command-line argument when calling Blender, as it is done in other OSes.
Instead, it launches the app if needed, and then sends an "openFile" event.

The user can also open a document file by dropping its icon on the app dock icon. But as this is not real Drag'n'drop, I've renamed the Ghost event to a less confusing "GHOST_kEventOpenMainFile" name.

DND Ghost wiki page updated :

11 years agoFinished some todos for the Export KeyingSet operator:
Joshua Leung [Mon, 1 Feb 2010 04:07:43 +0000 (04:07 +0000)]
Finished some todos for the Export KeyingSet operator:
- Keyframing and other KeyingSet-level settings are now included in the exported script too
- A table of lookups for ID-block shorthands is built and included to make running the exported script more efficient and less confusing

11 years agoNew argument parsing library supporting multiple passes, case sensitive and insensiti...
Martin Poirier [Mon, 1 Feb 2010 01:43:31 +0000 (01:43 +0000)]
New argument parsing library supporting multiple passes, case sensitive and insensitive arguments, default handlers and other features that were hacked in the previous ugly switch system. Very simpler system for adding new arguments, easier to see conflicts and no more replication between BG and non BG mode arguments.

I've tested pretty much everything except GE options (-g options), but some small bugs could have sneaked in.

11 years agoFix loading python modules (like netrender)
Martin Poirier [Mon, 1 Feb 2010 01:33:40 +0000 (01:33 +0000)]
Fix loading python modules (like netrender)

11 years agoKeying Sets: Export to File
Joshua Leung [Mon, 1 Feb 2010 01:08:45 +0000 (01:08 +0000)]
Keying Sets: Export to File

This commit adds an operator which saves the active Keying Set in a form which can be used to regenerate the Keying Set again in another file using the Keying Sets API.

This could be made smarter by caching the ID-blocks used, and writing aliases for those, but that can be done later.

11 years agoSVN maintenance.
Guillermo S. Romero [Mon, 1 Feb 2010 00:04:28 +0000 (00:04 +0000)]
SVN maintenance.

11 years agoFixed a few lingering compiler warnings with the bpy_app stuff
Joshua Leung [Sun, 31 Jan 2010 23:49:04 +0000 (23:49 +0000)]
Fixed a few lingering compiler warnings with the bpy_app stuff