Commit Graph

19154 Commits

Author SHA1 Message Date
Martin Poirier
9916e0193c 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.
2010-02-03 21:01:41 +00:00
Martin Poirier
845136ea13 Wrong argument for internal snap call. 2010-02-03 20:49:05 +00:00
Martin Poirier
152708df68 Pre Draw callback for 3D view. 2010-02-03 20:45:35 +00:00
Campbell Barton
a7edd5cac5 [#20957] Python API: unlink an object while in edit mode may crash Blender
disallow unlinking objects if there not in object mode.
2010-02-03 19:25:43 +00:00
Campbell Barton
f590151725 avoid nan tangents which happen with cubes that have generated UVs 2010-02-03 19:16:18 +00:00
Martin Poirier
6bdfa43431 -fpe command line argument. Tying it to -d is just hell. 2010-02-03 17:48:39 +00:00
Campbell Barton
61457571af 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. 2010-02-03 15:50:08 +00:00
Campbell Barton
1f3e277121 bugfix [#20709] Strange rendering artifacts in raytraced refraction 2010-02-03 13:54:09 +00:00
Campbell Barton
116a52ee21 bugfix [#20943] Solidify Modifier working incorrectly
old code was merged chich use the angle degrees.
2010-02-03 12:01:57 +00:00
Joshua Leung
0cb790ac8e 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.
2010-02-03 11:53:57 +00:00
Joshua Leung
40903efe85 Missed a few places in previous constraints commit 2010-02-03 11:43:26 +00:00
Joshua Leung
e5bfbcca02 Bugfix #20902: In PoseMode, ObjectMode constraints can't be deleted or moved up/down 2010-02-03 11:36:09 +00:00
Joshua Leung
74190f255b 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.
2010-02-03 11:09:47 +00:00
Campbell Barton
ba4cf7bf0c fix for shape key value not updating. 2010-02-03 10:27:31 +00:00
Campbell Barton
2745609ffd [#20905] Blender 2.5 - Crash on drag an drop
Only allow dnd' adding objects in object mode.
2010-02-03 10:16:12 +00:00
Campbell Barton
ffc1bdca3b bugfix [#20909] (2.5) crash when clicking the arrow-restore button in keymap editor 2010-02-03 10:00:43 +00:00
Campbell Barton
3289eff6d9 bugfix [#20944] bad use of wm.invoke_popup(self) is crashing Blender 2010-02-03 09:39:46 +00:00
Joshua Leung
53596fc6b8 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.
2010-02-03 09:05:31 +00:00
Joshua Leung
742ef3b4cc 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.
2010-02-03 06:30:16 +00:00
Joshua Leung
2c5ef58b8b 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.
2010-02-03 02:31:29 +00:00
Joshua Leung
0ff879af73 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.
2010-02-03 01:08:37 +00:00
Joshua Leung
96b9f42c39 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
2010-02-03 00:54:26 +00:00
Campbell Barton
fc123a40d3 patch [#20889] Support "unit"s for FloatProperty
from Martin Bürbaum (pontiac)
(with own minor changes)
2010-02-02 23:03:56 +00:00
Campbell Barton
95bfbd470e vertex group sort operator, access from the vgroup panel, sintels mesh has 144 vertex groups which got quite tedious to look through. 2010-02-02 21:43:26 +00:00
Joshua Leung
1ee7b2fae4 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
2010-02-02 21:16:28 +00:00
Martin Poirier
66aa2e0127 PET Connectivity calculation. Adding threshold to take care of possible imprecisions. 2010-02-02 19:51:56 +00:00
Brecht Van Lommel
820517ba91 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.
2010-02-02 18:54:23 +00:00
Campbell Barton
104f46afdd linking in mesh data with animation crashed blender. also fixed some warnings. 2010-02-02 18:24:10 +00:00
Brecht Van Lommel
c8b69b07c4 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.
2010-02-02 17:41:32 +00:00
Brecht Van Lommel
d121c0153b Fix #20932: add surface operator did not pop up type menu when invoked. 2010-02-02 17:38:56 +00:00
Brecht Van Lommel
942e1fc6a8 Give border render coordinates a sane default, so enabling border in the
render properties shows the render border in the 3d view.
2010-02-02 17:28:53 +00:00
Brecht Van Lommel
d20397661f Fix for a recent bugfix removing the wm* opengl function replacements,
broke drawing duplis.
2010-02-02 16:31:29 +00:00
Campbell Barton
f80617ab37 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.
2010-02-02 15:51:44 +00:00
Campbell Barton
11e011b409 error mirrorring weight group, wasnt checking if the mirror vert was the same 2010-02-02 15:18:37 +00:00
Campbell Barton
396770a63a - 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.
2010-02-02 14:50:43 +00:00
Campbell Barton
25183b8747 adding back quotes, looks like well need to strip them some other way 2010-02-02 13:58:42 +00:00
Arystanbek Dyussenov
2047929e2d Bug in cmake broke vc build. Fixed by Jerome Lelong on ML. 2010-02-02 13:54:01 +00:00
Campbell Barton
755569b020 errors in arg parsing from yesterdays commit 2010-02-02 12:10:13 +00:00
Campbell Barton
1b17112cbd editing the basis shape now updates others when relative is enabled. 2010-02-02 11:10:02 +00:00
Campbell Barton
ecaa50ed7b PROP_ANIMATEABLE -> PROP_ANIMATABLE (more common spelling) 2010-02-02 00:02:55 +00:00
Campbell Barton
039d087171 subtype support for properties in bpy.props. 2010-02-01 22:04:33 +00:00
Martin Poirier
26cfe812f8 Proportional Edit Connected: Use connectivity distance for falloff (connectivity distance now also calculated across inner face edges). 2010-02-01 21:31:32 +00:00
Brecht Van Lommel
2156ddc529 Fix part of #19858: texture node outputs don't work separately, the meaning
of node output indices was changed without a version patch.
2010-02-01 19:35:32 +00:00
Brecht Van Lommel
58b89bbac3 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.
2010-02-01 19:22:54 +00:00
Tom Musgrove
f2a8bb3498 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 2010-02-01 18:39:41 +00:00
Campbell Barton
7fe3ab7e8e bugfix for reading invalid id prop lengths from python. 2010-02-01 18:38:33 +00:00
Martin Poirier
46b0e90cf6 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.
2010-02-01 18:30:00 +00:00
Martin Poirier
bfdf6d139e Remove NO_CONTEXT flag from enum when copying operator properties to the operator itself. 2010-02-01 18:26:45 +00:00
Damien Plisson
0e84b50e99 Quicktime/QTKit : fix too dark images conversion issue 2010-02-01 17:46:19 +00:00
Brecht Van Lommel
3aff6529c0 Fix for problem drawing second level popup menus due to recent commit,
should find a better way to get this matrix for the UI.
2010-02-01 16:50:23 +00:00