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().
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).