Commit Graph

49420 Commits

Author SHA1 Message Date
Ove Murberg Henriksen
51cbfba306 Now the feature is more intuitive. copying from selected to active. 2012-06-04 22:17:40 +00:00
Campbell Barton
5189356d58 style cleanup 2012-06-04 20:11:09 +00:00
Bastien Montagne
6f0ad4ff0f A few UI messages fixes. 2012-06-04 19:43:12 +00:00
Brecht Van Lommel
4e338e894f Cycles: support for image sequences in image/environment texture node. 2012-06-04 19:38:33 +00:00
Jeroen Bakker
5024996eea * modified vieweroperation to not calculate based on the DO_NODE_OUTPUT
flag of the editorbNode.
2012-06-04 18:07:29 +00:00
Campbell Barton
d46a6dc59c abbreviate mask-editing to mask-edit 2012-06-04 17:30:54 +00:00
Campbell Barton
c517247fc6 include cleanup, also raskter wasn't building on osx 2012-06-04 17:27:22 +00:00
Campbell Barton
0f1fd51c21 picky change - rename keymap since there is no 'mask editor' 2012-06-04 17:13:38 +00:00
Campbell Barton
2202aaa083 svn merge ^/trunk/blender -r47413:47423 2012-06-04 16:56:51 +00:00
Campbell Barton
68a9dd54ec mask mode for clip editor developed by Sergey Sharybin, Pete Larabell and myself.
see:
http://wiki.blender.org/index.php/User:Nazg-gul/MaskEditor


note - mask editing tools need continued development, feather option is not working 100%
2012-06-04 16:42:58 +00:00
Brecht Van Lommel
eae64f9a0c Antoher fix for library linking issues, must change all entries in the libmap,
not just the first one.
2012-06-04 16:10:20 +00:00
Brecht Van Lommel
874308ba5e Cycles: show frame number in render info. 2012-06-04 16:09:51 +00:00
Campbell Barton
489fa2d108 remaining mask files from tomato. these wont get svn history carried over. 2012-06-04 15:49:58 +00:00
Campbell Barton
070d2122b0 mask header from tomato/ 2012-06-04 15:45:04 +00:00
Campbell Barton
8ffeca1f60 copy mask file from tomato branch, sorry dont know how to do multiple of these at a time... 2012-06-04 15:44:42 +00:00
Campbell Barton
115322ef08 mask merge (initial copy of editor files) 2012-06-04 15:36:16 +00:00
Campbell Barton
0d50a364ed svn merge ^/trunk/blender -r47398:47413 2012-06-04 15:28:38 +00:00
Sergey Sharybin
8e01389a4e Fix #31559: second 3D viewport does not update when paiting vertex/weight
Added notification at the end of weight/vertex paint stroke so all opened
viewports would be updated (same was already done for sculpt mode).
2012-06-04 15:13:36 +00:00
Campbell Barton
f8266d5a4b dont extrude from active-unselected mask-spline verts. 2012-06-04 14:35:45 +00:00
Campbell Barton
7b8ee67933 split mask add functions into their own file. 2012-06-04 14:27:13 +00:00
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