Commit Graph

32072 Commits

Author SHA1 Message Date
Campbell Barton
9025841cfd rename context menu 'Python Documentation' to 'Online Python Reference' 2012-06-03 16:47:19 +00:00
Campbell Barton
5e424cacb5 minor optimizations to compositor, avoid indirections when operating array members multiple times 2012-06-03 16:23:47 +00:00
Thomas Dinges
c66f357168 Bugfix for [#31692] Blur Node (Flat) X size affects Y size, Y size does nothing
* GaussianYBlurOperation accessed sizex instead of sizey.
2012-06-03 15:44:11 +00:00
Bastien Montagne
d1094b03ce Minor UI message fix 2012-06-03 13:38:27 +00:00
Benoit Bolsee
e063ea222c Fix bug [#31588]: iTaSC does not handle armature scaling correctly. iTaSC solver operates in world reference, therefore armature scale is used to build the ik scene. But the scaling was not taken out when applying the pose at the end of the simulation. 2012-06-03 12:06:42 +00:00
Campbell Barton
1aa27e240c code cleanup: replace some non utf8 chars 2012-06-03 11:16:13 +00:00
Campbell Barton
20e49e7177 quiet warnings 2012-06-03 10:33:28 +00:00
Joshua Leung
85b34cfcde Bugfix: Bone Groups now displayed with correct icon in Outliner 2012-06-03 10:23:48 +00:00
Joshua Leung
7985fd0d1f Part-Bugfix, Part-Feature Completion: 'Armature' Option for Mask Modifier
finally works

This commit finally hooks up the Mask Modifier's "Armature" option with the
relevant depsgraph updates on bone selection. Hence, this feature finally works
as it was originally intended - that is, bone selections can be used to control
which parts of the mesh that the mask modifier is applied to are displayed,
giving riggers more freedom to experiment with rigs that don't necessarily
feature overbearing/cluttering widgets.

Regarding the implementation ("has_viz_deps" flag):
This feature is just the "tip of the iceberg" of a number of related set of
rigging/visual animation tools I've had in mind for a while now (dating back to
the introduction of this modifier). Key considerations
- Not all rigs will use this, so we don't want an extra (depsgraph-flush +
search) recalc cost for those that don't use this.
- There are some planned features which will also use this
2012-06-03 07:49:54 +00:00
Joshua Leung
1d4213b2bc Mask Modifier - Bugfix and dead-code cleanup
'Armature' mode for the Mask Modifier was not working at all anymore even when
the selection <-> depsgraph recalc issue was patched to work (this latter fix is
coming in another commit). It appears that this probably happened during one or
more of the refactors which may have taken place around here over the years
since I first introduced it.

This commit does two things:
* Removed the unused/redundant "vgroupHash"
* Fixed the incorrect assumption used for determining if the vertex actually
belonged to a vgroup corresponding to a selected bone.
2012-06-03 01:05:20 +00:00
Joshua Leung
f69cec4596 Compile fix - "spf" was undefined 2012-06-02 22:47:33 +00:00
Daniel Genrich
76af5fb50d Cloth collisions: Revert 47335. 2012-06-02 22:01:04 +00:00
Bastien Montagne
64039bdf44 Fixing most (if not all) remaining issues with nodes UI i18n.
Note that I had to script-tag all sokets' names, as they are currently completely unknown from bpy.types (and hence unreachable for our po generating scripts).
2012-06-02 19:58:12 +00:00
Campbell Barton
0dc84e64e7 experenental manual linking from the UI. realize this is an issue which is not agreed on so probably this will be disabled for release.
the data is stored here so more dev can commit:

