Sergey Sharybin
06fb9c85d4
Merging r48196 through r48223 from trunk into soc-2011-tomato
2012-06-23 18:08:56 +00:00
Sergey Sharybin
870dba7657
Keying node: assume overexposured pixels as foreground
...
Screens are usually doesn't have overexposured pixels and all
saturation / gradient math was written assuming that all channels
are withing 0 .. 1 range and in cases when some channel exceeds
this range matte could be completely wrong.
Added special check for overesposure and assume such pixels as
definitely foreground.
Also fixed minimal value for edge kernel size.
2012-06-23 18:04:41 +00:00
Campbell Barton
263be14811
rename WITH_BUILTIN_GLEW, WITH_SYSTEM_GLEW & negate.
2012-06-23 13:42:14 +00:00
Mitchell Stokes
79fb3311a3
Fix for [ #29412 ] "Priority 0 cause problems with pulse mode" reported by Guillaume Côté.
...
Right now this is being fixed by not allowing the exact same action (action, start/end frames, speed, etc) to be played if it's already playing. Hopefully this will not cause more issues than it solves.
2012-06-23 03:39:03 +00:00
Gaia Clary
adf3a5e332
Collada: (Export) Added export of surface textures, and control over exported uv layers
2012-06-22 16:16:58 +00:00
Gaia Clary
257283e030
added new function BKE_imbuf_to_image_format
2012-06-22 15:40:49 +00:00
Gaia Clary
5455cadb3d
fixed function name: BLI_rebase_path, reworked description, added enum bli_rebase_state for defined return values
2012-06-22 15:38:49 +00:00
Campbell Barton
0fd1797304
svn merge ^/trunk/blender -r48188:48195
2012-06-22 15:08:33 +00:00
Campbell Barton
0b0ac3aa9e
remove scene from new compositor classes. only needs RenderData
2012-06-22 15:06:52 +00:00
Jeroen Bakker
590f5fdbdf
fix for [ #31890 ] Lens Distortion inside Node group don't work
2012-06-22 14:43:25 +00:00
Jeroen Bakker
65e9216cce
Nullpointer exception happened when all input sockets of a (for example)
...
a translate node were connected with the same complex node (like lens
distortion).
Added a check to see if the list of buffers are available to resolve
this issue.
2012-06-22 13:24:43 +00:00
Jeroen Bakker
f73e023e54
* fix for [ #31553 ] Tile Compositor: Strange seams
2012-06-22 13:11:38 +00:00
Campbell Barton
35bc9b612d
when draw-other-uv's is enabled. fallback to the spaces image if no active face is found.
2012-06-22 12:31:16 +00:00
Campbell Barton
23c38bc5e7
svn merge ^/trunk/blender -r48168:48188
2012-06-22 11:56:21 +00:00
Campbell Barton
238d3fa4bb
mask re-key feature - mango request. ability to reset selected points shape key data.
...
useful if you add many keys to one part of a curve, then later want to key another part - but dont want to continuously make the same corrections.
2012-06-22 11:53:49 +00:00
Campbell Barton
226c86ae58
use an inline function for rgb -> bw conversion.
2012-06-22 07:49:44 +00:00
Nicholas Rishel
ec3399efa6
This backtracks an error introduced in r48155 when trying to fix: http://projects.blender.org/tracker/?func=detail&atid=498&aid=31433&group_id=9
...
First half of the problem is fixed, but the second issue regarding edge/vertex snapping disregarding angle constraints will need some refactoring eventually.
2012-06-22 04:40:38 +00:00
Dan Eicher
884d800677
[ #31885 ] uiItemMenuEnumO / layout.operator_menu_enum() fails silently with bad property argument.
...
uiItemsFullEnumO() not displaying an RNA_warning if the prop doesn't exist/isn't an enum
2012-06-21 20:14:27 +00:00
Campbell Barton
9b8a97c039
hue color display still was shifted, turned out the resolution was a bit too low.
2012-06-21 19:45:36 +00:00
Jeroen Bakker
40f974d15f
[ #31895 ] Connect 'Hue Correct' to 'Viewer' crashes.
2012-06-21 18:32:23 +00:00
Jeroen Bakker
874c9fc33e
* only calculate node preview that are visible (node_preview flag set &
...
node_hidden unset)
2012-06-21 18:22:43 +00:00
Jeroen Bakker
7a8d60ec7d
* make it possible to composite without an compositor node [ #31878 ]
...
Tiles Compositor: Fails without 'Compositor' output node. Regression.
2012-06-21 17:58:12 +00:00
Jeroen Bakker
d406e274e0
* fix to support for multiple OpenCL platform for the Compositor
2012-06-21 16:05:56 +00:00
Campbell Barton
cb22a49893
color backdrop on hue balance was misleading (shifted to the right)
2012-06-21 15:42:08 +00:00
Campbell Barton
038e5b2255
hue correct node: draw hsv backdrop with full alpha.
2012-06-21 15:03:30 +00:00
Campbell Barton
9653234634
svn merge ^/trunk/blender -r48162:48168
2012-06-21 14:38:45 +00:00
Campbell Barton
5def0b6c55
display a sample line in the hue correct, handy to sample the image to know what to change
2012-06-21 14:37:56 +00:00
Campbell Barton
c896a99213
sampling the node backdrop now draws a line in the curve (as it did in 2.4x).
2012-06-21 14:12:14 +00:00
Campbell Barton
0592657485
style cleanup
2012-06-21 13:19:19 +00:00
Lukas Toenne
2dbc59b393
Fix #31787 , moving the mouse cursor outside the Blender window doesn't change back to standard cursor on OSX. This was caused by an unnecessarily removed line in r46884. Reported and fixed by Jens Verwiebe in IRC.
2012-06-21 13:02:48 +00:00
Campbell Barton
6d9cd68256
svn merge ^/trunk/blender -r48160:48162
2012-06-21 12:46:33 +00:00
Campbell Barton
a803ce42df
negate previous commit flag, this way existing files dont loose their feather.
2012-06-21 12:45:53 +00:00
Campbell Barton
27c10cdf32
svn merge ^/trunk/blender -r48158:48160
2012-06-21 12:38:09 +00:00
Campbell Barton
86f9f3e439
svn merge ^/trunk/blender -r48153:48158
2012-06-21 12:29:48 +00:00
Campbell Barton
54156e2b82
option to disable feather, since its so slow - for interactively editing masks its useful to be able to disable.
...
also rename RNA to 'use_antialiasing'
2012-06-21 12:27:57 +00:00
Sergey Sharybin
ff998e15a7
Fixes for 8vytes scalar types used in DNA (int64 and double)
...
- makesdna wasn't checking whether such scalars are aligned to 8 bytes.
Now it should be handled correct.
- Some scalars in Object structure weren't 8 bytes aligned, which lead
to some incorrectly loaded files.
Fixed by adding void *pad. It's a bit tricky part of patch, but can't
see clearer way to make alignment correct
Usually ints/chars were used for padding, but in this case there are
some leading pointer properties before int64 properties and using
pointer as a padding resolves alignment on both 32 and 64 bit
platforms.
Using pointers as padding weren't needed before, because all types
were correctly aligned independent of whether pointers are 4 or 8
bytes.
This fixes #31774 : Empty offset Y parameter is resetting
2012-06-21 10:52:23 +00:00
Nicholas Rishel
11cb213d45
Fixes [ #31433 ] BMesh: Knife tool Angle Constraint function
...
The problem was that calculating the angle was reliant on previous mouse coordinates, which did not update to match snapped-to vertices and edges.
This solves the issue by updating mouse coordinates in knife_find_closest_edge() and knife_find_closest_vertex(). Additionally, when angle constraints are enabled, edge/vertex snapping is now prevented.
2012-06-21 08:58:17 +00:00
Campbell Barton
78b2f5df47
svn merge ^/trunk/blender -r48147:48153
2012-06-21 08:07:49 +00:00
Campbell Barton
fae0b2068b
falloff options for dilate/erode feather compo node.
2012-06-21 07:45:41 +00:00
Lukas Toenne
27aa2174b7
Fix for color ramp RNA paths in node trees. The path generation for color ramps in nodes was incomplete (not prepending the ID-to-node path), which prevented keyframing color ramp elements. Path lookup for color ramps is still brute-force and slow, but this is a general design problem with nested RNA structs.
2012-06-21 07:14:39 +00:00
Mitchell Stokes
7ef54879ed
Fix for properly converting 2.4x IPO Actuators to 2.6x Action Actuators. Previously the converted Action Actuators would not have an action assigned. This fix is based on code provided by Maxim Aleynikov in his report: [ #30410 ] not full conversion IPO Actuator in Action Actuator.
2012-06-21 06:27:51 +00:00
Campbell Barton
b7640d614a
svn merge ^/trunk/blender -r48140:48147
2012-06-21 06:10:51 +00:00
Mitchell Stokes
d8e2c475a0
Fix for [ #31396 ] "bge.logic.LibLoad fails to import text blocks" reported by Leonard Ritter.
...
Blender's import function check's the Text datablocks in main for additional modules for importing. However, libloaded scenes were 1) not loading Text datablocks and 2) not letting bpy know about them. Text datablocks are now loaded if a Scene is loaded and bpy can now looking through extra Mains to find additional modules.
2012-06-21 05:41:06 +00:00
Campbell Barton
d4d4f2d511
workarond for outliner group object selection trick - which is so slow it had to be disabled. Now use the first object of the group, which isn't great but is at least usable.
2012-06-20 23:21:36 +00:00
Campbell Barton
091c716198
correction to own commit - thanks Anthony Edlin for pointing out the error.
2012-06-20 22:57:05 +00:00
Campbell Barton
063222e8c9
svn merge ^/trunk/blender -r48133:48140
2012-06-20 21:11:57 +00:00
Campbell Barton
463a4ebf1c
fix for segfault loading a file with a proxy that is a missing link.
2012-06-20 21:10:34 +00:00
Monique Dewanchand
82bad4bd6c
Refactoring of tiles opencl implementation:
...
- Moved methods from NodeOperation to OpenCLDevice
- Added check on Nvidia for local size
2012-06-20 20:05:21 +00:00
Campbell Barton
cf129d8cb5
avoid calls to BLF_height_default in a loop calling with the same value, also quiet warning.
2012-06-20 19:23:12 +00:00
Campbell Barton
850d734147
make mask handles draw with an outline - when outline option is enabled.
2012-06-20 18:46:18 +00:00