Campbell Barton [Tue, 21 Aug 2012 10:44:10 +0000 (10:44 +0000)]
code cleanup: minor changes to last commit.
Sergey Sharybin [Tue, 21 Aug 2012 10:42:21 +0000 (10:42 +0000)]
Sequencer: invalidate current frame cache on sequence transform
Campbell Barton [Tue, 21 Aug 2012 10:39:02 +0000 (10:39 +0000)]
code cleanup: vfont's used confusing and over complicated method of storing memory for loaded fonts, not store as a temp var in the fonts.
Brecht Van Lommel [Tue, 21 Aug 2012 10:24:30 +0000 (10:24 +0000)]
Fix #32370: compiler error in wm_playanim.c due to conflicting Carbon ID type
from Quicktime headers. However the Quicktime init/exit is no longer needed
here, it happens in IMB_init/IMB_exit now, so removed that code.
Campbell Barton [Tue, 21 Aug 2012 09:45:30 +0000 (09:45 +0000)]
code cleanup: includes and correction for macro
Campbell Barton [Tue, 21 Aug 2012 09:20:35 +0000 (09:20 +0000)]
mask: skip self intersection on drawing when fill is disabled, since it was only drawing on one side of an unfilled spline.
Campbell Barton [Tue, 21 Aug 2012 08:58:47 +0000 (08:58 +0000)]
code cleanup: some legacy compo nodes were not ifdef'd
Campbell Barton [Tue, 21 Aug 2012 08:47:36 +0000 (08:47 +0000)]
code cleanup: don't use magic numbers for curve flag & use bool args for curvemapping_changed()
Campbell Barton [Tue, 21 Aug 2012 08:30:45 +0000 (08:30 +0000)]
compositor color curve was MEM_dupallocN'ing the curve for every pixel calculation (when there were black or white inputs on the curve node).
avoid allocation by using local vars for black/white storage & curve calculation.
Campbell Barton [Tue, 21 Aug 2012 08:20:32 +0000 (08:20 +0000)]
code cleanup: use math functions for curve compo code.
Campbell Barton [Mon, 20 Aug 2012 23:06:17 +0000 (23:06 +0000)]
code cleanup: use BLI_RCT_SIZE macro
Thomas Dinges [Mon, 20 Aug 2012 20:13:37 +0000 (20:13 +0000)]
Legacy Compositor / Scons:
* Added WITH_BF_COMPOSITOR_LEGACY, enabled per default.
Thomas Dinges [Mon, 20 Aug 2012 19:40:49 +0000 (19:40 +0000)]
Cycles / Cmake:
* Removed last instance of "BLENDER_PLUGIN" define, removed in r39465 in the cycles branch.
Campbell Barton [Mon, 20 Aug 2012 16:56:11 +0000 (16:56 +0000)]
HDR color picker now works in the clip space.
Campbell Barton [Mon, 20 Aug 2012 16:34:14 +0000 (16:34 +0000)]
fix for mask feather intersection checks not working right for non-filled, feathered masks.
now do intersection checks for both sides of the feather.
Campbell Barton [Mon, 20 Aug 2012 15:29:02 +0000 (15:29 +0000)]
macros for rectangle center and size
Sergey Sharybin [Mon, 20 Aug 2012 15:14:23 +0000 (15:14 +0000)]
Sequencer: fix regression introduced in own previous commit
Invalidate preprocessed cache when when global sequencer cache is
begin invalidated.
This is needed so scene would be rendered with a proper settings,
not taken from preprocess cache.
Campbell Barton [Mon, 20 Aug 2012 13:59:19 +0000 (13:59 +0000)]
minor cleanup to node pasting.
Campbell Barton [Mon, 20 Aug 2012 13:51:25 +0000 (13:51 +0000)]
fix for crash pasting nodes into a node tree when the ID pointer is lost.
also fix for ID user count on paste which wasn't increasing.
Sergey Sharybin [Mon, 20 Aug 2012 10:56:19 +0000 (10:56 +0000)]
Sequencer: skip adding ImBuf to cache when it failed to render
Sergey Sharybin [Mon, 20 Aug 2012 10:15:32 +0000 (10:15 +0000)]
Sequencer: Python API for sequence modifiers
Campbell Barton [Mon, 20 Aug 2012 10:14:11 +0000 (10:14 +0000)]
fix for own error in bpy.utils.blend_paths() arg parsing.
Campbell Barton [Mon, 20 Aug 2012 07:29:11 +0000 (07:29 +0000)]
quiet unused function warnings in RNA for functions created by macros.
Campbell Barton [Mon, 20 Aug 2012 00:11:13 +0000 (00:11 +0000)]
added 'Unselected' option to remove doubles, merges selected vertices into unselected ones, but not each other.
Campbell Barton [Sun, 19 Aug 2012 23:36:29 +0000 (23:36 +0000)]
disabling the compositor legacy build option now ifdef's exec() functions.
Campbell Barton [Sun, 19 Aug 2012 22:19:19 +0000 (22:19 +0000)]
option to build without the legacy compositor
Campbell Barton [Sun, 19 Aug 2012 21:32:18 +0000 (21:32 +0000)]
copy as script operator for the console, so you can copy input from a console for use in a textblock.
Dalai Felinto [Sun, 19 Aug 2012 20:45:34 +0000 (20:45 +0000)]
patch/bugfix [#32006] Fix for Collision Sensor - R6025 pure virtual function call crash when deleting objects in overlay scene by Jay Parker(battery) Fix for bug [#30477] Collision Sensor - R6025 pure virtual function call crash
Nicholas Bishop [Sun, 19 Aug 2012 17:13:45 +0000 (17:13 +0000)]
Fix crash when adding skin modifier to empty mesh
Fixes bug [#32362] SIGSEGV when adding skin modifier to empty mesh
projects.blender.org/tracker/?func=detail&atid=498&aid=32362&group_id=9
Campbell Barton [Sun, 19 Aug 2012 15:56:49 +0000 (15:56 +0000)]
- fix for error in ndof patch.
- ColorBalanceModifierData wasn't aligned on 32bit systems.
- BM_vert_find_first_loop() was missing NULL check.
Sergey Sharybin [Sun, 19 Aug 2012 15:41:56 +0000 (15:41 +0000)]
Sequencer: per-sequence modifier stack for color grading
This implements basic color grading modifiers in sequencer, supporting
color balance, RGB curves and HUE corrections.
Implementation is close to object modifiers, some details are there:
http://wiki.blender.org/index.php/User:Nazg-gul/SequencerModifiers
Modifiers supports multi-threaded calculation, masks and instant
parameter changes.
Also added cache for pre-processed image buffers for current frame,
so changing sequence properties does not require rendering of original
sequence (like rendering scene, loading file from disk and so)
Campbell Barton [Sun, 19 Aug 2012 15:28:24 +0000 (15:28 +0000)]
spelling cleanup: spelling corrections from user zeffii on IRC.
Sergey Sharybin [Sun, 19 Aug 2012 13:52:36 +0000 (13:52 +0000)]
Patch #32326: NDOF support of rotation and panning the view at the same time
Additional changes:
- Option to the ndof menu letting you pick turntable/trackball independently
of the mouse viewport navigation style
- Option to change the rotation sensitivity separate from the panning
Holding shift + moving the ndof does just as before locking it to panning
Holding ctrl + moving will lock it to only rotation
Patch by Fredrik Hansson, thanks!
Reviewed by self and Mike Erwin.
Campbell Barton [Sun, 19 Aug 2012 10:41:27 +0000 (10:41 +0000)]
style cleanup
Campbell Barton [Sun, 19 Aug 2012 10:41:16 +0000 (10:41 +0000)]
use BLI math length functions for distance compositor operations.
Dalai Felinto [Sun, 19 Aug 2012 03:05:38 +0000 (03:05 +0000)]
The Distance Node in 2.49/2.5/2.6 pre-tiles has a different calculation for RGB and YCC. While RGB
calculate the distance in 3d between R,G and B, the YCC only takes Cb and Cr
into consideration.
This commit makes COM_DistanceMatteOperation inheritable and expose the calculate distance function
to be re-implemented for the YCC node operation.
Thanks Troy Sobotka for the report over email.
Patch incorporates review suggestions by Jeroen Bakker.
Mitchell Stokes [Sat, 18 Aug 2012 23:46:37 +0000 (23:46 +0000)]
Fix for [#32361] "Blenderplayer quad-buffer maximum 100Hz Fps" reported by HG1.
Allowing the Blenderplayer to break 100fps by making it less dependent on Ghost's messages.
Campbell Barton [Sat, 18 Aug 2012 21:12:08 +0000 (21:12 +0000)]
re-enable metaball orientation for manipulator and view axis setting (was disabled since 2.4x)
Campbell Barton [Sat, 18 Aug 2012 20:54:43 +0000 (20:54 +0000)]
fix for own commit r49991, this exposed bad logic in rect copy function.
Nicholas Bishop [Sat, 18 Aug 2012 19:54:21 +0000 (19:54 +0000)]
Fix simple subsurf on wire edges
Subsurf on wire edges gave smooth results even if set to simple
subdiv. Added a field to the CCG meshIFC to flag simple subdivision,
then when syncing vertices simply skip moving vertices if in
simple-subdiv mode.
This change affects two places, the level-1 build in sync and the
subdivision up to other levels.
Fixes bug [#32268] Simple Subsurf Modifier gives unexpected results on
edges without faces
projects.blender.org/tracker/index.php?func=detail&aid=32268&group_id=9&atid=498
Campbell Barton [Sat, 18 Aug 2012 19:30:27 +0000 (19:30 +0000)]
code cleanup: use BLI math funcs for metaballs, also remove MB_POINT struct and just use float[3] instead.
Nicholas Bishop [Sat, 18 Aug 2012 19:01:37 +0000 (19:01 +0000)]
Fix incorrect error test when removing a modifier
r49989 had the test reversed
Nicholas Bishop [Sat, 18 Aug 2012 18:54:05 +0000 (18:54 +0000)]
Fix reversed names in modifier-remove error report
Campbell Barton [Sat, 18 Aug 2012 18:11:51 +0000 (18:11 +0000)]
code cleanup: use BLI rect functions for interface button and block code.
Campbell Barton [Sat, 18 Aug 2012 16:53:46 +0000 (16:53 +0000)]
use rctf struct for UI buttons and blocks, easier to read and means we can use BLI_rctf functions.
Campbell Barton [Sat, 18 Aug 2012 16:16:13 +0000 (16:16 +0000)]
utility functions: BLI_findptr, BLI_rfindptr --- use for finding an item in a linked list by a pointer.
Campbell Barton [Sat, 18 Aug 2012 14:27:48 +0000 (14:27 +0000)]
fix [#32353] 'Focus'(center) applied on a rig should only take visible bones into account
Campbell Barton [Sat, 18 Aug 2012 13:36:29 +0000 (13:36 +0000)]
cmake option to build without iksolver
Campbell Barton [Sat, 18 Aug 2012 13:07:48 +0000 (13:07 +0000)]
style cleanup: also correct some doxy comments
Campbell Barton [Sat, 18 Aug 2012 11:48:35 +0000 (11:48 +0000)]
skip allocating texture coords for the displace modifier when they are unused.
Joshua Leung [Sat, 18 Aug 2012 05:49:55 +0000 (05:49 +0000)]
Typo fix: BKE_sequwnce_get_by_name -> BKE_sequence_get_by_name
Joshua Leung [Sat, 18 Aug 2012 05:43:06 +0000 (05:43 +0000)]
Bone color groups now get synced too when syncing bone <-> animdata stuff
For now, the notifiers on bone group color setting won't trigger the necessary
color syncing, so it will be necessary to select another bone/object before the
view responds properly.
Joshua Leung [Sat, 18 Aug 2012 05:26:40 +0000 (05:26 +0000)]
Selecting nodes (and making one active) sets active F-Curve too now
Joshua Leung [Sat, 18 Aug 2012 05:14:21 +0000 (05:14 +0000)]
Bugfix [#27652] Selecting a bone doesn't update Driver Properties panel
More specifically, selecting bones didn't update the active F-Curve/Groups. This
meant that when editing drivers, it was often easy to accidentally edit the
drivers for the wrong bone.
Joshua Leung [Sat, 18 Aug 2012 04:50:20 +0000 (04:50 +0000)]
Silencing compiler warnings
Joshua Leung [Sat, 18 Aug 2012 04:39:15 +0000 (04:39 +0000)]
Bugfix [#32331] Graph editor zoom to selected includes coordinate origin if more
than one curve is displayed
The range calculation used to use a fixed 0-1 range whenever it couldn't find
any values for a particular F-Curve. However, this was then taken by the
aggregation calculation to be used as just another value, leading to problems if
only vertices of a very high-value curve are selected to be included.
Modified the range calculation to ensure that suitable vertices were found
before trying to take the range values returned.
Joshua Leung [Sat, 18 Aug 2012 03:55:19 +0000 (03:55 +0000)]
Fix for some typos/spelling mistakes
Mitchell Stokes [Sat, 18 Aug 2012 03:32:28 +0000 (03:32 +0000)]
Moving more duplicate code from GPU_create_gl_tex_compressed() and BL_Texture::InitGLCompressedTex() into GPU_Upload_dxt_texture(). This reduces code duplication and ensures that both paths are using the same settings.
Gaia Clary [Fri, 17 Aug 2012 23:29:39 +0000 (23:29 +0000)]
Suport function for Collada exporter: after a generated image was stored to disk, the new filetype was not always recognized.
Campbell Barton [Fri, 17 Aug 2012 18:36:20 +0000 (18:36 +0000)]
style cleanup
Campbell Barton [Fri, 17 Aug 2012 14:43:20 +0000 (14:43 +0000)]
fix own error in recent smoothview cleanup, also correct some cross references in bmesh docs.
Campbell Barton [Fri, 17 Aug 2012 13:59:08 +0000 (13:59 +0000)]
rename mask 'Shrink/Fatten' --> 'Scale Feather'
Campbell Barton [Fri, 17 Aug 2012 13:00:11 +0000 (13:00 +0000)]
HDR color picking was not working for node space
Jeroen Bakker [Fri, 17 Aug 2012 12:53:04 +0000 (12:53 +0000)]
Documentation of the Bokeh image operation :)
Campbell Barton [Fri, 17 Aug 2012 12:32:13 +0000 (12:32 +0000)]
code cleanup:
- pass wire color to camera draw_viewport_object_reconstruction() rather then getting the theme color directly.
this makes a change where selection color wont be used for unselected cameras (which IMHO is better, drawing selected wire color on nonselected cameras was confusing).
- use rgb_uchar_to_float()
Campbell Barton [Fri, 17 Aug 2012 11:31:54 +0000 (11:31 +0000)]
fix for crash showing tooltip for NODE_OT_add_search()
Campbell Barton [Thu, 16 Aug 2012 18:37:30 +0000 (18:37 +0000)]
more draw code cleanup: was making wrong guess about wire color for empty-image draw types. also pass wire color to the metaball.
Campbell Barton [Thu, 16 Aug 2012 17:42:06 +0000 (17:42 +0000)]
change to draw extra wire (draw_wire_extra)
- was changing color and changing glDepthMask even when the object type didnt support wire drawing and no wire would draw.
- was setting the color when no wire would draw.
Campbell Barton [Thu, 16 Aug 2012 17:23:47 +0000 (17:23 +0000)]
re-work mesh drawing a little since we know the wire color some checks can be avoided.
Campbell Barton [Thu, 16 Aug 2012 16:32:50 +0000 (16:32 +0000)]
fix for odd bug/drawing glitch where loose mesh edges would draw with the wrong wire color.
This was because the draw code was ignoring the wire color and incorrectly try to figure it out again.
Campbell Barton [Thu, 16 Aug 2012 16:07:00 +0000 (16:07 +0000)]
use filtersize of 1.0 for distort and uv - compositor nodes.
Experimenting here and 0.
765625f is too sharp, but 1.0 wont blur with 0 distorted pixels but gives nice interpolation otherwise.
Campbell Barton [Thu, 16 Aug 2012 14:47:14 +0000 (14:47 +0000)]
support fro HDR color picking (values over 1.0) when color picking in the image editor or node space.
Campbell Barton [Thu, 16 Aug 2012 13:15:13 +0000 (13:15 +0000)]
compositor bokeh blur - only use the variable size operation when the size socket is connected.
Campbell Barton [Thu, 16 Aug 2012 12:47:03 +0000 (12:47 +0000)]
fix memory leak in compositor WorkScheduler::initialize()
Campbell Barton [Thu, 16 Aug 2012 12:32:48 +0000 (12:32 +0000)]
compositor: replace C++ new/delete with guardedalloc.
Campbell Barton [Thu, 16 Aug 2012 12:13:01 +0000 (12:13 +0000)]
fix for bug reading past the buffer bounds for the inpaint node.
Campbell Barton [Thu, 16 Aug 2012 10:13:04 +0000 (10:13 +0000)]
compositor - EWA filter was blurring too much by default, this caused the displace node to blur the image when no displacement was applied, making images fuzzy, the original C code has an interpolation option.
Added this option back and use for displace and UV composite nodes.
Campbell Barton [Wed, 15 Aug 2012 22:59:23 +0000 (22:59 +0000)]
for the default make/cmake wrapper, use ../build_os rather then ../build/os
Gaia Clary [Wed, 15 Aug 2012 22:08:22 +0000 (22:08 +0000)]
Collada: fixed export when 'active UV Layer only' was selected
Jeroen Bakker [Wed, 15 Aug 2012 18:14:34 +0000 (18:14 +0000)]
Fix for
* [#32323] regression: Dispertion artifacts with smaller chunksizes
* [#32125] "Projector" Dispersion not working with ChunkSize < 256
Campbell Barton [Wed, 15 Aug 2012 11:53:49 +0000 (11:53 +0000)]
dont re-use previous values for link/append operator, would get mixed up with when accessing from a key shortcut.
Campbell Barton [Wed, 15 Aug 2012 11:31:04 +0000 (11:31 +0000)]
escape key now quits composite.
Campbell Barton [Wed, 15 Aug 2012 10:31:52 +0000 (10:31 +0000)]
rendering now stops the composite job first, then renders.
Campbell Barton [Wed, 15 Aug 2012 10:23:06 +0000 (10:23 +0000)]
use job types when checking for jobs in areas of the code that made assumptions about job types (that could be wrong)
Campbell Barton [Wed, 15 Aug 2012 10:12:41 +0000 (10:12 +0000)]
code cleanup: use TRUE/FALSE for wm jobs
Campbell Barton [Wed, 15 Aug 2012 10:03:29 +0000 (10:03 +0000)]
fix for missing change to fluidsim from last commit and name jobs a more useful name - 'wm_job'.
Campbell Barton [Wed, 15 Aug 2012 09:42:06 +0000 (09:42 +0000)]
add wm job types they are not used yet, so this just defines them for new jobs add add argument to search by job type.
Thomas Dinges [Tue, 14 Aug 2012 19:13:47 +0000 (19:13 +0000)]
Cmake / Windows:
* Fix for Boost lib dir when using msvc 2010.
Campbell Barton [Tue, 14 Aug 2012 18:43:15 +0000 (18:43 +0000)]
style cleanup: pep8 & unfinished comment from own commit.
Campbell Barton [Tue, 14 Aug 2012 18:01:58 +0000 (18:01 +0000)]
patch [#32325] textured solid backface culling option
from Fredrik Hansson (fredrikh)
Lukas Toenne [Tue, 14 Aug 2012 17:56:33 +0000 (17:56 +0000)]
Python node operator for combined node collapsing and hiding unused sockets. Socket hide flag is added to RNA as well, but can only be set when the socket is not connected, to avoid dangling links in editor drawing. Currently this operator has no default hotkey, but can be called from the Node menu.
Campbell Barton [Tue, 14 Aug 2012 17:36:41 +0000 (17:36 +0000)]
patch [#32327] Uniform displace modifier
from Fredrik Hansson (fredrikh)
With some edits for python UI.
The patch makes the displace modifier treat an empty texture as white.
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().