blender.git
9 years agoMerging r49105 through r49107 from trunk into soc-2011-tomato
Sergey Sharybin [Sat, 21 Jul 2012 19:21:12 +0000 (19:21 +0000)]
Merging r49105 through r49107 from trunk into soc-2011-tomato

9 years agoBoolean modifier: prevent crashes when carve returns bad topology
Sergey Sharybin [Sat, 21 Jul 2012 19:19:45 +0000 (19:19 +0000)]
Boolean modifier: prevent crashes when carve returns bad topology

For sure actual issue is in carve's triangulation system which need
to be investigated and fixed. For now only fixed by re-shuffling a
bit existing degenerative faces check and added extra checks there.

Would look into actual fix a bit later.

9 years agostyle cleanup
Campbell Barton [Sat, 21 Jul 2012 16:21:42 +0000 (16:21 +0000)]
style cleanup

9 years agosvn merge ^/trunk/blender -r49082:49104
Campbell Barton [Sat, 21 Jul 2012 15:40:47 +0000 (15:40 +0000)]
svn merge ^/trunk/blender -r49082:49104

9 years agouse fabsf when using floats.
Campbell Barton [Sat, 21 Jul 2012 15:27:40 +0000 (15:27 +0000)]
use fabsf when using floats.

9 years agoMerge mask fixes from tomato branch
Sergey Sharybin [Sat, 21 Jul 2012 09:01:39 +0000 (09:01 +0000)]
Merge mask fixes from tomato branch

--
svn merge -r49075:49076 -r49086:49087  ^/branches/soc-2011-tomato

9 years agoFix incorrect RNA access in parenting operator
Sergey Sharybin [Sat, 21 Jul 2012 08:50:11 +0000 (08:50 +0000)]
Fix incorrect RNA access in parenting operator

9 years agoremove BMO_OP_FLAG_RATIONALIZE_NORMALS option which wasnt used anywhere.
Campbell Barton [Sat, 21 Jul 2012 01:09:11 +0000 (01:09 +0000)]
remove BMO_OP_FLAG_RATIONALIZE_NORMALS option which wasnt used anywhere.

9 years agoadd option so operators can be called with a flag, currently the only flag is to...
Campbell Barton [Sat, 21 Jul 2012 00:58:02 +0000 (00:58 +0000)]
add option so operators can be called with a flag, currently the only flag is to respect hidden geometry.

this is useful for bmesh tools that operate in object mode or for modifiers which would previously use hidden faces in some cases.

