9 years agosvn merge ^/trunk/blender -r49757:49763
Campbell Barton [Fri, 10 Aug 2012 10:37:31 +0000 (10:37 +0000)]
svn merge ^/trunk/blender -r49757:49763

9 years agosplit off auto depth option to have cursor placement use depth too since you dont...
Campbell Barton [Fri, 10 Aug 2012 10:34:24 +0000 (10:34 +0000)]
split off auto depth option to have cursor placement use depth too since you dont always want both.

9 years agominor compositor change: use the max dimension for bokeh blur size, rather then width.
Campbell Barton [Fri, 10 Aug 2012 10:20:28 +0000 (10:20 +0000)]
minor compositor change: use the max dimension for bokeh blur size, rather then width.

9 years agoFix for particle object rendering in Cycles. On object sync the object first has...
Lukas Toenne [Fri, 10 Aug 2012 10:15:45 +0000 (10:15 +0000)]
Fix for particle object rendering in Cycles. On object sync the object first has to determine if a particle update is needed (which depends on dupli objects and their meshes), before deciding to skip the actual syncing.

9 years agoSmoke: High res on even resolution did not write to all cells (downsampling = n-1...
Daniel Genrich [Fri, 10 Aug 2012 09:58:58 +0000 (09:58 +0000)]
Smoke: High res on even resolution did not write to all cells (downsampling = n-1, upsampling = n).

Thanks goes to MiikaH.

9 years agoMerging r49738 through r49757 from trunk into soc-2011-tomato
Sergey Sharybin [Fri, 10 Aug 2012 08:54:14 +0000 (08:54 +0000)]
Merging r49738 through r49757 from trunk into soc-2011-tomato

9 years agoFix wrong tracks list used for search in Follow Track constraint
Sergey Sharybin [Fri, 10 Aug 2012 08:51:34 +0000 (08:51 +0000)]
Fix wrong tracks list used for search in Follow Track constraint

9 years agozero rotation values for quat_apply_track() which were in fact just float in precision.
Campbell Barton [Fri, 10 Aug 2012 08:19:45 +0000 (08:19 +0000)]
zero rotation values for quat_apply_track() which were in fact just float in precision.

also minor code cleanup - tabs -> spaces in scons file.

9 years agoExtended the search operator for nodes to also support node groups. The basic node...
Lukas Toenne [Fri, 10 Aug 2012 07:22:36 +0000 (07:22 +0000)]
Extended the search operator for nodes to also support node groups. The basic node group type is not included in the node items list, instead all existing node groups are added to the items list in the callback. A prefix is used to distinguish base node types from node groups.

9 years agoAdded a poll function for the node_tree pointer node groups. This ensure that only...
Lukas Toenne [Fri, 10 Aug 2012 07:22:33 +0000 (07:22 +0000)]
Added a poll function for the node_tree pointer node groups. This ensure that only node trees of the same type as the group node's tree can be selected for the pointer, other trees would be invalid for the node group (e.g. a Shader node group using a Compositor node tree).

9 years agoBugfix: Cloth did not work with Dynamic Paint.
Daniel Genrich [Fri, 10 Aug 2012 00:04:15 +0000 (00:04 +0000)]
Bugfix: Cloth did not work with Dynamic Paint.

Fix 1: Pinned vertices were never released when "unpinned" by Dynamic Paint.

Fix 2: When pinning vertices during simulation, they would get "warped" to their original starting position of frame 1.

Thanks to MiikaH for pointing this out and also for providing the regression blend file:

9 years agoCycles Test App:
Thomas Dinges [Thu, 9 Aug 2012 23:00:57 +0000 (23:00 +0000)]
Cycles Test App:
* Fix for changes in the OpenImageIO API.

9 years agoSeparate uv selection operator: Y key, behaves much the same way as the mesh separate...
Campbell Barton [Thu, 9 Aug 2012 22:43:10 +0000 (22:43 +0000)]
Separate uv selection operator: Y key, behaves much the same way as the mesh separate tool works.

9 years agogenerate automatically at build time, this allows editing...
Campbell Barton [Thu, 9 Aug 2012 19:59:36 +0000 (19:59 +0000)]
generate automatically at build time, this allows editing and rebuilding and means we dont have to have both files in svn.

updates made to cmake and scons.

9 years agoCompilation error fix: G.rendering was renamed to G.is_rendering
Sergey Sharybin [Thu, 9 Aug 2012 18:12:58 +0000 (18:12 +0000)]
Compilation error fix: G.rendering was renamed to G.is_rendering

9 years agoMerging r49711 through r49737 from trunk into soc-2011-tomato
Sergey Sharybin [Thu, 9 Aug 2012 17:03:33 +0000 (17:03 +0000)]
Merging r49711 through r49737 from trunk into soc-2011-tomato

9 years agoFrame matching methods for follow track constraint
Sergey Sharybin [Thu, 9 Aug 2012 16:57:02 +0000 (16:57 +0000)]
Frame matching methods for follow track constraint

This is needed in cases when using blender camera with different
resolution than original footage. Behaves in the same way as
background picture framing.

9 years agoFixed typo in clip's display aspect usage
Sergey Sharybin [Thu, 9 Aug 2012 16:56:42 +0000 (16:56 +0000)]
Fixed typo in clip's display aspect usage

9 years agouse sensor size when calculating dof rather then hard coded values.
Campbell Barton [Thu, 9 Aug 2012 15:59:32 +0000 (15:59 +0000)]
use sensor size when calculating dof rather then hard coded values.

9 years agoBugfix/Enhancement: Cloth didn't support animated vertex groups like the "Vertex...
Daniel Genrich [Thu, 9 Aug 2012 13:33:27 +0000 (13:33 +0000)]
Bugfix/Enhancement: Cloth didn't support animated vertex groups like the "Vertex Weight" modifier.

Regression blend file:

Thanks to Kologe for reporting this problem and also providing the regression blend file.

9 years agoCycles / Cmake:
Thomas Dinges [Thu, 9 Aug 2012 12:08:35 +0000 (12:08 +0000)]
Cycles / Cmake:
* When CUDA building is enabled, build sm_30 kernel as well.

9 years agoFix for the default internal connect function for nodes (used in muting, detaching...
Lukas Toenne [Thu, 9 Aug 2012 11:45:54 +0000 (11:45 +0000)]
Fix for the default internal connect function for nodes (used in muting, detaching, etc.). This is supposed to look for the first input/output of every socket type, but was actually taking the first matching link from the link list, regardless of the linked socket's position.

9 years agoRemove redundant referenced to bf_intern_bop
Sergey Sharybin [Thu, 9 Aug 2012 09:36:53 +0000 (09:36 +0000)]
Remove redundant referenced to bf_intern_bop

9 years agocode cleanup: ensure macros require ';' endings
Campbell Barton [Wed, 8 Aug 2012 21:20:10 +0000 (21:20 +0000)]
code cleanup: ensure macros require ';' endings

9 years agoutility functions for getting/setting rectangles for operators.
Campbell Barton [Wed, 8 Aug 2012 20:38:55 +0000 (20:38 +0000)]
utility functions for getting/setting rectangles for operators.

9 years agosupport for border zooming out by using the middle mouse button, works in 2D views...
Campbell Barton [Wed, 8 Aug 2012 19:54:31 +0000 (19:54 +0000)]
support for border zooming out by using the middle mouse button, works in 2D views already

9 years agocode cleanup: rename G.afbreek --> is_break, G.rendering --> is_rendering
Campbell Barton [Wed, 8 Aug 2012 18:37:06 +0000 (18:37 +0000)]
code cleanup: rename G.afbreek --> is_break, G.rendering --> is_rendering

9 years agocode cleanup: rename G.rt to G.debug_value
Campbell Barton [Wed, 8 Aug 2012 18:21:54 +0000 (18:21 +0000)]
code cleanup: rename G.rt to G.debug_value

9 years agoadd threshold blending to opencl too.
Campbell Barton [Wed, 8 Aug 2012 18:10:13 +0000 (18:10 +0000)]
add threshold blending to opencl too.

9 years agosync changes between opencl and C++ VariableSizeBokehBlurOperation, also remove absf...
Campbell Barton [Wed, 8 Aug 2012 18:04:40 +0000 (18:04 +0000)]
sync changes between opencl and C++ VariableSizeBokehBlurOperation, also remove absf() check on pixel radius, this is ensured to be unsigned.

9 years agoRenamed the mx/my coordinates in SpaceNode to more descriptive 'cursor'. This follows...
Lukas Toenne [Wed, 8 Aug 2012 17:37:02 +0000 (17:37 +0000)]
Renamed the mx/my coordinates in SpaceNode to more descriptive 'cursor'. This follows the naming in the View3D space, since this vector is used for essentially the same purpose (adding nodes at a specific location), although not used for any transform origin and not displayed in the editor.

Note: While renaming DNA properties is usually dangerous and can break files, in this case it is possible because the mx/my values are only used at runtime.

9 years agosvn merge ^/trunk/blender -r49707:49710
Campbell Barton [Wed, 8 Aug 2012 17:10:01 +0000 (17:10 +0000)]
svn merge ^/trunk/blender -r49707:49710

9 years agocode cleanup: lazy init enum for node search
Campbell Barton [Wed, 8 Aug 2012 17:02:14 +0000 (17:02 +0000)]
code cleanup: lazy init enum for node search

9 years agodof node; change how threshold is applied, rather then clip out pixels at the thresho...
Campbell Barton [Wed, 8 Aug 2012 16:49:12 +0000 (16:49 +0000)]
dof node; change how threshold is applied, rather then clip out pixels at the threshold, fade instead.

note: need to apply this change to opencl still.

9 years agoMerging r49681 through r49707 from trunk into soc-2011-tomato
Sergey Sharybin [Wed, 8 Aug 2012 16:48:05 +0000 (16:48 +0000)]
Merging r49681 through r49707 from trunk into soc-2011-tomato

9 years agoSequencer: corrections to sequence cache invalidation
Sergey Sharybin [Wed, 8 Aug 2012 16:46:47 +0000 (16:46 +0000)]
Sequencer: corrections to sequence cache invalidation

9 years agoSequencer: initial implementation of multithreaded effects
Sergey Sharybin [Wed, 8 Aug 2012 16:46:45 +0000 (16:46 +0000)]
Sequencer: initial implementation of multithreaded effects

Added a framework to run effects in several threads. Port most
of effects to this new framework.

Still some work to be done here (some effects are not so easy to port)

9 years agoCode cleanup: use defines instead of magic constants
Sergey Sharybin [Wed, 8 Aug 2012 16:46:44 +0000 (16:46 +0000)]
Code cleanup: use defines instead of magic constants

9 years agoSequencer: do not invalidate sequences which are not blending with bottom machines
Sergey Sharybin [Wed, 8 Aug 2012 16:46:43 +0000 (16:46 +0000)]
Sequencer: do not invalidate sequences which are not blending with bottom machines

9 years agoStyle cleanup: whitespace
Sergey Sharybin [Wed, 8 Aug 2012 16:46:42 +0000 (16:46 +0000)]
Style cleanup: whitespace

9 years agoSequencer: initial support of refreshing only changed sequences
Sergey Sharybin [Wed, 8 Aug 2012 16:46:40 +0000 (16:46 +0000)]
Sequencer: initial support of refreshing only changed sequences

Before this the the whole sequencer cache would be invalidated
when hanging sequence settings.

This was completely annoying because changing color balance
settings would re-load image file for which color balance
is happening on every change,

In fact it's still an issue if color balance is changing for
image strip itself, but if this strip has got effect and
color balance is changing for it file wouldn't be reloaded.

9 years agoimprovement to the DOF node, after blurring the radius buffer (derived from the depth...
Campbell Barton [Wed, 8 Aug 2012 16:46:12 +0000 (16:46 +0000)]
improvement to the DOF node, after blurring the radius buffer (derived from the depth), overlay with the original so pixels in focus are not mixed with out of focus pixels.

9 years agoSearch option for adding nodes.
Lukas Toenne [Wed, 8 Aug 2012 16:44:16 +0000 (16:44 +0000)]
Search option for adding nodes.

The 'Add' menu in the node editor now has an option 'Search' at the top, which opens a separate popup for searching node types by name.

The operator for this is implemented completely in Python (this could also be done for the regular menu-based Add options in the future). There are a few necessary extensions to the RNA as well:

* The View2D struct in regions is now exposed. Currently only contains converter functions for coordinates from the region to the view (i.e. scrolled and zoomed view space). Used for converting mouse location to node space.

* The SpaceNode exposes the existing 'cursor_location' for operators to store mouse position beyond invoke calls. Not used for anything else (transforms) so far.

* The edit_tree in SpaceNode is also exposed, this is needed for operators to work correctly inside node groups.

9 years agoDOF node: clamp blurring the zdepth radius buffer by the blur max. This could doo...
Campbell Barton [Wed, 8 Aug 2012 16:14:56 +0000 (16:14 +0000)]
DOF node: clamp blurring the zdepth radius buffer by the blur max. This could doo easily blur very high depths and cause artifacts.

9 years agodata_to_c in cmake, not used yet.
Campbell Barton [Wed, 8 Aug 2012 16:03:42 +0000 (16:03 +0000)]
data_to_c in cmake, not used yet.

9 years agoCode cleanup - whitespace
Joshua Leung [Wed, 8 Aug 2012 14:02:44 +0000 (14:02 +0000)]
Code cleanup - whitespace

9 years agoDisable saving property defaults for many of the properties for animation-editor
Joshua Leung [Wed, 8 Aug 2012 14:02:18 +0000 (14:02 +0000)]
Disable saving property defaults for many of the properties for animation-editor
click activated operators to prevent any further errors

9 years agoBugfix [#32250] Dubious selection mode in Dopesheet and Action Editor makes it
Joshua Leung [Wed, 8 Aug 2012 13:55:30 +0000 (13:55 +0000)]
Bugfix [#32250] Dubious selection mode in Dopesheet and Action Editor makes it
impossible to delete ungrouped channels

* Active flag wouldn't get cleared off selected Groups and FCurves when clicking
on them again to deselect them

* Disabled property defaults saving for click-handling operator for channels.
While testing the fix for this bug, I noticed that the property-defaults stuff
was leading to selections always defaulting to "extend" once this had been used

9 years agoMovie cache: add function to iterate through cache and remove items
Sergey Sharybin [Wed, 8 Aug 2012 12:16:46 +0000 (12:16 +0000)]
Movie cache: add function to iterate through cache and remove items
using custom check function for this.

Currently unused, but would be helpful for sequencer cache.

9 years agoFix logic error in mipmap filter and refactor scaling routine to lower self cost...
Sv. Lockal [Wed, 8 Aug 2012 12:15:26 +0000 (12:15 +0000)]
Fix logic error in mipmap filter and refactor scaling routine to lower self cost by ~30%

9 years agoCode cleanup: make some more functions more meaningful name
Sergey Sharybin [Wed, 8 Aug 2012 11:56:58 +0000 (11:56 +0000)]
Code cleanup: make some more functions more meaningful name

9 years agoStyle cleanup
Sergey Sharybin [Wed, 8 Aug 2012 11:52:14 +0000 (11:52 +0000)]
Style cleanup

9 years agoCode cleanup: BKE_ prefix for public sequencer functions
Sergey Sharybin [Wed, 8 Aug 2012 11:15:40 +0000 (11:15 +0000)]
Code cleanup: BKE_ prefix for public sequencer functions

9 years agoCode cleanup: remove redundant struct and some space cleanup
Sergey Sharybin [Wed, 8 Aug 2012 11:15:38 +0000 (11:15 +0000)]
Code cleanup: remove redundant struct and some space cleanup

9 years agoCode cleanup: remove unused functions
Sergey Sharybin [Wed, 8 Aug 2012 11:15:36 +0000 (11:15 +0000)]
Code cleanup: remove unused functions

The code would be in SVN anyway and having bunch of unused code
doesn't seems to be logical.

9 years agoStyle cleanup: white space
Sergey Sharybin [Wed, 8 Aug 2012 11:15:36 +0000 (11:15 +0000)]
Style cleanup: white space

9 years agoCode cleanup: mark functions as static, ifdef 0 some unused functions
Sergey Sharybin [Wed, 8 Aug 2012 11:15:32 +0000 (11:15 +0000)]
Code cleanup: mark functions as static, ifdef 0 some unused functions

9 years agofix for minor regression in own recent edits: sample line was drawing in newly create...
Campbell Barton [Wed, 8 Aug 2012 08:41:10 +0000 (08:41 +0000)]
fix for minor regression in own recent edits: sample line was drawing in newly created curve nodes (Hue correct).

9 years agoskip loading file selector icons when running in background mode.
Campbell Barton [Wed, 8 Aug 2012 08:25:20 +0000 (08:25 +0000)]
skip loading file selector icons when running in background mode.

9 years agoMerging r49667 through r49680 from trunk into soc-2011-tomato
Sergey Sharybin [Wed, 8 Aug 2012 08:21:58 +0000 (08:21 +0000)]
Merging r49667 through r49680 from trunk into soc-2011-tomato

9 years agoFix crash in cases when render layers node is muted
Sergey Sharybin [Wed, 8 Aug 2012 08:15:56 +0000 (08:15 +0000)]
Fix crash in cases when render layers node is muted

9 years agopatch [#32282] Fix segfault on exit in IM shutdown.
Campbell Barton [Wed, 8 Aug 2012 07:31:19 +0000 (07:31 +0000)]
patch [#32282] Fix segfault on exit in IM shutdown.

from Bill Currie (taniwha)

9 years agoAccidentally did a commit when I wanted to revert... (ignore my last revision)
Mitchell Stokes [Wed, 8 Aug 2012 01:29:20 +0000 (01:29 +0000)]
Accidentally did a commit when I wanted to revert... (ignore my last revision)

9 years ago(no commit message)
Mitchell Stokes [Wed, 8 Aug 2012 01:24:48 +0000 (01:24 +0000)]

9 years agouse -FLT_MAX where FLT_MIN was misused
Campbell Barton [Tue, 7 Aug 2012 19:49:38 +0000 (19:49 +0000)]
use -FLT_MAX where FLT_MIN was misused

9 years agominor edits to node view
Campbell Barton [Tue, 7 Aug 2012 18:45:24 +0000 (18:45 +0000)]
minor edits to node view
- when single (non frame) node selected, dont zoom in, just pan.
- only reset the background when pressing home key

9 years agofix for own error confusing FLT_MIN with -FLT_MAX (didnt get into a release, dont...
Campbell Barton [Tue, 7 Aug 2012 18:41:47 +0000 (18:41 +0000)]
fix for own error confusing FLT_MIN with -FLT_MAX (didnt get into a release, dont include in log)

9 years agoselect linked
Campbell Barton [Tue, 7 Aug 2012 17:20:21 +0000 (17:20 +0000)]
select linked
- dupligroup now only selects objects with dupligroup enabled.
- selected onjects are skipped, this way and undo push wont happen if no new objects are selected.

also minor edits to node view all/selected

9 years agoCode cleanup: use generic threaded image buffer processor for color management
Sergey Sharybin [Tue, 7 Aug 2012 16:55:15 +0000 (16:55 +0000)]
Code cleanup: use generic threaded image buffer processor for color management

9 years agoMerging r49659 through r49666 from trunk into soc-2011-tomato
Sergey Sharybin [Tue, 7 Aug 2012 16:48:43 +0000 (16:48 +0000)]
Merging r49659 through r49666 from trunk into soc-2011-tomato

9 years agoMade image buffer threaded processor generic function,
Sergey Sharybin [Tue, 7 Aug 2012 16:47:46 +0000 (16:47 +0000)]
Made image buffer threaded processor generic function,
so color management could use the same routines.

Should be no functional changes.

9 years agoadd view selected for node view
Campbell Barton [Tue, 7 Aug 2012 16:30:34 +0000 (16:30 +0000)]
add view selected for node view

9 years agoMade color balance in sequencer multi-threaded
Sergey Sharybin [Tue, 7 Aug 2012 16:09:42 +0000 (16:09 +0000)]
Made color balance in sequencer multi-threaded

Should give some more realtime update, but it's currently not the
biggest issue - changing color balance settings would imply reloading
of file which is slow. Would be investigated further.

This change shouldn't affect on pre-fetching job which is already
multi-threaded and doing threaded color balance would make things
only worse.

9 years agosvn merge ^/trunk/blender -r49653:49658
Campbell Barton [Tue, 7 Aug 2012 15:04:46 +0000 (15:04 +0000)]
svn merge ^/trunk/blender -r49653:49658

9 years agouse bilinear rather then bicubic scaling because bicubic blurs too much.
Campbell Barton [Tue, 7 Aug 2012 15:01:48 +0000 (15:01 +0000)]
use bilinear rather then bicubic scaling because bicubic blurs too much.

9 years agoPlace color weels used for color balance in sequencer vertically
Sergey Sharybin [Tue, 7 Aug 2012 14:59:49 +0000 (14:59 +0000)]
Place color weels used for color balance in sequencer vertically

This was it makes more sense from accurate tuning point of view.

9 years agoTomato Cycles:
Thomas Dinges [Tue, 7 Aug 2012 14:02:53 +0000 (14:02 +0000)]
Tomato Cycles:
* Improvement for reporting current sample.
Also show the current amount of rendered samples, when using the CPU, and 1x1 tiles.

9 years agoOSX/cmake: refactoring of setting endianess defines, this fixes compile of builds...
Jens Verwiebe [Tue, 7 Aug 2012 13:51:19 +0000 (13:51 +0000)]
OSX/cmake: refactoring of setting endianess defines, this fixes compile of builds with endianess other than the buildmachine and avoids also failing configuration with xcode 4.4 due not supporting big_endian archs anymore

9 years agosvn merge ^/trunk/blender -r49644:49653
Campbell Barton [Tue, 7 Aug 2012 13:38:35 +0000 (13:38 +0000)]
svn merge ^/trunk/blender -r49644:49653

9 years agomask - draw both sides of the curve when `filled` option is disabled.
Campbell Barton [Tue, 7 Aug 2012 13:37:16 +0000 (13:37 +0000)]
mask - draw both sides of the curve when `filled` option is disabled.

9 years agoTomato Cycles: report currently rendering sample when using GPU
Sergey Sharybin [Tue, 7 Aug 2012 13:27:19 +0000 (13:27 +0000)]
Tomato Cycles: report currently rendering sample when using GPU

Currently it makes more sense to use single tile for GPU rendering
and in this case tile-based progress report doesn't work well.

Since threading happens within single tile, it's possible to
detect currently computing sample and report it to the interface,

This also allows to display smoother progress when using CPU
with small amount of tiles.

9 years agoCode Cleanup:
Thomas Dinges [Tue, 7 Aug 2012 13:22:40 +0000 (13:22 +0000)]
Code Cleanup:
* Remove old comment, Internal Player is working again.

9 years agoFix knife stack overflow (bug #31907).
Howard Trickey [Tue, 7 Aug 2012 12:54:32 +0000 (12:54 +0000)]
Fix knife stack overflow (bug #31907).
The mutual recursion was removed: it was not needed.

9 years agoFix for fix, now nested
Jens Verwiebe [Tue, 7 Aug 2012 12:09:48 +0000 (12:09 +0000)]
Fix for fix, now nested

9 years agoFix for endiantest, xcode condition interferred with other os
Jens Verwiebe [Tue, 7 Aug 2012 12:03:43 +0000 (12:03 +0000)]
Fix for endiantest, xcode condition interferred with other os

9 years agoFix for particle influence textures. These now work with "Particle/Strand" input...
Lukas Toenne [Tue, 7 Aug 2012 10:54:50 +0000 (10:54 +0000)]
Fix for particle influence textures. These now work with "Particle/Strand" input coordinates, mapping the relative particle index into the [-1, 1] Y-coordinate range.

9 years agoOSX: disable kernels in cycles gpu again, would only work in 10.8 afaik
Jens Verwiebe [Tue, 7 Aug 2012 10:10:03 +0000 (10:10 +0000)]
OSX: disable kernels in cycles gpu again, would only work in 10.8 afaik

9 years agosvn merge ^/trunk/blender -r49638:49644
Campbell Barton [Tue, 7 Aug 2012 10:06:31 +0000 (10:06 +0000)]
svn merge ^/trunk/blender -r49638:49644

9 years agofix a crash when python is registering enum properties and the `items` argument is...
Campbell Barton [Tue, 7 Aug 2012 10:03:14 +0000 (10:03 +0000)]
fix a crash when python is registering enum properties and the `items` argument is a generator (some sequence type besides a list/typle), in this case it could free the strings before blender duplicates them.

this fixes [#32192] Import Images as Planes script is broken

9 years agoOSX/cmake: Mountain-Lion (10.8 )adaptions, skip unsupported endianess etc., todo...
Jens Verwiebe [Tue, 7 Aug 2012 10:02:34 +0000 (10:02 +0000)]
OSX/cmake: Mountain-Lion (10.8 )adaptions, skip unsupported endianess etc., todo: deployment target management

9 years agoCode cleanup: remove unused sample counter from render session
Sergey Sharybin [Tue, 7 Aug 2012 09:54:55 +0000 (09:54 +0000)]
Code cleanup: remove unused sample counter from render session

It's not used since new tile-based rendering and it was confusing
to have it in both session and tile manager.

Should be no functional changes.

9 years agoTomato Cycles: do not discard unfinished tiles on cancel
Sergey Sharybin [Tue, 7 Aug 2012 09:22:26 +0000 (09:22 +0000)]
Tomato Cycles: do not discard unfinished tiles on cancel

Do not discard (fill with black) tiles which are not fully rendered
(not all the samples are calculated for tile) when canceling render.

This could be helpful to tweak some settings when render glitch is
discovered. Also it could be used in such scenarios as setting
samples number to something really high and render still image
until result is reasonable, controlling this manually.

This could make cancel not so responsible on CPU, but it wouldn't
be less responsible than GPU, also could potentially give some
%% of speedup by avoiding checking cancel state after every pixel

9 years agospeedup to inpaint node in my tests was about ~30% for an optimized build.
Campbell Barton [Tue, 7 Aug 2012 09:20:30 +0000 (09:20 +0000)]
speedup to inpaint node in my tests was about ~30% for an optimized build.

also replace MIN/MAX2 with inline functions in transform.

9 years agoMerging r49635 through r49638 from trunk into soc-2011-tomato
Sergey Sharybin [Tue, 7 Aug 2012 07:59:48 +0000 (07:59 +0000)]
Merging r49635 through r49638 from trunk into soc-2011-tomato

9 years agoFix for drawing arrows on node lines between two reroute nodes. This was a typo in...
Lukas Toenne [Mon, 6 Aug 2012 20:48:08 +0000 (20:48 +0000)]
Fix for drawing arrows on node lines between two reroute nodes. This was a typo in r48762 which inverted the arrow scale.

9 years agosvn merge ^/trunk/blender -r49628:49634
Campbell Barton [Mon, 6 Aug 2012 19:37:35 +0000 (19:37 +0000)]
svn merge ^/trunk/blender -r49628:49634

9 years agoremove unused mask pointer
Campbell Barton [Mon, 6 Aug 2012 19:31:34 +0000 (19:31 +0000)]
remove unused mask pointer

9 years agoSwitching images in the image space would modify UV coordinates.
Campbell Barton [Mon, 6 Aug 2012 19:28:22 +0000 (19:28 +0000)]
Switching images in the image space would modify UV coordinates.

This is an intended feature but works too unreliably.

- This setting was stored in each face and only editable by re-running the unwrap, this is too hidden (only discovered this by reading code).
- This worked with blender internal but not with cycles, such basic options as changing an image shouldn't behave different depending on the render engine selected.

I've ifdef'd out the aspect correction for now, it could be added back as a per scene option and be made to run on both cycles or blender internal but for now I prefer to keep this disabled.

9 years agoAdding "inpaint" as allowed words...
Bastien Montagne [Mon, 6 Aug 2012 19:19:51 +0000 (19:19 +0000)]
Adding "inpaint" as allowed words...

9 years agoTile fix: Use the validity flag in node links directly instead of the indirect node...
Lukas Toenne [Mon, 6 Aug 2012 19:11:59 +0000 (19:11 +0000)]
Tile fix: Use the validity flag in node links directly instead of the indirect node level check for cyclic links to avoid crash in cases of invalid links, which can be created in some situations (reroute nodes). The link flag may have been set by additional constraints. It is much simpler to use and avoids the redundant check.