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 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 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 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 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 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 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 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 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 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 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 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 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 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%