blender.git
8 years agosvn merge ^/trunk/blender -r47325:47381
Campbell Barton [Sun, 3 Jun 2012 18:25:57 +0000 (18:25 +0000)]
svn merge ^/trunk/blender -r47325:47381

8 years agoCycles / OSL:
Thomas Dinges [Sun, 3 Jun 2012 18:04:52 +0000 (18:04 +0000)]
Cycles / OSL:
* Update the Oren Nayar shader to incorporate updates / fixes from r41968 and r44330.

8 years agofix [#31674] BMesh Corrupt Stack around BMVert array "verts" - ONLY ON DEBUG VERSION
Campbell Barton [Sun, 3 Jun 2012 17:16:20 +0000 (17:16 +0000)]
fix [#31674] BMesh Corrupt Stack around BMVert array "verts" - ONLY ON DEBUG VERSION

8 years agorename context menu 'Python Documentation' to 'Online Python Reference'
Campbell Barton [Sun, 3 Jun 2012 16:47:19 +0000 (16:47 +0000)]
rename context menu 'Python Documentation' to 'Online Python Reference'

8 years agominor optimizations to compositor, avoid indirections when operating array members...
Campbell Barton [Sun, 3 Jun 2012 16:23:47 +0000 (16:23 +0000)]
minor optimizations to compositor, avoid indirections when operating array members multiple times

8 years agoBugfix for [#31692] Blur Node (Flat) X size affects Y size, Y size does nothing
Thomas Dinges [Sun, 3 Jun 2012 15:44:11 +0000 (15:44 +0000)]
Bugfix for [#31692] Blur Node (Flat) X size affects Y size, Y size does nothing

* GaussianYBlurOperation accessed sizex instead of sizey.

8 years agoMinor UI message fix
Bastien Montagne [Sun, 3 Jun 2012 13:38:27 +0000 (13:38 +0000)]
Minor UI message fix

8 years agoFix bug [#31588]: iTaSC does not handle armature scaling correctly. iTaSC solver...
Benoit Bolsee [Sun, 3 Jun 2012 12:06:42 +0000 (12:06 +0000)]
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.

8 years agoFix Eigen3 unaligned array in iTaSC. The unaligned array cause crash when SSE2 is...
Benoit Bolsee [Sun, 3 Jun 2012 12:00:41 +0000 (12:00 +0000)]
Fix Eigen3 unaligned array in iTaSC. The unaligned array cause crash when SSE2 is enabled. The source of unaligned array were: matrix passing by value in std::make_pair() and offset of matrix member in structure.

8 years agocode cleanup: replace some non utf8 chars
Campbell Barton [Sun, 3 Jun 2012 11:16:13 +0000 (11:16 +0000)]
code cleanup: replace some non utf8 chars

8 years agouse fnmatch for reference globing rather then regex - regex overly complicates simple...
Campbell Barton [Sun, 3 Jun 2012 11:01:18 +0000 (11:01 +0000)]
use fnmatch for reference globing rather then regex - regex overly complicates simple cases and wasnt being taken advantage of.

8 years agoquiet warnings
Campbell Barton [Sun, 3 Jun 2012 10:33:28 +0000 (10:33 +0000)]
quiet warnings

8 years agoBugfix: Bone Groups now displayed with correct icon in Outliner
Joshua Leung [Sun, 3 Jun 2012 10:23:48 +0000 (10:23 +0000)]
Bugfix: Bone Groups now displayed with correct icon in Outliner

8 years agoCycles: different fix for object info random range issue.
Brecht Van Lommel [Sun, 3 Jun 2012 09:50:17 +0000 (09:50 +0000)]
Cycles: different fix for object info random range issue.

8 years agoPart-Bugfix, Part-Feature Completion: 'Armature' Option for Mask Modifier
Joshua Leung [Sun, 3 Jun 2012 07:49:54 +0000 (07:49 +0000)]
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

8 years agoMask Modifier - Bugfix and dead-code cleanup
Joshua Leung [Sun, 3 Jun 2012 01:05:20 +0000 (01:05 +0000)]
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.

8 years agoCycles / OSL Textures:
Thomas Dinges [Sun, 3 Jun 2012 00:02:24 +0000 (00:02 +0000)]
Cycles / OSL Textures:
* Ported my checker texture to OSL. :)

8 years agoCycles / OSL Textures:
Thomas Dinges [Sat, 2 Jun 2012 22:57:26 +0000 (22:57 +0000)]
Cycles / OSL Textures:
* More fixes, replaced all remaining size variables with scale ones.
* Remove nonzero check in OSL textures, not needed anymore, was there to prevent division by zero for the size variable.

8 years agoCompile fix - "spf" was undefined
Joshua Leung [Sat, 2 Jun 2012 22:47:33 +0000 (22:47 +0000)]
Compile fix - "spf" was undefined

8 years agoCloth collisions: Revert 47335.
Daniel Genrich [Sat, 2 Jun 2012 22:01:04 +0000 (22:01 +0000)]
Cloth collisions: Revert 47335.

8 years agoCycles / OSL:
Thomas Dinges [Sat, 2 Jun 2012 21:34:25 +0000 (21:34 +0000)]
Cycles / OSL:
* More fixes for r41599, removed clouds and distorted noise textures and ported the Noise texture to OSL.
ToDo: Color output is still commented, needs a closer look.

* Some more fixes (comments, uninitialized variables)

8 years agoCycles / Object Info Node:
Thomas Dinges [Sat, 2 Jun 2012 21:04:16 +0000 (21:04 +0000)]
Cycles / Object Info Node:
* The random output had a range from -0.5 to 0.5, added an offset of 0.5 to bring it into the 0.0 / 1.0 range, which is in alignment with Shader Node Guidelines.
Patch by Agustin Benavidez, thanks!

8 years agoFixing most (if not all) remaining issues with nodes UI i18n.
Bastien Montagne [Sat, 2 Jun 2012 19:58:12 +0000 (19:58 +0000)]
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).

8 years agoCycles / OSL:
Thomas Dinges [Sat, 2 Jun 2012 19:25:12 +0000 (19:25 +0000)]
Cycles / OSL:
* Forgot to rename Gradient OSL file.

8 years agoCycles / OSL:
Thomas Dinges [Sat, 2 Jun 2012 19:14:14 +0000 (19:14 +0000)]
Cycles / OSL:
* More OSL fixes for r41599, removed marble and wood texture and ported Wave Texture to OSL.

8 years agoCycles / Wave Texture:
Thomas Dinges [Sat, 2 Jun 2012 17:44:28 +0000 (17:44 +0000)]
Cycles / Wave Texture:
* Found an issue in the shader code, it used the x coordinate twice.

8 years agoCycles / OSL Fixes:
Thomas Dinges [Sat, 2 Jun 2012 17:10:59 +0000 (17:10 +0000)]
Cycles / OSL Fixes:
* OSL textures were never updated after the refactor in november 2011.

* Remove stucci texture and renamed blend to gradient.

8 years agosmall code cleanup in rasterizer
Peter Larabell [Sat, 2 Jun 2012 00:16:23 +0000 (00:16 +0000)]
small code cleanup in rasterizer

8 years agosmall code cleanup in inner loop of rasterizer
Peter Larabell [Sat, 2 Jun 2012 00:01:59 +0000 (00:01 +0000)]
small code cleanup in inner loop of rasterizer

8 years agoexperenental manual linking from the UI. realize this is an issue which is not agreed...
Campbell Barton [Fri, 1 Jun 2012 20:38:40 +0000 (20:38 +0000)]
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

8 years agocode cleanup: rename bool --> do_tint, confused qtcreator
Campbell Barton [Fri, 1 Jun 2012 20:28:53 +0000 (20:28 +0000)]
code cleanup: rename bool --> do_tint, confused qtcreator

8 years agoCommenting out unused var, prevents my debug Blender to build... ;)
Bastien Montagne [Fri, 1 Jun 2012 17:47:05 +0000 (17:47 +0000)]
Commenting out unused var, prevents my debug Blender to build... ;)

8 years agoMake "Match Movie Length" into an operator (must be called inside a context having...
Bastien Montagne [Fri, 1 Jun 2012 17:28:09 +0000 (17:28 +0000)]
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!

8 years agoFollowup fix Bugfix [#31629]: Cloth simulation collisions used still too high repulsions.
Daniel Genrich [Fri, 1 Jun 2012 16:50:12 +0000 (16:50 +0000)]
Followup fix Bugfix [#31629]: Cloth simulation collisions used still too high repulsions.

8 years agoSmoke Bugfix: Velocity of moving objects was too high after scaling patch.
Daniel Genrich [Fri, 1 Jun 2012 15:49:39 +0000 (15:49 +0000)]
Smoke Bugfix: Velocity of moving objects was too high after scaling patch.

Spoted by MiikaH.

8 years agoFix #31673, File Output node forgets about socket names. Was checking for wrong file...
Lukas Toenne [Fri, 1 Jun 2012 15:16:58 +0000 (15:16 +0000)]
Fix #31673, File Output node forgets about socket names. Was checking for wrong file version for do_versions.

8 years agofix for crash when loading a file while rendering.
Campbell Barton [Fri, 1 Jun 2012 15:05:30 +0000 (15:05 +0000)]
fix for crash when loading a file while rendering.

8 years agoTweaks for Pasting Keyframes in DopeSheet/Graph Editors
Joshua Leung [Fri, 1 Jun 2012 15:00:28 +0000 (15:00 +0000)]
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

8 years agocode cleanup: warnings
Campbell Barton [Fri, 1 Jun 2012 14:59:06 +0000 (14:59 +0000)]
code cleanup: warnings

8 years agoIgnore track's disabled channels when requesting for pattern used in keying screen...
Sergey Sharybin [Fri, 1 Jun 2012 14:42:55 +0000 (14:42 +0000)]
Ignore track's disabled channels when requesting for pattern used in keying screen node

8 years agoTheme color for frame nodes. The alpha value from this theme color is also used when...
Lukas Toenne [Fri, 1 Jun 2012 14:42:21 +0000 (14:42 +0000)]
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).

8 years agoMerging r47307 through r47325 from trunk into soc-2011-tomato
Sergey Sharybin [Fri, 1 Jun 2012 14:08:18 +0000 (14:08 +0000)]
Merging r47307 through r47325 from trunk into soc-2011-tomato

8 years agoUpdate startup.blend:
Sergey Sharybin [Fri, 1 Jun 2012 14:08:14 +0000 (14:08 +0000)]
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

8 years agoThere's no MASK_OT_select_border in trunk yet
Sergey Sharybin [Fri, 1 Jun 2012 13:55:00 +0000 (13:55 +0000)]
There's no MASK_OT_select_border in trunk yet

8 years agoAction Group Colors for Bones (Part 2)
Joshua Leung [Fri, 1 Jun 2012 13:54:44 +0000 (13:54 +0000)]
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

8 years agore-remove XOR style writes from inner loop of rasterizer. is pointless and less flexi...
Peter Larabell [Fri, 1 Jun 2012 13:49:49 +0000 (13:49 +0000)]
re-remove XOR style writes from inner loop of rasterizer. is pointless and less flexible after blending was added at higher level.

8 years agoStyle cleanup of own recent changes
Sergey Sharybin [Fri, 1 Jun 2012 13:46:38 +0000 (13:46 +0000)]
Style cleanup of own recent changes

8 years agoAdded NULL-pointer check to avoid crash in node editor. Fixes #31664
Konrad Kleine [Fri, 1 Jun 2012 13:42:18 +0000 (13:42 +0000)]
Added NULL-pointer check to avoid crash in node editor. Fixes #31664

8 years agoInitial expose of tools into interface for mask editing.
Sergey Sharybin [Fri, 1 Jun 2012 13:05:05 +0000 (13:05 +0000)]
Initial expose of tools into interface for mask editing.
Maybe no ideal, but looks better than completely empty panels.

8 years agoReroute nodes, by Jeroen Bakker (patch #28443).
Lukas Toenne [Fri, 1 Jun 2012 12:38:03 +0000 (12:38 +0000)]
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.

8 years agoChange in debug print for BKE_mask_spline_ensure_deform -- "alloc new spline" was...
Sergey Sharybin [Fri, 1 Jun 2012 12:34:44 +0000 (12:34 +0000)]
Change in debug print for BKE_mask_spline_ensure_deform -- "alloc new spline" was a bit misleading,
changed with "alloc new deform spline"

8 years agoSmall change to mask slide operator: if current weight goes below zero,
Sergey Sharybin [Fri, 1 Jun 2012 12:30:27 +0000 (12:30 +0000)]
Small change to mask slide operator: if current weight goes below zero,
higher weights are still getting affected by weight delta.

8 years agoCleanup in spline diffirintiation code - encapsulate max segment length
Sergey Sharybin [Fri, 1 Jun 2012 12:25:18 +0000 (12:25 +0000)]
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).

8 years agoOptimize Gaussian blurs
Monique Dewanchand [Fri, 1 Jun 2012 11:50:32 +0000 (11:50 +0000)]
Optimize Gaussian blurs

8 years agoStyle and typo fixes
Joshua Leung [Fri, 1 Jun 2012 11:46:25 +0000 (11:46 +0000)]
Style and typo fixes

8 years agoChanges to mask point slide operator:
Sergey Sharybin [Fri, 1 Jun 2012 11:44:52 +0000 (11:44 +0000)]
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

8 years agoSmall refactor of mask sliding operator
Sergey Sharybin [Fri, 1 Jun 2012 11:44:46 +0000 (11:44 +0000)]
Small refactor of mask sliding operator
Also aspect ratio correction is not needed for BKE_mask_point_set_handle

8 years agofix crash in clip graph view (possibly own fault)
Campbell Barton [Fri, 1 Jun 2012 11:03:44 +0000 (11:03 +0000)]
fix crash in clip graph view (possibly own fault)

8 years agoFixed crash
Jeroen Bakker [Fri, 1 Jun 2012 10:37:38 +0000 (10:37 +0000)]
Fixed crash
Previous patch allocated temporarily buffers.

8 years agoReplaced tile based memory manager with a single aligned buffer
Monique Dewanchand [Fri, 1 Jun 2012 10:20:24 +0000 (10:20 +0000)]
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

8 years agoRemoved unused files in compositor
Jeroen Bakker [Fri, 1 Jun 2012 08:01:04 +0000 (08:01 +0000)]
Removed unused files in compositor

8 years agosvn merge ^/trunk/blender -r47272:47306
Campbell Barton [Fri, 1 Jun 2012 05:50:17 +0000 (05:50 +0000)]
svn merge ^/trunk/blender -r47272:47306

8 years agostyle cleanup
Campbell Barton [Fri, 1 Jun 2012 05:46:09 +0000 (05:46 +0000)]
style cleanup

8 years agoFix for [#27472] "preserve volume for armature modifier does not work" based on code...
Mitchell Stokes [Fri, 1 Jun 2012 02:17:35 +0000 (02:17 +0000)]
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.

8 years agosmall code refactor to remove redundant calculations
Peter Larabell [Thu, 31 May 2012 21:56:41 +0000 (21:56 +0000)]
small code refactor to remove redundant calculations

8 years agoAdd const prefix to match definition in lasso.c
Peter Larabell [Thu, 31 May 2012 21:25:52 +0000 (21:25 +0000)]
Add const prefix to match definition in lasso.c

8 years agocode and comment cleanup in feather region drawing code
Peter Larabell [Thu, 31 May 2012 20:58:46 +0000 (20:58 +0000)]
code and comment cleanup in feather region drawing code

8 years agoFix for [#31662] Compositing: No Alpha if image/color connected to second input of...
Monique Dewanchand [Thu, 31 May 2012 20:26:42 +0000 (20:26 +0000)]
Fix for [#31662] Compositing: No Alpha if image/color connected to second input of math node

8 years agoCycles:
Thomas Dinges [Thu, 31 May 2012 20:26:36 +0000 (20:26 +0000)]
Cycles:
* Added missing GPL licence block to kernel_textures.h

8 years agospeedup normalized buffer space pixel position calculations... now incremental adds...
Peter Larabell [Thu, 31 May 2012 19:53:35 +0000 (19:53 +0000)]
speedup normalized buffer space pixel position calculations... now incremental adds rather than full per pixel evaluation.

8 years agofixed gradient visual stepping in mask feather regions. converted all distance calcul...
Peter Larabell [Thu, 31 May 2012 19:17:17 +0000 (19:17 +0000)]
fixed gradient visual stepping in mask feather regions. converted all distance calculations from int to float.

8 years agorename mask-objects to mask-layers.
Campbell Barton [Thu, 31 May 2012 19:12:22 +0000 (19:12 +0000)]
rename mask-objects to mask-layers.

8 years agoFix #31634: crash calling bpy.ops.transform.edge_slide() outside 3d view.
Brecht Van Lommel [Thu, 31 May 2012 19:06:52 +0000 (19:06 +0000)]
Fix #31634: crash calling bpy.ops.transform.edge_slide() outside 3d view.
Solution based on patch #31635 by Philipp Oeser.

8 years agostyle cleanup
Campbell Barton [Thu, 31 May 2012 18:40:06 +0000 (18:40 +0000)]
style cleanup

8 years agoThis fixes a precision issue in multi-paint so that near zero values do not cause...
Jason Hays [Thu, 31 May 2012 17:22:52 +0000 (17:22 +0000)]
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.

8 years agoAdd dynamic mask curve differentiation for more accurate feather gradients.
Peter Larabell [Thu, 31 May 2012 16:59:25 +0000 (16:59 +0000)]
Add dynamic mask curve differentiation for more accurate feather gradients.

8 years agoFix #31658: missing properties in key configuration export, hidden properties
Brecht Van Lommel [Thu, 31 May 2012 16:04:07 +0000 (16:04 +0000)]
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.

8 years agoFix #31657: adding mesh objects did not take units into account for the grid
Brecht Van Lommel [Thu, 31 May 2012 16:04:03 +0000 (16:04 +0000)]
Fix #31657: adding mesh objects did not take units into account for the grid
scale that sets the default size.

8 years agofix for border/circle/lasso select not using the deformed locations when selecting.
Campbell Barton [Thu, 31 May 2012 15:37:44 +0000 (15:37 +0000)]
fix for border/circle/lasso select not using the deformed locations when selecting.

8 years agoFix possible memory leak where spline differentiation fails but feather differentiati...
Peter Larabell [Thu, 31 May 2012 14:36:22 +0000 (14:36 +0000)]
Fix possible memory leak where spline differentiation fails but feather differentiation does not.

8 years agoremove some redundant checks when freeing memory after rasterizing masks.
Peter Larabell [Thu, 31 May 2012 14:29:09 +0000 (14:29 +0000)]
remove some redundant checks when freeing memory after rasterizing masks.

8 years agofix for using wrong poll function in mask parenting
Campbell Barton [Thu, 31 May 2012 14:03:25 +0000 (14:03 +0000)]
fix for using wrong poll function in mask parenting

8 years agosave calling srgb_to_linearrgb() for 0 or 1 when converting mask color.
Campbell Barton [Thu, 31 May 2012 13:43:21 +0000 (13:43 +0000)]
save calling srgb_to_linearrgb() for 0 or 1 when converting mask color.

8 years agoconvert mask to linear color.
Campbell Barton [Thu, 31 May 2012 13:37:32 +0000 (13:37 +0000)]
convert mask to linear color.

8 years agoFix for [#31602] Node Glare: Ghosts effect
Jeroen Bakker [Thu, 31 May 2012 13:05:00 +0000 (13:05 +0000)]
Fix for [#31602] Node Glare: Ghosts effect

8 years agosupport for mask keyframing
Campbell Barton [Thu, 31 May 2012 12:24:06 +0000 (12:24 +0000)]
support for mask keyframing

8 years agomask object blending and alpha options
Campbell Barton [Thu, 31 May 2012 12:12:28 +0000 (12:12 +0000)]
mask object blending and alpha options

8 years agosvn merge ^/trunk/blender -r47253:47272
Campbell Barton [Thu, 31 May 2012 11:58:14 +0000 (11:58 +0000)]
svn merge ^/trunk/blender -r47253:47272

8 years agomath lib changes from tomato
Campbell Barton [Thu, 31 May 2012 11:57:09 +0000 (11:57 +0000)]
math lib changes from tomato

8 years agoFix for [#31542] Tiles Compositor: Image sequences broken
Jeroen Bakker [Thu, 31 May 2012 11:55:05 +0000 (11:55 +0000)]
Fix for [#31542] Tiles Compositor: Image sequences broken

8 years ago * Added new dilate/erode function
Jeroen Bakker [Thu, 31 May 2012 10:38:11 +0000 (10:38 +0000)]
 * Added new dilate/erode function

8 years agoFix adding feather points when there's deformed spline for mask
Sergey Sharybin [Thu, 31 May 2012 10:01:21 +0000 (10:01 +0000)]
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.)

8 years agominor cleanup
Campbell Barton [Thu, 31 May 2012 09:50:50 +0000 (09:50 +0000)]
minor cleanup

8 years agouse malloc for point arrays since they are filled in immediately.
Campbell Barton [Thu, 31 May 2012 09:46:17 +0000 (09:46 +0000)]
use malloc for point arrays since they are filled in immediately.

8 years agominor refactor - use float (*)[2] for 2D point arratys.
Campbell Barton [Thu, 31 May 2012 09:35:50 +0000 (09:35 +0000)]
minor refactor - use float (*)[2] for 2D point arratys.

8 years agoFixed memory leak caused by not freeing uw array for points in deformed spline
Sergey Sharybin [Thu, 31 May 2012 09:01:15 +0000 (09:01 +0000)]
Fixed memory leak caused by not freeing uw array for points in deformed spline

8 years agopatch from pete larabell - feather support for masking.
Campbell Barton [Thu, 31 May 2012 08:39:22 +0000 (08:39 +0000)]
patch from pete larabell - feather support for masking.

8 years agoNo need in +x flag for mask_shapekey.c
Sergey Sharybin [Thu, 31 May 2012 08:38:50 +0000 (08:38 +0000)]
No need in +x flag for mask_shapekey.c

8 years agosvn merge -r47246:47245 . --- revert 47246, this needs more considersation and...
Campbell Barton [Thu, 31 May 2012 08:24:53 +0000 (08:24 +0000)]
svn merge -r47246:47245 .   --- revert 47246, this needs more considersation and planning to do this well

8 years agosvn merge ^/trunk/blender -r47229:47253
Campbell Barton [Thu, 31 May 2012 07:57:04 +0000 (07:57 +0000)]
svn merge ^/trunk/blender -r47229:47253