Thomas Dinges [Tue, 14 Aug 2012 16:53:40 +0000 (16:53 +0000)]
Cmake / Windows:
* Fix for Python include path when using msvc 2010.
Campbell Barton [Tue, 14 Aug 2012 15:38:10 +0000 (15:38 +0000)]
fix [#32299] 16bit float texture + 'Quick Edit' gives wrong result
Campbell Barton [Tue, 14 Aug 2012 14:31:39 +0000 (14:31 +0000)]
add variable size option to bokeh blur node, remove f_stop option (it wasnt used), and add `blur_max` to the interface.
Campbell Barton [Tue, 14 Aug 2012 12:39:12 +0000 (12:39 +0000)]
rename blur `Reference` to `Variable Size`, improve tooltip
Campbell Barton [Tue, 14 Aug 2012 12:17:06 +0000 (12:17 +0000)]
fix for recent commit - would crash adding materials on an object without any.
Campbell Barton [Tue, 14 Aug 2012 11:17:06 +0000 (11:17 +0000)]
use vector for color operation internal storage.
Campbell Barton [Tue, 14 Aug 2012 11:05:26 +0000 (11:05 +0000)]
fix [#32324] regression: node group with missing ID crashes new tile node system.
node groups with no ID now output magenta so it doesnt silently fail.
Campbell Barton [Tue, 14 Aug 2012 08:44:35 +0000 (08:44 +0000)]
code cleanup: reduce calling sqrt() when distances are only calculated for comparison use dist_squared_to_line_segment_v2().
Campbell Barton [Tue, 14 Aug 2012 08:24:49 +0000 (08:24 +0000)]
fix [#32315] Circle select unreliable when in vertex+edge select mode
dist_squared_to_line_segment_v2() was returning the sqrt'd value in some cases.
also use int's for edge_inside_circle() rather then shorts since it was doing int/float/short conversions and we're now using int's for screen vars in more places.
Gaia Clary [Mon, 13 Aug 2012 20:20:49 +0000 (20:20 +0000)]
improved wording for tooltip
Mitchell Stokes [Mon, 13 Aug 2012 20:16:55 +0000 (20:16 +0000)]
Fix for [#32320] "Image browser in UV/image Editor makes Blender crash at exit when .dds image is loaded" reported by Christian Monfort (gulbroz), who also provided the patch to fix the problem. The problem was a double free with some dds buffer data.
Campbell Barton [Mon, 13 Aug 2012 17:36:29 +0000 (17:36 +0000)]
draw ugly red bands on a sequence strip when its data cant be found (mask, clip, scene, sound)
Campbell Barton [Mon, 13 Aug 2012 17:25:03 +0000 (17:25 +0000)]
fix for missing NULL checks when sequence-strip pointers become NULL because of problems with library linking.
Campbell Barton [Mon, 13 Aug 2012 16:03:48 +0000 (16:03 +0000)]
style cleanup
Campbell Barton [Mon, 13 Aug 2012 15:17:15 +0000 (15:17 +0000)]
style cleanup: use <pre> for doxygen ascii art
Campbell Barton [Mon, 13 Aug 2012 11:01:27 +0000 (11:01 +0000)]
minor edits to r49870
Jeroen Bakker [Mon, 13 Aug 2012 10:56:36 +0000 (10:56 +0000)]
Fix for [#32220] regression - DistortionCache is never freed.
* at max 10 cache items will be available. Items will be removed by
latest usage.
* number of cached items can be adjusted in code
* added deinitialization of compositor when blender exists.
* updated scons and cmake build files
Sergey Sharybin [Mon, 13 Aug 2012 09:47:45 +0000 (09:47 +0000)]
Sequencer: corrections to default values of some properties
Campbell Barton [Mon, 13 Aug 2012 09:13:19 +0000 (09:13 +0000)]
add animation buttons to mask toolbar
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).
Campbell Barton [Sun, 12 Aug 2012 23:28:33 +0000 (23:28 +0000)]
code cleanup: includes for imbuf, also remove double promotion.
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.
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.
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.
Campbell Barton [Sun, 12 Aug 2012 21:46:35 +0000 (21:46 +0000)]
style cleanup
Campbell Barton [Sun, 12 Aug 2012 19:41:47 +0000 (19:41 +0000)]
confusion minf/fmin, broke msvc
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
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.
Sergey Sharybin [Sun, 12 Aug 2012 18:24:01 +0000 (18:24 +0000)]
Correction to one of previous commits
Daniel Genrich [Sun, 12 Aug 2012 18:01:27 +0000 (18:01 +0000)]
Fix own mistake: Space got stripped before path
Daniel Genrich [Sun, 12 Aug 2012 17:56:52 +0000 (17:56 +0000)]
El Topo: Fix missing includes (Scons + Cmake)
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.
Gaia Clary [Sun, 12 Aug 2012 17:13:07 +0000 (17:13 +0000)]
fixed: [#32240] Collada import when nodes share geometry but not material
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)
Campbell Barton [Sun, 12 Aug 2012 17:10:56 +0000 (17:10 +0000)]
avoid divide by zero for the inpaint node.
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).
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()
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.
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.
Sergey Sharybin [Sun, 12 Aug 2012 12:15:23 +0000 (12:15 +0000)]
NDOF navigation support for clip editor
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.
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
Daniel Genrich [Sun, 12 Aug 2012 01:47:14 +0000 (01:47 +0000)]
Fix El Topo compile with scons (win32 + linux - both untested)
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.
Daniel Genrich [Sun, 12 Aug 2012 00:19:55 +0000 (00:19 +0000)]
Fix El Topo compile with scons (only win64 so far)
Campbell Barton [Sat, 11 Aug 2012 22:12:32 +0000 (22:12 +0000)]
style cleanup
Campbell Barton [Sat, 11 Aug 2012 21:35:24 +0000 (21:35 +0000)]
code cleanup: WM naming conventions
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).
Campbell Barton [Sat, 11 Aug 2012 18:54:45 +0000 (18:54 +0000)]
rename full viewport and disable manipulator
Campbell Barton [Sat, 11 Aug 2012 18:47:09 +0000 (18:47 +0000)]
fix for own error with opencl bokeh blur.
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.
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.
Sergey Sharybin [Sat, 11 Aug 2012 16:20:30 +0000 (16:20 +0000)]
Fix #32306: Applying location or rotation scales sculpt data
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.
Campbell Barton [Sat, 11 Aug 2012 14:40:09 +0000 (14:40 +0000)]
generate brush icons C files at build time.
Sergey Sharybin [Sat, 11 Aug 2012 14:38:02 +0000 (14:38 +0000)]
Style cleanup: whitespace and line breaks
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.
Campbell Barton [Sat, 11 Aug 2012 13:32:19 +0000 (13:32 +0000)]
simplified data_to_c macro in cmake
Campbell Barton [Sat, 11 Aug 2012 13:01:44 +0000 (13:01 +0000)]
generate glsl shaders c files 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)
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.
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)
Campbell Barton [Sat, 11 Aug 2012 01:05:09 +0000 (01:05 +0000)]
docs for window structs
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.
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.
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.
Sergey Sharybin [Fri, 10 Aug 2012 15:30:38 +0000 (15:30 +0000)]
Fix infinite recursion when using adjustment strip placed to channel 1
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.
Campbell Barton [Fri, 10 Aug 2012 14:07:24 +0000 (14:07 +0000)]
code cleanup: compositor - define size for executePixel function output float array
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.
Sergey Sharybin [Fri, 10 Aug 2012 12:56:09 +0000 (12:56 +0000)]
Fix building with audaspace disabled
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.
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.
Campbell Barton [Fri, 10 Aug 2012 11:38:52 +0000 (11:38 +0000)]
fix [#32300] Convex Hull Poll Shouldn't Require 3D View
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.
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.
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.
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.
Sergey Sharybin [Fri, 10 Aug 2012 08:51:34 +0000 (08:51 +0000)]
Fix wrong tracks list used for search in Follow Track constraint
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.
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.
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).
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
Thomas Dinges [Thu, 9 Aug 2012 23:00:57 +0000 (23:00 +0000)]
Cycles Test App:
* Fix for changes in the OpenImageIO API.
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.
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.
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.
Sergey Sharybin [Thu, 9 Aug 2012 16:56:42 +0000 (16:56 +0000)]
Fixed typo in clip's display aspect usage
Campbell Barton [Thu, 9 Aug 2012 15:59:32 +0000 (15:59 +0000)]
use sensor size when calculating dof rather then hard coded values.
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.
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.
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.
Sergey Sharybin [Thu, 9 Aug 2012 09:36:53 +0000 (09:36 +0000)]
Remove redundant referenced to bf_intern_bop
Campbell Barton [Wed, 8 Aug 2012 21:20:10 +0000 (21:20 +0000)]
code cleanup: ensure macros require ';' endings
Campbell Barton [Wed, 8 Aug 2012 20:38:55 +0000 (20:38 +0000)]
utility functions for getting/setting rectangles for operators.
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
Campbell Barton [Wed, 8 Aug 2012 18:37:06 +0000 (18:37 +0000)]
code cleanup: rename G.afbreek --> is_break, G.rendering --> is_rendering
Campbell Barton [Wed, 8 Aug 2012 18:21:54 +0000 (18:21 +0000)]
code cleanup: rename G.rt to G.debug_value
Campbell Barton [Wed, 8 Aug 2012 18:10:13 +0000 (18:10 +0000)]
add threshold blending to opencl too.
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.