Commit Graph

49420 Commits

Author SHA1 Message Date
Sergey Sharybin
ca24daea64 Merging r48224 through r48237 from trunk into soc-2011-tomato 2012-06-24 14:27:23 +00:00
Sergey Sharybin
7b3a5ead8c Fix crash sliding disabled marker from preview widget.
Reported by brothermechanic, thanks!
2012-06-24 14:16:40 +00:00
Thomas Dinges
59731c5692 Release cycles:
*BCon 3 - beta.
2012-06-24 14:08:34 +00:00
Sergey Sharybin
f9b59ebcb9 Typo and spelling fixes pointed by Lockal. thanks! 2012-06-24 13:52:20 +00:00
Sergey Sharybin
7ed68ac4ef Fix #31909: "Make Segment" on path-curves gives wrong result
In fact fixed in easiest way -- always re-calculate knots array
on topology changes.

After some discussion with Ton we agreed on that having manually
editable knots is not intuitive and user should only define
cyclic/endpoints flags and knots would be re-calculated based
on this flags.

This means that it's unnecessary to have special logic for knots
manipulating in some topology changing tools and they could just
re-calculate knots for the whole nurb, without worrying that knots
could have been manually edited.
2012-06-24 11:27:28 +00:00
Lukas Toenne
785a5c3aab Fix #31908, better drawing for node group interface links. Links from/to node group internal sockets (input/output columns on the side) were drawn in a kind of subtle "background" mode, making them hard to see behind nodes. This was still from pre-2.56.2 versions, where group interfaces were created automatically and these links were just indicators of which external socket a node refers to.
Now these links are drawn in the same way as all others. Also they now display highlighting correctly when inserting a node into a link, making it easier to avoid unwanted insertions.
2012-06-24 10:49:22 +00:00
Sergey Sharybin
d71d41755e Fixes for area of interest in keying nodes: no need to wait for the whole
input image to be calculated in some cases, use only actual area which is
needed to calculate current tile.

Seems to be giving some % of speedup. Verified result of keying before
this patch and after this patch and they were identical, so hopefully
now area of interest is indeed correct.
2012-06-24 10:31:48 +00:00
Tamito Kajiyama
1f7ae143a2 Merged changes in the trunk up to revision 48227.
Conflicts resolved:
source/blender/blenloader/intern/readfile.c
source/blender/editors/space_file/filelist.c
2012-06-24 10:29:26 +00:00
Sergey Sharybin
49a9d8d4ae Remove unused header include. 2012-06-24 09:55:10 +00:00
Campbell Barton
74c9c24d27 style cleanyp 2012-06-23 23:22:19 +00:00
Gaia Clary
8ef4c4762b Added option for exporting material based textures. Cleaned up header files due to a bug in osx 2012-06-23 22:03:31 +00:00
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