9 years agopatch [#32152] Make NlaTrack.is_solo settable
Campbell Barton [Fri, 20 Jul 2012 19:11:47 +0000 (19:11 +0000)]
patch [#32152] Make NlaTrack.is_solo settable
from Peter Amstutz (tetron)

9 years agoMasking: prevent crashes in cases when mask spline is axis aligned
Lukas Toenne [Fri, 20 Jul 2012 17:28:42 +0000 (17:28 +0000)]
Masking: prevent crashes in cases when mask spline is axis aligned

9 years agoFix #32118, Reroute nodes inside groups get created in wonky places.
Lukas Toenne [Fri, 20 Jul 2012 15:07:06 +0000 (15:07 +0000)]
Fix #32118, Reroute nodes inside groups get created in wonky places.

Previous attempt was not taking into account parent nodes of the group nodes (i.e. frames). The nodeFromView function should be used to convert between relative node location to absolute view space. Also added this in the node_add_node helper function, which is used in a number of operators for adding nodes in a specific location.

9 years agoColor management: threading fixes and partial buffer update refactor
Sergey Sharybin [Fri, 20 Jul 2012 14:16:25 +0000 (14:16 +0000)]
Color management: threading fixes and partial buffer update refactor

There used to be an issue in colormanage_cache_get which lead to
wrong reference number counter in cases when exposure / gamma
does not match values stored in cache. In this case cache handle
should be set to NULL, no callee function could always call
buffer release function (as it was intended to).

Made display buffer acquire / release functions thread safe.
This applies to "external" API only, internal helpers are
non-thread safe for performance issues, so if one uses them
he need to be careful.

Converted partial display buffer update into a single function
which still updates all display buffer ever created for given
image buffer. This means that it's not needed to create any
kind of context first and if there're display buffers created
in-between of partial updates they would also be updated with
next calls of partial updates.

This allowed to make render result nicely color managed during
rendering, meaning that render progress is visualisable with
color management for image editor set up.

9 years agosvn merge ^/trunk/blender -r49067:49082
Campbell Barton [Fri, 20 Jul 2012 14:02:51 +0000 (14:02 +0000)]
svn merge ^/trunk/blender -r49067:49082

9 years agofix for compositor bug, mix node operation `clamp` was uninitialized.
Campbell Barton [Fri, 20 Jul 2012 14:01:43 +0000 (14:01 +0000)]
fix for compositor bug, mix node operation `clamp` was uninitialized.

made HSV node randomly clamp values from 0-1.

9 years agoignore hidden faces when splitting by loose parts of materials.
Campbell Barton [Fri, 20 Jul 2012 13:54:05 +0000 (13:54 +0000)]
ignore hidden faces when splitting by loose parts of materials.

9 years agoCommented out "Filter" FModifier type entry in type enum. This doesn't exist
Joshua Leung [Fri, 20 Jul 2012 12:33:35 +0000 (12:33 +0000)]
Commented out "Filter" FModifier type entry in type enum. This doesn't exist
yet, and likely won't exist for a while.

9 years agoCode cleanup - missing indention be gone!
Joshua Leung [Fri, 20 Jul 2012 12:29:56 +0000 (12:29 +0000)]
Code cleanup - missing indention be gone!

(And fixed some incorrect comments)

9 years agoKeyframes from lib-linked actions are now drawn ghosted (just like those of
Joshua Leung [Fri, 20 Jul 2012 12:18:45 +0000 (12:18 +0000)]
Keyframes from lib-linked actions are now drawn ghosted (just like those of
protected/unmodifiable channels),

9 years agoMask rasteriyer: fixed wrong bounding box calculation
Sergey Sharybin [Fri, 20 Jul 2012 10:35:46 +0000 (10:35 +0000)]
Mask rasteriyer: fixed wrong bounding box calculation
for non-cyclic splines

9 years agoSeparate meshes by loose parts and materials now works in object mode as well as...
Campbell Barton [Fri, 20 Jul 2012 10:33:15 +0000 (10:33 +0000)]
Separate meshes by loose parts and materials now works in object mode as well as editmode.

9 years agominor edits for bmesh api
Campbell Barton [Fri, 20 Jul 2012 09:49:54 +0000 (09:49 +0000)]
minor edits for bmesh api

9 years agoquiet formatting warnings when international was enabled.
Campbell Barton [Thu, 19 Jul 2012 21:55:16 +0000 (21:55 +0000)]
quiet formatting warnings when international was enabled.

9 years agoPossible fix for [#32141] Crash when using a mask as the factor input
Jeroen Bakker [Thu, 19 Jul 2012 17:28:37 +0000 (17:28 +0000)]
Possible fix for [#32141] Crash when using a mask as the factor input
for a color combine (mix) node with render resolution at 100%

Seems to be that the MaskNode has been created as a complex node. But no
complex features were used. Converted the execute pixel to simple
execution. And it sees that the crash does not happen.

Not sure if it is the issue is solved. I am going to let the user retest
with this revision.

9 years agosvn merge ^/trunk/blender -r49063:49067
Campbell Barton [Thu, 19 Jul 2012 13:07:33 +0000 (13:07 +0000)]
svn merge ^/trunk/blender -r49063:49067

9 years agoprint names of nodes/sockets when cycles complains about only being able to connect...
Campbell Barton [Thu, 19 Jul 2012 13:04:43 +0000 (13:04 +0000)]
print names of nodes/sockets when cycles complains about only being able to connect a closure to another closure.

9 years agoadd lattice selection to rna
Campbell Barton [Thu, 19 Jul 2012 11:40:25 +0000 (11:40 +0000)]
add lattice selection to rna

9 years agosvn merge ^/trunk/blender -r49061:49063
Campbell Barton [Thu, 19 Jul 2012 11:35:45 +0000 (11:35 +0000)]
svn merge ^/trunk/blender -r49061:49063

9 years agoFix for
Jeroen Bakker [Thu, 19 Jul 2012 11:05:18 +0000 (11:05 +0000)]
Fix for
 * [#32040] size-input of a blur-node is uniform for the whole picture
 * [#32062] Blur node Size input is not working with
 * [#32140] Blur Node using a greyscale input as size multiplier fails
to work

Node now has a new option (new compositor cannot detect if the connected
part is a single value, or an image connected).

With this option the use of a reference image to multiply the size of
the blur per pixel can be enabled/disabled.

Regards,
Jeroen
 - At Mind -

9 years agosvn merge ^/trunk/blender -r49037:49061
Campbell Barton [Thu, 19 Jul 2012 10:29:39 +0000 (10:29 +0000)]
svn merge ^/trunk/blender -r49037:49061

9 years agofix for separate loose parts doing full depsgraph rebuild for every object split...
Campbell Barton [Thu, 19 Jul 2012 10:23:25 +0000 (10:23 +0000)]
fix for separate loose parts doing full depsgraph rebuild for every object split off.

9 years agohandy function for getting a python stacktrace while debugging in gdb
Campbell Barton [Thu, 19 Jul 2012 09:55:49 +0000 (09:55 +0000)]
handy function for getting a python stacktrace while debugging in gdb

9 years agoremove unneeded externs
Campbell Barton [Thu, 19 Jul 2012 09:23:31 +0000 (09:23 +0000)]
remove unneeded externs

9 years agoFix #32118, Reroute nodes inside groups get created in wonky places. The operator...
Lukas Toenne [Thu, 19 Jul 2012 08:23:56 +0000 (08:23 +0000)]
Fix #32118, Reroute nodes inside groups get created in wonky places. The operator needs to take into account the potential offset from the group node (most operators use the node_add_node helper function which does this).

9 years agopoll function for edge loop delete.
Campbell Barton [Thu, 19 Jul 2012 08:04:12 +0000 (08:04 +0000)]
poll function for edge loop delete.

9 years agocode cleanup: remove commented includes - mostly from 2.4x
Campbell Barton [Wed, 18 Jul 2012 23:07:07 +0000 (23:07 +0000)]
code cleanup: remove commented includes - mostly from 2.4x

9 years agoquiet double promotion warnings for the game engine.
Campbell Barton [Wed, 18 Jul 2012 23:03:27 +0000 (23:03 +0000)]
quiet double promotion warnings for the game engine.

9 years agomask transform aspect correction wasn't working properly, also fix for own recent...
Campbell Barton [Wed, 18 Jul 2012 20:32:31 +0000 (20:32 +0000)]
mask transform aspect correction wasn't working properly, also fix for own recent commit which made cyclic report not show

9 years agosvn merge ^/trunk/blender -r49035:49037
Campbell Barton [Wed, 18 Jul 2012 17:33:27 +0000 (17:33 +0000)]
svn merge ^/trunk/blender -r49035:49037

9 years agoshift help with continuous grab on a curve point now does scaled motion.
Campbell Barton [Wed, 18 Jul 2012 17:29:15 +0000 (17:29 +0000)]
shift help with continuous grab on a curve point now does scaled motion.

9 years agosvn merge ^/trunk/blender -r49029:49035
Campbell Barton [Wed, 18 Jul 2012 16:26:07 +0000 (16:26 +0000)]
svn merge ^/trunk/blender -r49029:49035

9 years agoworkaround for a bug with zero edges getting removed got feather faces out of sync...
Campbell Barton [Wed, 18 Jul 2012 16:24:13 +0000 (16:24 +0000)]
workaround for a bug with zero edges getting removed got feather faces out of sync and crashed

9 years agoAdd Skin modifier's radius values to Transform panel (in 3D views).
Bastien Montagne [Wed, 18 Jul 2012 14:30:31 +0000 (14:30 +0000)]
Add Skin modifier's radius values to Transform panel (in 3D views).

9 years agoSome small fixes (grrr, python imports...).
Bastien Montagne [Wed, 18 Jul 2012 14:03:10 +0000 (14:03 +0000)]
Some small fixes (grrr, python imports...).

9 years agoadd difference blending mode, also fix error in last commit
Campbell Barton [Wed, 18 Jul 2012 13:44:48 +0000 (13:44 +0000)]
add difference blending mode, also fix error in last commit

9 years agochange bucket size to give better performance for high detail 4k masks, also clamp...
Campbell Barton [Wed, 18 Jul 2012 13:34:14 +0000 (13:34 +0000)]
change bucket size to give better performance for high detail 4k masks, also clamp from 0-1 for each layer when accumulating.

9 years agosvn merge ^/trunk/blender -r49024:49029
Campbell Barton [Wed, 18 Jul 2012 12:56:36 +0000 (12:56 +0000)]
svn merge ^/trunk/blender -r49024:49029

9 years agocode cleanup for mask capping
Campbell Barton [Wed, 18 Jul 2012 12:54:13 +0000 (12:54 +0000)]
code cleanup for mask capping

9 years agochance semi-circle mask capping resolution based on size.
Campbell Barton [Wed, 18 Jul 2012 12:45:20 +0000 (12:45 +0000)]
chance semi-circle mask capping resolution based on size.

9 years agoFix [#32068] Edge slide not working in certain circumstance from Front / Side views
Bastien Montagne [Wed, 18 Jul 2012 12:23:18 +0000 (12:23 +0000)]
Fix [#32068] Edge slide not working in certain circumstance from Front / Side views

Only visible edges are used to create the "sliding vector". The test used to detect whether edges were visible or not was working for solid shading, but useless in wire draw mode (as all edges are visible in this mode!)...

9 years agominor edits to mask rasterizer.
Campbell Barton [Wed, 18 Jul 2012 12:17:12 +0000 (12:17 +0000)]
minor edits to mask rasterizer.

9 years agoMerging r49020 through r49024 from trunk into soc-2011-tomato
Sergey Sharybin [Wed, 18 Jul 2012 11:49:18 +0000 (11:49 +0000)]
Merging r49020 through r49024 from trunk into soc-2011-tomato

9 years agoFixed wrong self-intersection check for non-closed splines
Sergey Sharybin [Wed, 18 Jul 2012 11:48:13 +0000 (11:48 +0000)]
Fixed wrong self-intersection check for non-closed splines

9 years agofix incorrect assert for mask face checking, also correct own bad spelling
Campbell Barton [Wed, 18 Jul 2012 11:01:23 +0000 (11:01 +0000)]
fix incorrect assert for mask face checking, also correct own bad spelling

9 years agoMerging r49005 through r49019 from trunk into soc-2011-tomato
Sergey Sharybin [Wed, 18 Jul 2012 10:24:47 +0000 (10:24 +0000)]
Merging r49005 through r49019 from trunk into soc-2011-tomato

9 years agoFixed crash of self-intersection loop in special cases
Sergey Sharybin [Wed, 18 Jul 2012 10:22:56 +0000 (10:22 +0000)]
Fixed crash of self-intersection loop in special cases

It was wrongly calculated bucket number per side in cases when some
of segments is filling the whole bounding box across some of dimension.

Solved by limiting buckets at least to 1 in such cases.

9 years agoFix #32132: Uniformly moving custom feather points does not work
Sergey Sharybin [Wed, 18 Jul 2012 09:56:10 +0000 (09:56 +0000)]
Fix #32132: Uniformly moving custom feather points does not work

9 years agomake links now allows groups - this means you can make objects have matching groups...
Campbell Barton [Wed, 18 Jul 2012 09:45:50 +0000 (09:45 +0000)]
make links now allows groups - this means you can make objects have matching groups to the active more easily.

9 years agoFix [#32135] FRAMERATE: Framerate display is truncated in selection box.
Bastien Montagne [Wed, 18 Jul 2012 08:51:19 +0000 (08:51 +0000)]
Fix [#32135] FRAMERATE: Framerate display is truncated in selection box.

Filename extension was striped twice...

9 years agoadding objects active groups now gives menu of which group to add to.
Campbell Barton [Wed, 18 Jul 2012 08:13:30 +0000 (08:13 +0000)]
adding objects active groups now gives menu of which group to add to.

9 years agoFix for [#32129] "2D filter texture width off by one?" reported by Alex Fraser (z0r).
Mitchell Stokes [Wed, 18 Jul 2012 05:51:44 +0000 (05:51 +0000)]
Fix for [#32129] "2D filter texture width off by one?" reported by Alex Fraser (z0r).

The GetWidth() and GetHeight() functions of the canvas' display area seem to give values that are both off by one for what OpenGL wants. Adding 1 to both values seems to fix the problem.

9 years agomask rasterizer unfilled line end capping now works with aspect and blending.
Campbell Barton [Tue, 17 Jul 2012 20:40:12 +0000 (20:40 +0000)]
mask rasterizer unfilled line end capping now works with aspect and blending.

9 years agowip mask capping - works but needs aspect correction and to be faded out.
Campbell Barton [Tue, 17 Jul 2012 20:01:01 +0000 (20:01 +0000)]
wip mask capping - works but needs aspect correction and to be faded out.

9 years agoSpellcheck: minkovsky -> minkowski! (Only in comments/UI messages :/ ).
Bastien Montagne [Tue, 17 Jul 2012 18:14:59 +0000 (18:14 +0000)]
Spellcheck: minkovsky -> minkowski! (Only in comments/UI messages :/ ).

9 years agoFix [#32133] Numpad Enter key doesnt work with Loopcut (worked in 2.49b)
Bastien Montagne [Tue, 17 Jul 2012 17:55:23 +0000 (17:55 +0000)]
Fix [#32133] Numpad Enter key doesnt work with Loopcut (worked in 2.49b)

Adding PADENTER to the "OK" keys...

9 years agoMerging r49003 through r49004 from trunk into soc-2011-tomato
Sergey Sharybin [Tue, 17 Jul 2012 16:26:38 +0000 (16:26 +0000)]
Merging r49003 through r49004 from trunk into soc-2011-tomato

9 years agoFeather self-intersection test speed up
Sergey Sharybin [Tue, 17 Jul 2012 16:22:18 +0000 (16:22 +0000)]
Feather self-intersection test speed up

Made some minor optimization such as:

- Avoid using "%" operation in loops, replace with a check
  for index "overflow".
- Use pre-computed values for scaling feather coordinates
  to 0 .. 1 space.

This allowed to reach couple of milliseconds of boost.

Another change is to use higher number of buckets (up to 512).
This doesn't took significantly more memory (like uses only 10MB
of memory for average splines) and allows to have 30-50x boost
for average splines.

Use dynamically calculated number of buckets for this, to be
sure segments would fit two buckets.

Also fixed intersection detection in some cases when edge is
shared between two buckets -- it is possible that such edge
would cross third bucket and intersect edge from there.

9 years agosvn merge ^/trunk/blender -r49000:49002
Campbell Barton [Tue, 17 Jul 2012 15:45:27 +0000 (15:45 +0000)]
svn merge ^/trunk/blender -r49000:49002

9 years agoholding shift with cont. grab now works on the hsv cube and the value slider.
Campbell Barton [Tue, 17 Jul 2012 15:44:33 +0000 (15:44 +0000)]
holding shift with cont. grab now works on the hsv cube and the value slider.

9 years agosvn merge ^/trunk/blender -r48995:49000
Campbell Barton [Tue, 17 Jul 2012 15:18:02 +0000 (15:18 +0000)]
svn merge ^/trunk/blender -r48995:49000

9 years agooption to clear all keys from a button, so you dont have to hunt about for the keys...
Campbell Barton [Tue, 17 Jul 2012 15:16:44 +0000 (15:16 +0000)]
option to clear all keys from a button, so you dont have to hunt about for the keys inserted.

9 years agofix for particle system using uninitialized stack memory with midpoint of rk4 integra...
Campbell Barton [Tue, 17 Jul 2012 13:28:30 +0000 (13:28 +0000)]
fix for particle system using uninitialized stack memory with midpoint of rk4 integrators.

9 years agouse math vector init functions
Campbell Barton [Tue, 17 Jul 2012 12:05:15 +0000 (12:05 +0000)]
use math vector init functions

9 years agoColor management: fix missed color management settings for new created scenes
Sergey Sharybin [Tue, 17 Jul 2012 11:10:40 +0000 (11:10 +0000)]
Color management: fix missed color management settings for new created scenes

- Initialize color management settings if creating new scene
- Copy settings from active scene if creating with copying settings
  or if using other copy/link object settings

This also should fix issue with Export UV Layout operator

9 years agoMerging r48992 through r48995 from trunk into soc-2011-tomato
Sergey Sharybin [Tue, 17 Jul 2012 10:46:32 +0000 (10:46 +0000)]
Merging r48992 through r48995 from trunk into soc-2011-tomato

9 years agoFixed crash when rasterizing spline with only one point
Sergey Sharybin [Tue, 17 Jul 2012 10:43:57 +0000 (10:43 +0000)]
Fixed crash when rasterizing spline with only one point

It was an issue in new feather self-intersection test code.

9 years agofix for scons building with compositor
Campbell Barton [Tue, 17 Jul 2012 10:38:22 +0000 (10:38 +0000)]
fix for scons building with compositor

9 years agofix for building without the compositor
Campbell Barton [Tue, 17 Jul 2012 10:19:47 +0000 (10:19 +0000)]
fix for building without the compositor

9 years agosvn merge ^/trunk/blender -r48986:48991
Campbell Barton [Tue, 17 Jul 2012 09:58:20 +0000 (09:58 +0000)]
svn merge ^/trunk/blender -r48986:48991

9 years agodisable feather collapse during drawing, its very slow.
Campbell Barton [Tue, 17 Jul 2012 09:56:10 +0000 (09:56 +0000)]
disable feather collapse during drawing, its very slow.

9 years agocode cleanup: spelling
Campbell Barton [Mon, 16 Jul 2012 23:23:33 +0000 (23:23 +0000)]
code cleanup: spelling

9 years agoMerging r48985 through r48986 from trunk into soc-2011-tomato
Sergey Sharybin [Mon, 16 Jul 2012 20:36:09 +0000 (20:36 +0000)]
Merging r48985 through r48986 from trunk into soc-2011-tomato

9 years agoMerging r48981 through r48984 from trunk into soc-2011-tomato
Sergey Sharybin [Mon, 16 Jul 2012 19:24:25 +0000 (19:24 +0000)]
Merging r48981 through r48984 from trunk into soc-2011-tomato

9 years agoFixed disappearing in some circumstances feather
Sergey Sharybin [Mon, 16 Jul 2012 19:23:15 +0000 (19:23 +0000)]
Fixed disappearing in some circumstances feather

Real fix would be to find a point which is definitely now on loop
to be collapsed, but that's for a bit later. This commit should
remove possible stoppers.

9 years agoFixed crash caused by recent feather collapse commit
Sergey Sharybin [Mon, 16 Jul 2012 18:34:57 +0000 (18:34 +0000)]
Fixed crash caused by recent feather collapse commit

9 years agoMerging r48971 through r48980 from trunk into soc-2011-tomato
Sergey Sharybin [Mon, 16 Jul 2012 17:58:23 +0000 (17:58 +0000)]
Merging r48971 through r48980 from trunk into soc-2011-tomato

9 years agoMasks: feather self-intersection collapse function
Sergey Sharybin [Mon, 16 Jul 2012 17:54:28 +0000 (17:54 +0000)]
Masks: feather self-intersection collapse function

This implements simple function which collapses internal loops
caused by self-intersections into a singularity.

This loops can't be removed because rasterizer expects points
of feather be aligned with points from spline itself.

9 years agoPut paint mask grid allocation in a critical section
Nicholas Bishop [Mon, 16 Jul 2012 16:55:58 +0000 (16:55 +0000)]
Put paint mask grid allocation in a critical section

When OpenMP is enabled, memory allocation needs to be protected.

Fixes bug [#32111] Memory management regression from svn_46520
projects.blender.org/tracker/index.php?func=detail&aid=32111&group_id=9&atid=498

9 years agotoggling node hide/sockets/options was triggering a re-render.
Campbell Barton [Mon, 16 Jul 2012 16:16:05 +0000 (16:16 +0000)]
toggling node hide/sockets/options was triggering a re-render.

9 years agocorrect own error in logic for skipping mask layers, inverted mask layers with zero...
Campbell Barton [Mon, 16 Jul 2012 15:40:47 +0000 (15:40 +0000)]
correct own error in logic for skipping mask layers, inverted mask layers with zero alpha still need to be evaluated.

9 years agosvn merge ^/trunk/blender -r48967:48970
Campbell Barton [Mon, 16 Jul 2012 14:29:23 +0000 (14:29 +0000)]
svn merge ^/trunk/blender -r48967:48970

9 years agoshow alpha in the mask buttons item list
Campbell Barton [Mon, 16 Jul 2012 14:27:45 +0000 (14:27 +0000)]
show alpha in the mask buttons item list

9 years agouse calculated spline resoltion rather then fixed at 32.
Campbell Barton [Mon, 16 Jul 2012 14:17:01 +0000 (14:17 +0000)]
use calculated spline resoltion rather then fixed at 32.

9 years agosvn merge ^/trunk/blender -r48961:48967
Campbell Barton [Mon, 16 Jul 2012 13:13:27 +0000 (13:13 +0000)]
svn merge ^/trunk/blender -r48961:48967

9 years agodefailt to ease weight interpolation
Campbell Barton [Mon, 16 Jul 2012 13:12:52 +0000 (13:12 +0000)]
defailt to ease weight interpolation

9 years agofix for crash & leak when layer render option is disabled.
Campbell Barton [Mon, 16 Jul 2012 13:00:54 +0000 (13:00 +0000)]
fix for crash & leak when layer render option is disabled.

9 years agofix for occasional crash with splines a lot larger then the view
Campbell Barton [Mon, 16 Jul 2012 12:49:01 +0000 (12:49 +0000)]
fix for occasional crash with splines a lot larger then the view

9 years agomask rasterizer - use quad interpolation - gets rid of ugly diagonal banding, introdu...
Campbell Barton [Mon, 16 Jul 2012 12:08:28 +0000 (12:08 +0000)]
mask rasterizer - use quad interpolation - gets rid of ugly diagonal banding, introduces glitch with bowtie quads, will have to fix next.

9 years agobarycentric_weights_v2_quad wasn't working quite right, rewrite as an expanded versio...
Campbell Barton [Mon, 16 Jul 2012 12:01:18 +0000 (12:01 +0000)]
barycentric_weights_v2_quad wasn't working quite right, rewrite as an expanded version of interp_weights_poly_v2() that cuts down duplicate calculations.

9 years agoMerging r48954 through r48961 from trunk into soc-2011-tomato
Sergey Sharybin [Mon, 16 Jul 2012 11:06:26 +0000 (11:06 +0000)]
Merging r48954 through r48961 from trunk into soc-2011-tomato