blender.git
9 years agosvn merge ^/trunk/blender -r49854:49867
Campbell Barton [Mon, 13 Aug 2012 09:35:11 +0000 (09:35 +0000)]
svn merge ^/trunk/blender -r49854:49867

9 years agoadd animation buttons to mask toolbar
Campbell Barton [Mon, 13 Aug 2012 09:13:19 +0000 (09:13 +0000)]
add animation buttons to mask toolbar

9 years agoadd hook now has option to add to active bone (mango request).
Campbell Barton [Mon, 13 Aug 2012 08:54:33 +0000 (08:54 +0000)]
add hook now has option to add to active bone (mango request).

9 years agocode cleanup: includes for imbuf, also remove double promotion.
Campbell Barton [Sun, 12 Aug 2012 23:28:33 +0000 (23:28 +0000)]
code cleanup: includes for imbuf, also remove double promotion.

9 years agoBugfix Cloth: Hooks were broken by recent changes.
Daniel Genrich [Sun, 12 Aug 2012 22:54:35 +0000 (22:54 +0000)]
Bugfix Cloth: Hooks were broken by recent changes.

This makes it looks like if part 1 of the Dynamic Paint regression blend file fails, but actually it's correct.

9 years agofix [#32126] STAMP: Setting a background color causes color flicker
Campbell Barton [Sun, 12 Aug 2012 22:50:21 +0000 (22:50 +0000)]
fix [#32126] STAMP: Setting a background color causes color flicker

when rendering the sequencer can output float or char buffers which stamp wasn't accounting for.

9 years agofix for stamp text drawing into a color buffer not taking color management into account.
Campbell Barton [Sun, 12 Aug 2012 22:18:20 +0000 (22:18 +0000)]
fix for stamp text drawing into a color buffer not taking color management into account.

9 years agostyle cleanup
Campbell Barton [Sun, 12 Aug 2012 21:46:35 +0000 (21:46 +0000)]
style cleanup

9 years agoconfusion minf/fmin, broke msvc
Campbell Barton [Sun, 12 Aug 2012 19:41:47 +0000 (19:41 +0000)]
confusion minf/fmin, broke msvc

9 years ago2d smoothview now scales back the time to move for smaller view zoom/panning.
Campbell Barton [Sun, 12 Aug 2012 19:35:47 +0000 (19:35 +0000)]
2d smoothview now scales back the time to move for smaller view zoom/panning.

also the compositor bounds (used for scroll bars), were only calculated when pressing the home key in 2.63, how this is updated on draw

9 years agoMerging r49840 through r49854 from trunk into soc-2011-tomato
Sergey Sharybin [Sun, 12 Aug 2012 18:39:05 +0000 (18:39 +0000)]
Merging r49840 through r49854 from trunk into soc-2011-tomato

9 years agoResolve issues with color balance not updating properly in sequencer
Sergey Sharybin [Sun, 12 Aug 2012 18:38:01 +0000 (18:38 +0000)]
Resolve issues with color balance not updating properly in sequencer
when float images are used.

9 years agoCorrection to one of previous commits
Sergey Sharybin [Sun, 12 Aug 2012 18:24:01 +0000 (18:24 +0000)]
Correction to one of previous commits

9 years agoFix own mistake: Space got stripped before path
Daniel Genrich [Sun, 12 Aug 2012 18:01:27 +0000 (18:01 +0000)]
Fix own mistake: Space got stripped before path

9 years agoEl Topo: Fix missing includes (Scons + Cmake)
Daniel Genrich [Sun, 12 Aug 2012 17:56:52 +0000 (17:56 +0000)]
El Topo: Fix missing includes (Scons + Cmake)

9 years agoinpaint node now blend inpaint pixels with existing alpha, this makes soft alpha...
Campbell Barton [Sun, 12 Aug 2012 17:31:42 +0000 (17:31 +0000)]
inpaint node now blend inpaint pixels with existing alpha, this makes soft alpha blends inpaint look nicer.

also dont assign 1.0 alpha for parts of the image not inpaint'ed, this way you can maintain some alpha in the image.

9 years agofixed: [#32240] Collada import when nodes share geometry but not material
Gaia Clary [Sun, 12 Aug 2012 17:13:07 +0000 (17:13 +0000)]
fixed: [#32240] Collada import when nodes share geometry but not material

9 years agonew parameter in assign_material() to specify where material shall be assigned: objec...
Gaia Clary [Sun, 12 Aug 2012 17:12:07 +0000 (17:12 +0000)]
new parameter in assign_material() to specify where material shall be assigned: object, obdata, by userpref(default) (as discussed with ideasman_42)

9 years agoavoid divide by zero for the inpaint node.
Campbell Barton [Sun, 12 Aug 2012 17:10:56 +0000 (17:10 +0000)]
avoid divide by zero for the inpaint node.

9 years agofix for own error in datatoc.c - data wasn't NULL terminated, in some cases this...
Campbell Barton [Sun, 12 Aug 2012 16:51:51 +0000 (16:51 +0000)]
fix for own error in datatoc.c - data wasn't NULL terminated, in some cases this is expected (broke GLSL shaders).

9 years ago== Inpaint Node ==
Peter Schlaile [Sun, 12 Aug 2012 15:59:40 +0000 (15:59 +0000)]
== Inpaint Node ==

Fixed several small (stupid) issues with the inpaint node:

* on pixel order building, some ranges got wrong and origin was considered
  several times.

* the convolution kernel didn't consider all pixels (+1,0),(-1,0),(0,1) and (0-1)
  were omited, leading to suboptimal results (sometimes even black areas)

* alpha channel is now only affected an areas considered by inpaint.
  That's only important, if you choose low iteration counts.

9 years agoreplace ELEM8(gs, ID_ME, ID_CU, ID_MB, ID_LT, ID_LA, ID_CA, ID_TXT, ID_SPK) with...
Campbell Barton [Sun, 12 Aug 2012 14:57:19 +0000 (14:57 +0000)]
replace ELEM8(gs, ID_ME, ID_CU, ID_MB, ID_LT, ID_LA, ID_CA, ID_TXT, ID_SPK) with macro: OB_DATA_SUPPORT_ID()

9 years agoMerging r49834 through r49839 from trunk into soc-2011-tomato
Sergey Sharybin [Sun, 12 Aug 2012 13:38:46 +0000 (13:38 +0000)]
Merging r49834 through r49839 from trunk into soc-2011-tomato

9 years agoSequencer: free cache used by sequence when removing strip
Sergey Sharybin [Sun, 12 Aug 2012 13:29:57 +0000 (13:29 +0000)]
Sequencer: free cache used by sequence when removing strip

Before this removing and adding new strip could have been lead
into situations when new sequence would use old cache.

9 years agoSequencer: overlay display type options
Sergey Sharybin [Sun, 12 Aug 2012 13:24:29 +0000 (13:24 +0000)]
Sequencer: overlay display type options

Before this overlay would happen only for defined rectangle area,
now it's possible to show current / reference frames only, which
makes it possible to do more real slit view involving even displaying
frames on different monitors.

Still some work need to be done to clean interface up and support
displaying color information for reference shot.

9 years agoTomato Cycles:
Thomas Dinges [Sun, 12 Aug 2012 12:47:32 +0000 (12:47 +0000)]
Tomato Cycles:
*Typo fix.

9 years agoNDOF navigation support for clip editor
Sergey Sharybin [Sun, 12 Aug 2012 12:15:23 +0000 (12:15 +0000)]
NDOF navigation support for clip editor

9 years agoTomato Cycles: use actual number of tiles for viewport rendering
Sergey Sharybin [Sun, 12 Aug 2012 11:58:34 +0000 (11:58 +0000)]
Tomato Cycles: use actual number of tiles for viewport rendering

Before this debug_tile_size was used as a size of tile, which
became hidden property since tile-based rendering implementation
and couldn't have been controlled.

This resolves the issue with single thread used for viewport
rendering in some cases. Also it makes possible to control tiles
for CUDA viewport rendering, which still behaves much faster when
using the single tile.

Also fixed issue with minimal tile size which was used to calculate
divider of final resolution to be used for initial rendering. Now
it's a Resolution Divider property in Performance tab. This option
could be used to tweak initial resolution of viewport for faster
navigation or faster refresh when changing some properties.

9 years agoMerging r49815 through r49833 from trunk into soc-2011-tomato
Sergey Sharybin [Sun, 12 Aug 2012 10:07:55 +0000 (10:07 +0000)]
Merging r49815 through r49833 from trunk into soc-2011-tomato

9 years agoFix #32313: freetype fails to load PFB builtin font
Sergey Sharybin [Sun, 12 Aug 2012 10:03:33 +0000 (10:03 +0000)]
Fix #32313: freetype fails to load PFB builtin font

File was incorrectly generated form C data.

9 years agoFix sequencer crash when invalidating strip when there's nothing cached yet
Sergey Sharybin [Sun, 12 Aug 2012 09:37:51 +0000 (09:37 +0000)]
Fix sequencer crash when invalidating strip when there's nothing cached yet

9 years agoFix El Topo compile with scons (win32 + linux - both untested)
Daniel Genrich [Sun, 12 Aug 2012 01:47:14 +0000 (01:47 +0000)]
Fix El Topo compile with scons (win32 + linux - both untested)

9 years agosmooth-view for 2d views, graph editor, sequencer, node view, works with border zoom...
Campbell Barton [Sun, 12 Aug 2012 01:07:31 +0000 (01:07 +0000)]
smooth-view for 2d views, graph editor, sequencer, node view, works with border zoom, view selected, view all.

9 years agoFix El Topo compile with scons (only win64 so far)
Daniel Genrich [Sun, 12 Aug 2012 00:19:55 +0000 (00:19 +0000)]
Fix El Topo compile with scons (only win64 so far)

9 years agostyle cleanup
Campbell Barton [Sat, 11 Aug 2012 22:12:32 +0000 (22:12 +0000)]
style cleanup

9 years agocode cleanup: WM naming conventions
Campbell Barton [Sat, 11 Aug 2012 21:35:24 +0000 (21:35 +0000)]
code cleanup: WM naming conventions

9 years agodefault player was still set to 2.4x, default to internal (thought this was changed...
Campbell Barton [Sat, 11 Aug 2012 18:58:30 +0000 (18:58 +0000)]
default player was still set to 2.4x, default to internal (thought this was changed in previous commit).

9 years agorename full viewport and disable manipulator
Campbell Barton [Sat, 11 Aug 2012 18:54:45 +0000 (18:54 +0000)]
rename full viewport and disable manipulator

9 years agofix for own error with opencl bokeh blur.
Campbell Barton [Sat, 11 Aug 2012 18:47:09 +0000 (18:47 +0000)]
fix for own error with opencl bokeh blur.

9 years agominor improvements to cmake's datatoc usage, now changes to datatoc.c re-make generat...
Campbell Barton [Sat, 11 Aug 2012 18:39:38 +0000 (18:39 +0000)]
minor improvements to cmake's datatoc usage, now changes to datatoc.c re-make generated files.

9 years agoMerging r49808 through r49814 from trunk into soc-2011-tomato
Sergey Sharybin [Sat, 11 Aug 2012 18:25:45 +0000 (18:25 +0000)]
Merging r49808 through r49814 from trunk into soc-2011-tomato

9 years agoadd back datatoc, use this instead of cmake script which was too slow.
Campbell Barton [Sat, 11 Aug 2012 16:25:31 +0000 (16:25 +0000)]
add back datatoc, use this instead of cmake script which was too slow.

9 years agoFix #32306: Applying location or rotation scales sculpt data
Sergey Sharybin [Sat, 11 Aug 2012 16:20:30 +0000 (16:20 +0000)]
Fix #32306: Applying location or rotation scales sculpt data

9 years agoremove all remaining data files from source, now all are converted at build time.
Campbell Barton [Sat, 11 Aug 2012 15:24:31 +0000 (15:24 +0000)]
remove all remaining data files from source, now all are converted at build time.

note: this is currently very slow in cmake, will address this next.

9 years agogenerate brush icons C files at build time.
Campbell Barton [Sat, 11 Aug 2012 14:40:09 +0000 (14:40 +0000)]
generate brush icons C files at build time.

9 years agoMerging r49775 through r49807 from trunk into soc-2011-tomato
Sergey Sharybin [Sat, 11 Aug 2012 14:39:09 +0000 (14:39 +0000)]
Merging r49775 through r49807 from trunk into soc-2011-tomato

9 years agoStyle cleanup: whitespace and line breaks
Sergey Sharybin [Sat, 11 Aug 2012 14:38:02 +0000 (14:38 +0000)]
Style cleanup: whitespace and line breaks

9 years agoSequencer: support for masked color balance
Sergey Sharybin [Sat, 11 Aug 2012 14:37:58 +0000 (14:37 +0000)]
Sequencer: support for masked color balance

This implements option which could be used to color balance only
specified area. Currently done by adding Mask input to Adjustment
effect. Affects on color balance and multiply settings.

Supporting masked saturation control is in the list, not supported
in this commit.

Also show value slider in the right of color wheel.

9 years agosimplified data_to_c macro in cmake
Campbell Barton [Sat, 11 Aug 2012 13:32:19 +0000 (13:32 +0000)]
simplified data_to_c macro in cmake

9 years agogenerate glsl shaders c files at build time.
Campbell Barton [Sat, 11 Aug 2012 13:01:44 +0000 (13:01 +0000)]
generate glsl shaders c files at build time.

9 years agostartup.blend and preview.blend are now converted to C at build time.
Campbell Barton [Sat, 11 Aug 2012 12:26:43 +0000 (12:26 +0000)]
startup.blend and preview.blend are now converted to C at build time.

made some changes to startup.c
- change default player to internal since its working now.
- added new screen for full screen 3d viewport (nice for demo's and navigating)
- disable cursor depth option (was enabled by default because of re-used flag)

9 years agoadd MEM_recallocN(), so bytes are ensured to be zero'd when growing.
Campbell Barton [Sat, 11 Aug 2012 12:16:09 +0000 (12:16 +0000)]
add MEM_recallocN(), so bytes are ensured to be zero'd when growing.

9 years agoCode cleanup and minor change to CMake's colalda detection to make
Sergey Sharybin [Sat, 11 Aug 2012 10:32:27 +0000 (10:32 +0000)]
Code cleanup and minor change to CMake's colalda detection to make
it detect directory structure used for libs in our svn (<root>/include/<component>/include)

9 years agodocs for window structs
Campbell Barton [Sat, 11 Aug 2012 01:05:09 +0000 (01:05 +0000)]
docs for window structs

9 years agofix for minor UI annoyance - when the window is fullscreen now dont draw area corners...
Campbell Barton [Sat, 11 Aug 2012 00:05:57 +0000 (00:05 +0000)]
fix for minor UI annoyance - when the window is fullscreen now dont draw area corners since areas cant be split when fullscreen.

9 years agoFix effect settings panel for adjustment effect
Sergey Sharybin [Fri, 10 Aug 2012 16:07:13 +0000 (16:07 +0000)]
Fix effect settings panel for adjustment effect

Since r46801 options used for this effect were moved to input panel.

9 years agosvn merge ^/trunk/blender -r49763:49774
Campbell Barton [Fri, 10 Aug 2012 15:45:09 +0000 (15:45 +0000)]
svn merge ^/trunk/blender -r49763:49774

9 years agocompositor: bokeh blur size input can now be an image, in this case it uses VariableS...
Campbell Barton [Fri, 10 Aug 2012 15:31:54 +0000 (15:31 +0000)]
compositor: bokeh blur size input can now be an image, in this case it uses VariableSizeBokehBlurOperation class internally.

updated opencl too.

9 years agoFix infinite recursion when using adjustment strip placed to channel 1
Sergey Sharybin [Fri, 10 Aug 2012 15:30:38 +0000 (15:30 +0000)]
Fix infinite recursion when using adjustment strip placed to channel 1

9 years agofix own error with scons, building failed when BF_BUILDDIR was absolute.
Campbell Barton [Fri, 10 Aug 2012 15:25:54 +0000 (15:25 +0000)]
fix own error with scons, building failed when BF_BUILDDIR was absolute.

9 years agocode cleanup: compositor - define size for executePixel function output float array
Campbell Barton [Fri, 10 Aug 2012 14:07:24 +0000 (14:07 +0000)]
code cleanup: compositor - define size for executePixel function output float array

9 years agouse define for bokeh blur size, also define size of determineResolution args.
Campbell Barton [Fri, 10 Aug 2012 13:23:31 +0000 (13:23 +0000)]
use define for bokeh blur size, also define size of determineResolution args.

9 years agoFix building with audaspace disabled
Sergey Sharybin [Fri, 10 Aug 2012 12:56:09 +0000 (12:56 +0000)]
Fix building with audaspace disabled

9 years agoadd asserts in MemoryBuffer.readNoCheck() so it raises an error when used incorrectly...
Campbell Barton [Fri, 10 Aug 2012 12:38:53 +0000 (12:38 +0000)]
add asserts in MemoryBuffer.readNoCheck() so it raises an error when used incorrectly in debug mode.

9 years agofix [#32289] Border Zoom, Zoom Border or Zoom to Border?
Campbell Barton [Fri, 10 Aug 2012 11:43:53 +0000 (11:43 +0000)]
fix [#32289] Border Zoom, Zoom Border or Zoom to Border?

pedantic report but may as well name them the same.

9 years agofix [#32300] Convex Hull Poll Shouldn't Require 3D View
Campbell Barton [Fri, 10 Aug 2012 11:38:52 +0000 (11:38 +0000)]
fix [#32300] Convex Hull Poll Shouldn't Require 3D View

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: http://wiki.blender.org/uploads/a/ab/Cloth_dynamic_paint.blend

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 COM_OpenCLKernels.cl.h automatically at build time, this allows editing...
Campbell Barton [Thu, 9 Aug 2012 19:59:36 +0000 (19:59 +0000)]
generate COM_OpenCLKernels.cl.h automatically at build time, this allows editing COM_OpenCLKernels.cl 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: http://wiki.blender.org/uploads/b/b8/Cloth_anim_vertex.blend

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.