./release/scripts/addons/modules/rna_wiki_reference.py
2012-06-01 20:38:40 +00:00
Campbell Barton
e94e7b4c7e code cleanup: rename bool --> do_tint, confused qtcreator 2012-06-01 20:28:53 +00:00
Bastien Montagne
4fa34b5cf7 Commenting out unused var, prevents my debug Blender to build... ;) 2012-06-01 17:47:05 +00:00
Bastien Montagne
14b1c408fd Make "Match Movie Length" into an operator (must be called inside a context having either a "texture" Tex, an "area" SpaceImage, or both "edit_image" Image and "edit_image_user" ImageUser).
Thanks to Campbell who pointed me to uiLayoutSetContextPointer() func!
2012-06-01 17:28:09 +00:00
Daniel Genrich
9efc294d45 Followup fix Bugfix [#31629]: Cloth simulation collisions used still too high repulsions. 2012-06-01 16:50:12 +00:00
Daniel Genrich
3ea554e0a2 Smoke Bugfix: Velocity of moving objects was too high after scaling patch.
Spoted by MiikaH.
2012-06-01 15:49:39 +00:00
Lukas Toenne
abc1a27762 Fix #31673, File Output node forgets about socket names. Was checking for wrong file version for do_versions. 2012-06-01 15:16:58 +00:00
Campbell Barton
04466171c1 fix for crash when loading a file while rendering. 2012-06-01 15:05:30 +00:00
Joshua Leung
392ee8fc6a Tweaks for Pasting Keyframes in DopeSheet/Graph Editors
In response to [#31670], I've reviewed the way that the Paste Keyframes tool for
the DopeSheet and Graph Editors works. Previously, it required you to always
select the F-Curves to paste the keyframes into before allowing you to paste
keyframes. This was because it is quite difficult to infer which ID-block's set
of curves is intended if more than one ID-block has similar curves (e.g. a scene
with two materials, and both have their diffuse color animated). The underlying
assumption and intention of the feature here was that the copy+paste were only
being used by animators to copy animation between similar curves, to transfer
and offset animation across block boundaries.

However, it turns out that many people were by far more familiar with the
simpler copy/paste paradigm from everywhere else (i.e. instead of trying to use
duplicate to copy keyframes around within their respective F-Curves).
Furthermore, in most cases there is only going to be a single character being
animated at a time (vs multiple), which means that most of the time the matching
problem is much simpler.

Hence, the Paste now works as follows:
- If there are selected F-Curves, we limit the paste-matching to only consider
those in the selected F-Curves. This makes it possible to still explicitly
specify where to paste.
- In the more general case (no prior selections), pasting will try to match
anything relevant it finds.

TODO:
- Check on whether the strictest matching level needs adjustments to limit the
number of false positives
- Testing and feedback of the new behaviour needed <--- ANIMATORS! PLEASE TEST
2012-06-01 15:00:28 +00:00
Campbell Barton
07ce209c64 code cleanup: warnings 2012-06-01 14:59:06 +00:00
Lukas Toenne
32fe2d71fc Theme color for frame nodes. The alpha value from this theme color is also used when drawing frames with a custom color (which is just RGB). 2012-06-01 14:42:21 +00:00
Sergey Sharybin
1e17f0b1b2 Update startup.blend:
- Added mask sculpt brush
- Draw brush was removed from sculpt mode -- there's SculptDraw brush
- Made default strength for draw brush 1.0 which makes much more sense
  especially for weight painting
2012-06-01 14:08:14 +00:00
Sergey Sharybin
4fc4aa383b There's no MASK_OT_select_border in trunk yet 2012-06-01 13:55:00 +00:00
Joshua Leung
1ced356009 Action Group Colors for Bones (Part 2)
Colors used by Bone Groups are now copied/assigned to Action Groups too when
they're created now. This completes the work started in r.46960 to restore this
functionality from 2.48.

Currently, there is no control over when/whether these colors are copied over
(although it is possible to disable the display of these colors for relevant
animation editors if desired). Originally I was going to make this a more
generic Keying Sets feature, though that turned out to be a bit too complex to
manage.

Other notes:
* Split out the code for copying colors to a common library function
2012-06-01 13:54:44 +00:00
Konrad Kleine
719b3e26e7 Added NULL-pointer check to avoid crash in node editor. Fixes #31664 2012-06-01 13:42:18 +00:00
Lukas Toenne
17935168c0 Reroute nodes, by Jeroen Bakker (patch #28443).
By holding shift and "cutting" a node link a new reroute helper node can be inserted. This consists of a single socket that can be used to insert additional connection points into a link. This can be used to keep a connection point in the tree when  deleting a node, or to control the path of long connections for layout cleanup.
2012-06-01 12:38:03 +00:00
Monique Dewanchand
5fbeda7efd Optimize Gaussian blurs 2012-06-01 11:50:32 +00:00
Joshua Leung
7941ebf66e Style and typo fixes 2012-06-01 11:46:25 +00:00
Campbell Barton
21bf2e0cae fix crash in clip graph view (possibly own fault) 2012-06-01 11:03:44 +00:00
Jeroen Bakker
e9093c7011 Fixed crash
Previous patch allocated temporarily buffers.
2012-06-01 10:37:38 +00:00
Monique Dewanchand
285a24b3e0 Replaced tile based memory manager with a single aligned buffer
- should increase speed with large node setups
 - enables caching of buffers in the node editor (in the future)
 - OpenCL part still needs some work
2012-06-01 10:20:24 +00:00
Jeroen Bakker
a78dca27a2 Removed unused files in compositor 2012-06-01 08:01:04 +00:00
Mitchell Stokes
0e73b64d62 Fix for [#27472] "preserve volume for armature modifier does not work" based on code provided by Sergey Kurdakov. Now more deformation flags are being passed to armature_deform_verts(). Note: this fix is only for the Blender vertex deformer, not the BGE deformer. 2012-06-01 02:17:35 +00:00
Peter Larabell
03ae47e45f Add const prefix to match definition in lasso.c 2012-05-31 21:25:52 +00:00
Monique Dewanchand
13714e621d Fix for [#31662] Compositing: No Alpha if image/color connected to second input of math node 2012-05-31 20:26:42 +00:00
Brecht Van Lommel
d5ae958e8f Fix #31634: crash calling bpy.ops.transform.edge_slide() outside 3d view.
Solution based on patch #31635 by Philipp Oeser.
2012-05-31 19:06:52 +00:00
Campbell Barton
02b927b8c4 style cleanup 2012-05-31 18:40:06 +00:00
Jason Hays
9547b76c2e This fixes a precision issue in multi-paint so that near zero values do not cause flickering as you paint.
It also changes multi-paint's "zero weight color" to black again--it was unintentionally changed to red some time late last year when an aspect of the colors were changed.
2012-05-31 17:22:52 +00:00
Brecht Van Lommel
c3a7db28d3 Fix #31657: adding mesh objects did not take units into account for the grid
scale that sets the default size.
2012-05-31 16:04:03 +00:00
Jeroen Bakker
b04cd3a765 Fix for [#31602] Node Glare: Ghosts effect 2012-05-31 13:05:00 +00:00
Campbell Barton
ceea98be2f math lib changes from tomato 2012-05-31 11:57:09 +00:00
Jeroen Bakker
31a94e4003 Fix for [#31542] Tiles Compositor: Image sequences broken 2012-05-31 11:55:05 +00:00
Jeroen Bakker
a9c4f76a6a * Added new dilate/erode function 2012-05-31 10:38:11 +00:00
Monique Dewanchand
722ce85ff6 Fix for
[#31562] New compositor crashes due to incorrect opencl initialization
2012-05-30 21:09:50 +00:00
Lukas Toenne
f462743dae Viewer linking operator has to flag the node tree for update, to ensure the dependency sorting is correct (avoid red links). 2012-05-30 14:42:40 +00:00
Jeroen Bakker
ada8dbe12a * fixed memory leak in compositor operation.
- leaked when render result could not be received.
2012-05-30 13:07:55 +00:00
Daniel Genrich
be21080cb6 Provide ray hit/nearest information on which side of the quad the ray hit.
Patch by MiikaH.
2012-05-30 12:53:13 +00:00