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
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
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
6aeb3ddb20
small code refactor to remove redundant calculations
2012-05-31 21:56:41 +00:00
Peter Larabell
03ae47e45f
Add const prefix to match definition in lasso.c
2012-05-31 21:25:52 +00:00
Peter Larabell
05ff63b09d
code and comment cleanup in feather region drawing code
2012-05-31 20:58:46 +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
Thomas Dinges
2b5eed9689
Cycles:
...
* Added missing GPL licence block to kernel_textures.h
2012-05-31 20:26:36 +00:00
Peter Larabell
34c52b010e
speedup normalized buffer space pixel position calculations... now incremental adds rather than full per pixel evaluation.
2012-05-31 19:53:35 +00:00
Peter Larabell
1abbb21fee
fixed gradient visual stepping in mask feather regions. converted all distance calculations from int to float.
2012-05-31 19:17:17 +00:00
Campbell Barton
192a28bb32
rename mask-objects to mask-layers.
2012-05-31 19:12:22 +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
a8f84fac89
Fix #31658 : missing properties in key configuration export, hidden properties
...
should be exported as well, not sure why this was disabled, it's supposed to
only affect UI hiding.
2012-05-31 16:04:07 +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
998c34a7fa
minor cleanup
2012-05-31 09:50:50 +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
Peter Larabell
3795d73235
Adds property to mask splines to allow them to be negated (black masks), still needs work in tracking.c
2012-05-30 21:15:17 +00:00
Monique Dewanchand
722ce85ff6
Fix for
...
[#31562 ] New compositor crashes due to incorrect opencl initialization
2012-05-30 21:09:50 +00:00
Peter Larabell
6f64165b95
Mask out of bounds fix for mask rasterizer
2012-05-30 18:39:42 +00:00
Campbell Barton
b3bc5edffc
replaced last instance of BF_GHOST_DEBUG
2012-05-30 17:14:55 +00:00
Campbell Barton
125e7550ff
draw options for mask spline matching the UV view
2012-05-30 16:22:33 +00:00
Lukas Toenne
0e9b0f6d9e
Fix #31645 , mix node results in crash upon render. This happens when unused mix nodes are removed from the cycles graph. In case the inputs are both unconnected it still tried to reconnect them.
2012-05-30 15:47:12 +00:00