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
Sergey Sharybin
7f0be018bf
Style cleanup of own recent changes
2012-06-01 13:46:38 +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
Sergey Sharybin
44693e709a
Change in debug print for BKE_mask_spline_ensure_deform -- "alloc new spline" was a bit misleading,
...
changed with "alloc new deform spline"
2012-06-01 12:34:44 +00:00
Sergey Sharybin
54b2d1e1ff
Small change to mask slide operator: if current weight goes below zero,
...
higher weights are still getting affected by weight delta.
2012-06-01 12:30:27 +00:00
Sergey Sharybin
1450bc244f
Cleanup in spline diffirintiation code - encapsulate max segment length
...
to resolution calculation functions rather than doing this from callee.
Also switch mask drawing code do the same spline resolution calculation
as used for compositor (which takes frame dimensions into account).
2012-06-01 12:25:18 +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
Sergey Sharybin
ecac5aef75
Changes to mask point slide operator:
...
- Original slide would create overall feather for spline
- Sliding of feather points for already defined feather would control
individual feather points weight
- Sliding of feather points with Ctrl hold down would switch to
overall feather control
2012-06-01 11:44:52 +00:00
Sergey Sharybin
70df1956a9
Small refactor of mask sliding operator
...
Also aspect ratio correction is not needed for BKE_mask_point_set_handle
2012-06-01 11:44:46 +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
Campbell Barton
04854d9048
svn merge ^/trunk/blender -r47272:47306
2012-06-01 05:50:17 +00:00
Campbell Barton
7f6dd1861d
style cleanup
2012-06-01 05:46:09 +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
Campbell Barton
192a28bb32
rename mask-objects to mask-layers.
2012-05-31 19:12:22 +00:00
Ove Murberg Henriksen
0d42015671
Fixes to bugs that appeared during restructure.
2012-05-31 19:09:23 +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
Peter Larabell
3834134cf0
Add dynamic mask curve differentiation for more accurate feather gradients.
2012-05-31 16:59:25 +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
Campbell Barton
55621216ce
fix for border/circle/lasso select not using the deformed locations when selecting.
2012-05-31 15:37:44 +00:00
Peter Larabell
f7fb32fb8a
Fix possible memory leak where spline differentiation fails but feather differentiation does not.
2012-05-31 14:36:22 +00:00
Peter Larabell
0451dedf6f
remove some redundant checks when freeing memory after rasterizing masks.
2012-05-31 14:29:09 +00:00
Campbell Barton
65c8a33842
fix for using wrong poll function in mask parenting
2012-05-31 14:03:25 +00:00
Campbell Barton
198a914db1
save calling srgb_to_linearrgb() for 0 or 1 when converting mask color.
2012-05-31 13:43:21 +00:00
Campbell Barton
58a7c451c1
convert mask to linear color.
2012-05-31 13:37:32 +00:00
Jeroen Bakker
b04cd3a765
Fix for [ #31602 ] Node Glare: Ghosts effect
2012-05-31 13:05:00 +00:00
Campbell Barton
153259ff74
support for mask keyframing
2012-05-31 12:24:06 +00:00
Campbell Barton
7443604790
mask object blending and alpha options
2012-05-31 12:12:28 +00:00
Campbell Barton
3c194601f4
svn merge ^/trunk/blender -r47253:47272
2012-05-31 11:58:14 +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
Sergey Sharybin
efe289f312
Fix adding feather points when there's deformed spline for mask
...
Deformed spline should be re-evaluated after adding new feather points
Used both BKE_mask_update_display and DAG_id_tag_update because of:
- If adding feather point is happening from macro which adds point and
slides it, deformed spline should be updated immediatelly so sliding
operator will use updated feather,
- If adding happens outside of such macro, update DAG is necessary to
make needed updates in other areas (such as compositor, i.e.)
2012-05-31 10:01:21 +00:00
Campbell Barton
332366643b
use malloc for point arrays since they are filled in immediately.
2012-05-31 09:46:17 +00:00
Campbell Barton
038f41c087
minor refactor - use float (*)[2] for 2D point arratys.
2012-05-31 09:35:50 +00:00
Sergey Sharybin
1794b9b00f
Fixed memory leak caused by not freeing uw array for points in deformed spline
2012-05-31 09:01:15 +00:00
Campbell Barton
1308cad234
patch from pete larabell - feather support for masking.
2012-05-31 08:39:22 +00:00
Sergey Sharybin
9aaaa7eead
No need in +x flag for mask_shapekey.c
2012-05-31 08:38:50 +00:00
Campbell Barton
d74200a3af
svn merge -r47246:47245 . --- revert 47246, this needs more considersation and planning to do this well
2012-05-31 08:24:53 +00:00
Campbell Barton
0ce5dd7e3f
svn merge ^/trunk/blender -r47229:47253
2012-05-31 07:57:04 +00:00
Campbell Barton
1541c5f6d0
fix for own mistake
2012-05-31 07:55:04 +00:00