Commit Graph

53000 Commits

Author SHA1 Message Date
Campbell Barton
0097988145 rename mask file 2012-06-04 13:51:36 +00:00
Campbell Barton
7cd7a88740 code cleanup 2012-06-04 13:46:38 +00:00
Campbell Barton
c357041e0a operator to switch direction 2012-06-04 13:24:10 +00:00
Sergey Sharybin
f53a52ba1c Fix #31697: Blender crashes when using several viewer nodes in tile
Issue was caused by fact that viewer node might re-size ImBuf used for
viewer node result, so if several viewer nodes are running for inputs
with different resolutions it'll result in a crash,

Now copied behavior or pre-tile compositor -- execute viewer node which
has NODE_DO_OUTPUT flag, so no several nodes would be calculated at once.

Should be pretty ok because calculation of several viewers doesn't actually
make sense because there's only one buffer they might use and it's getting
re-calculated when changing active viewer node.
2012-06-04 13:19:17 +00:00
Joshua Leung
d27ea22953 Removed some old cruft - commented out select_actionchannel_by_name() lines 2012-06-04 13:07:41 +00:00
Joshua Leung
0259d5de41 Attempted fix for borderselect crash that Jeremy (@Mango) is getting on a
particular file in Pose Mode
2012-06-04 12:29:37 +00:00
Sergey Sharybin
4b4bf11469 Fix #31172: applying boolean removes uv maps
The issue was caused by CDDM_tessfaces_to_faces not dealing with CD layers.

There was already function BKE_mesh_convert_mfaces_to_mpolys which converted
mfaces to mpolys with converting all CD layers. Made it a bit more general so
it might work with given arrays of faces/polys and re-used it from CDDM module.

Checked with UV and sculpt data from Blender 2.61 and it loaded nice, so
hopefully there's no regressions in loading older files.
2012-06-04 12:10:38 +00:00
Brecht Van Lommel
9a488fd8b8 Fix for recent library linking fix, this triggered another issue that was
hidden by libraries getting loaded twice, hopefully it's working ok now,
tested with various .blend files.
2012-06-04 12:01:49 +00:00
Campbell Barton
90d7e25b4f add select linked operator, works as with meshes. 2012-06-04 11:25:02 +00:00
Sergey Sharybin
0747e75cc6 Merging r47382 through r47398 from trunk into soc-2011-tomato 2012-06-04 10:55:05 +00:00
Sergey Sharybin
0f2b4d4dff Fix for relative blur size for non-fast gaussian blur methods.
Call base blur's initExecution from GaussianBokehBlurOperation and GaussianXBlurOperation
2012-06-04 10:51:00 +00:00
Sergey Sharybin
617027fdf3 Fix #31352: Image sequence texture - can't load image after changing image source
Added new flag to Imageuser which indicates whether user frame calculation is needed.
This flag is getting set in BKE_image_signal and handled in actual image usage areas
where both image user and current frame is known.
2012-06-04 10:41:18 +00:00
Campbell Barton
efaeeaf15b fix for selecting UW's 2012-06-04 08:01:59 +00:00
Campbell Barton
5cf12e9a78 border select was removed from modal keymap by mistake 2012-06-04 07:48:10 +00:00
Sergey Sharybin
1511bd8eb4 Correction to recent changes in paint module -- missed NULL check for active object 2012-06-04 07:44:57 +00:00
Sergey Sharybin
eb81192069 Tag unused variables 2012-06-04 07:43:36 +00:00
Sergey Sharybin
46cd2a6a38 Fix #31093: Brush's "Paint curve presets" in Image paint in UV\Image Editor doesn't work if weight paint mode is active
Some operators like curve presets, color sample and some more were using object's
mode to distinguish in which mode user is currently painting. Such approach fails
in cases when there's paint mode active in 3D viewport and Image Editor.

Changed logic here to use some context's state like active space which helps
distinguishing current paint mode more accurate.

Ported all areas which uses paint_get_active() to new paint_get_active_from_context().
There're still some calls to paint_get_active(), but that shouldn't be harmful due
to that places indeed have object's mode as priority when getting paint mode.
2012-06-04 07:29:45 +00:00
Campbell Barton
4414f38cbf patch [#31644] Py Console: Indent and unindent independent of cursor (aligned) [Tab / Shift + Tab / Ctrl + Tab]
from Sebastian Nell (codemanx)
2012-06-04 07:24:19 +00:00
Joshua Leung
4371ee22f9 Theme Colors for NLA Strips and DopeSheet Summary
* NLA Strip colors are now themable
* Changed the "Active Action"/"Summary" colors to be a bit more muted. The new
colors are now closer to those for keyframes, though they are still different
enough to be clearly distinguishable.
* Removed some colors wihch don't seem to be used (from NLA theme colors)
* Added function to get theme colors + alpha as floats
2012-06-04 01:17:37 +00:00
Tamito Kajiyama
0f33d5719f Made an attempt to fix an instability issue in stroke rendering due to a failure
of Normal2DF0D with smooth FEdges.  The fix is to avoid generating new FEdgeSmooth
instances whose length is shorter than epsilon.
2012-06-03 22:53:12 +00:00
Ove Murberg Henriksen
cd346252d7 After reverting to binary tree, starting search at the top
by reseting nearest is marginally faster than using previous search.
2012-06-03 21:34:17 +00:00
Tamito Kajiyama
329b05dcd7 Merged changes in the trunk up to revision 47381.
Conflicts resolved:
source/blender/blenloader/intern/readfile.c
2012-06-03 21:11:10 +00:00
Ove Murberg Henriksen
87c585c1ba Reverting to binary tree because related optimization with type 10 tree were bugged.
Now  feature completes in ~5 sec for a mesh with 300k vertices. but it works as intended.
2012-06-03 20:23:41 +00:00
Campbell Barton
49a0f8f73b - adding subdivided points now interpolates weights along the spline.
- the handle lengths are now interpolated based on the new points projected location along the spline.
2012-06-03 19:39:19 +00:00
Ove Murberg Henriksen
c63dcaee07 small fix to mem release when using index method 2012-06-03 18:44:17 +00:00
Campbell Barton
4413024cdc svn merge ^/trunk/blender -r47325:47381 2012-06-03 18:25:57 +00:00
Ove Murberg Henriksen
512b35754e Bugfix to bug from optimizing... 2012-06-03 17:16:50 +00:00
Campbell Barton
e6d75d8974 fix [#31674] BMesh Corrupt Stack around BMVert array "verts" - ONLY ON DEBUG VERSION 2012-06-03 17:16:20 +00:00
Campbell Barton
9025841cfd rename context menu 'Python Documentation' to 'Online Python Reference' 2012-06-03 16:47:19 +00:00
Ove Murberg Henriksen
7b29489016 BVHTree usage optimized for transferring between meshes of 300k faces.
Mesh were the shape of a human.
Optimizing for anything less would not make sense because it happens ~instant
 
moving to 10 tree from binary tree increased speed by ~30%
initiating additional searches with the first increased speed by ~99%

Now function completes in less than two seconds on my amd 2,6ghz
2012-06-03 16:44:48 +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