Sergey Sharybin
9811e847ca
Fix #32209 : Autosave ignores multires sculpting
...
Use a bit different fix, which gets active scene from context and
uses this scene to figure out active object instead of itterating
through all the objects.
2012-08-01 09:04:40 +00:00
Campbell Barton
a199ae5368
style cleanup: whitespace, also add '?' to save over popup since it wasnt totally clear it was a question (user pointed this out, they thought it was just notification and lost their work).
2012-07-31 23:06:12 +00:00
Campbell Barton
a70a48814e
fix [ #32232 ] Running script that changes area.type crashes blender.
...
(reported the bug to keep some reference to the script that crashes).
2012-07-31 22:15:54 +00:00
Campbell Barton
872ebc7310
fill in dummy values when using movie clip distort node but compiled without libmv.
2012-07-31 22:01:44 +00:00
Campbell Barton
33a9cafc3b
quiet spacenav output on linux for regular builds, ifdef signed int for msvc openmp.
2012-07-31 21:26:14 +00:00
Sergey Sharybin
cdc6793dd8
Fixed own error in setting user counter to mask when changing clip editor's mask.
2012-07-31 20:58:48 +00:00
Sergey Sharybin
d86b6dcf1c
Expand function for masks, so no masks could be properly linked
...
in cases when they've got parenting to motion tracking data.
2012-07-31 20:54:27 +00:00
Daniel Genrich
32bd936f18
Mask / Win64 compile fix: "Index variable in OpenMP 'for' statement must have signed integral type"
2012-07-31 19:37:33 +00:00
Campbell Barton
72a3fb15d7
changes to mask editing
...
- use Alt to modify all mask feather at once while dragging.
- copying a multi-user mask from the interface works now.
- show masks when UV editing isnt used, rather then checking editmode (would give some odd/annoying image space header).
- add a fake mask user by default.
- moving points with LMB drag no longer selects them.
2012-07-31 17:31:34 +00:00
Sergey Sharybin
e597234cb5
Code cleanup: remove unused code
2012-07-31 17:24:55 +00:00
Sergey Sharybin
b9f72394fd
Fixed wrong mask display with clip's pixel aspect and image editor display aspect != 1.0
2012-07-31 16:40:14 +00:00
Campbell Barton
4473b846fb
multi-threaded sequencer buffer calculation for masks.
2012-07-31 16:37:47 +00:00
Campbell Barton
4c02549d5d
remove references to raskter from compositor and BKE mask.
2012-07-31 16:04:47 +00:00
Campbell Barton
2e51811950
use the same rasterizer as the compositor for the sequencer.
2012-07-31 15:45:01 +00:00
Brecht Van Lommel
6d8fb7c0e7
Tweak to commit related to non-power-of-two textures, some cards claim to
...
support this but actually don't, so use the function that checks for that.
2012-07-31 15:05:14 +00:00
Brecht Van Lommel
aac3f0eaeb
Fix warnings on old apple GCC compiler due to no support for alloc_size attribute.
2012-07-31 15:05:09 +00:00
Sergey Sharybin
aec620cc28
Resolve compilation error with MSVC
2012-07-31 14:27:14 +00:00
Campbell Barton
c42d0189e5
resolve glitch in the image space where mask editing and UVs would conflict.
...
now UV editing overrides mask.
2012-07-31 14:16:27 +00:00
Campbell Barton
a86f44a77a
svn merge ^/trunk/blender -r49410:49412
2012-07-31 13:44:51 +00:00
Campbell Barton
8f6197bd08
support for curve orco uv's as UV's in cycles.
...
ideally these would be used as generated coordinates, but this is tricly because cycles calculates its own orco's and doesnt know about curve settings.
2012-07-31 13:43:26 +00:00
Sergey Sharybin
b4fff83a34
Merging r49405 through r49410 from trunk into soc-2011-tomato
2012-07-31 13:17:07 +00:00
Jeroen Bakker
e7e7972cd6
Fixed [ #32226 ] Black cadioptric lenses in CPU BokehBlur node
2012-07-31 12:36:08 +00:00
Campbell Barton
8c2550eed7
prevent uninitialized memory use when writing avi's.
2012-07-31 10:34:42 +00:00
Sergey Sharybin
a080183e42
Merging r49400 through r49404 from trunk into soc-2011-tomato
2012-07-30 17:12:55 +00:00
Sergey Sharybin
75046eadbf
Mango request: option to create nodes with hidden preview by default
2012-07-30 17:11:59 +00:00
Campbell Barton
b43699aa12
fix own mistake getting an image for the image open file selector.
2012-07-30 17:02:28 +00:00
Campbell Barton
82fc02fb48
fix for own error in r43796, 'Find Missing Files', could set the path to an empty string.
2012-07-30 16:42:26 +00:00
Sergey Sharybin
ccf2f85b3e
Merging r49390 through r49399 from trunk into soc-2011-tomato
2012-07-30 16:40:23 +00:00
Sergey Sharybin
9c35147666
Fixed own regression introduced in recent compositor commit
...
MuteNode could be used as a replacement for other nodes when
using fast calculation or when using unknown node from blender.
Should work properly now.
2012-07-30 16:39:39 +00:00
Sergey Sharybin
2feac552eb
Color management: initialize input color space for newly opening images
2012-07-30 16:07:37 +00:00
Daniel Genrich
46ac23d04e
Fix: "void" function returning value.
2012-07-30 12:33:28 +00:00
Sergey Sharybin
1a062e28af
Color management: fix crash in partial display buffer update
...
Crash was caused by the difference in how compositor walks tile
rectangles and how they were walked in partial update function:
compositor excludes right / top bound and partial update handled
it which lead to reading / writing to wrong memory.
Switch partial update routines to the same logic as it's used
in tile compositor, which made it kind of unified with render
rectangle update.
2012-07-30 10:35:34 +00:00
Sergey Sharybin
c60eabda92
Merging r49386 through r49389 from trunk into soc-2011-tomato
2012-07-30 09:47:39 +00:00
Sergey Sharybin
585bc327e2
Fix incorrect connections for muted nodes in tile compositor
...
Not tile compositor would use the same routines to detect which
links to add for muted node.
2012-07-30 09:46:14 +00:00
Sergey Sharybin
0c6c907cf7
Tag unused variables
2012-07-30 08:08:04 +00:00
Sergey Sharybin
45e12de050
Merging r49362 through r49385 from trunk into soc-2011-tomato
2012-07-30 07:53:05 +00:00
Mitchell Stokes
ae483e0cd2
BGE: When using the "Restrict Animation Updates" option, animations are now truly frame rate independent. Thanks to vrav for reporting the issue in IRC.
2012-07-29 23:53:21 +00:00
Mitchell Stokes
0690f6287c
BGE: Fix for [ #31993 ] "BGE Vertex deformer optimized method does not work properly" reported by Mario Mey plus some other cleanup. The bug was caused by not taking the object matrix into account when doing the transforms (when I developed the deformer, my test file had the object at the origin...).
2012-07-29 23:49:17 +00:00
Campbell Barton
24dae0f0e8
max value for distance was larger then a short.
2012-07-29 20:00:16 +00:00
Thomas Dinges
3151a9f145
Fix compile error, IK_STRETCH_STIFF_EPS was undefined.
2012-07-29 19:50:03 +00:00
Campbell Barton
4b4395213e
inpaint - gain some speed by not doing X/Y clamping in inner loops.
...
add assert() so we can ensure its not happening still.
2012-07-29 19:36:09 +00:00
Campbell Barton
953423e1ed
- fix incorrect array delete use.
...
- replace 1.0f / sqrt(2) with M_SQRT1_2 define.
- use mini rather then MIN2.
2012-07-29 19:11:00 +00:00
Campbell Barton
595156fd73
style cleanup: use this->m_* for private members.
2012-07-29 19:02:23 +00:00
Campbell Barton
b9fb8edddd
style cleanup
2012-07-29 18:53:47 +00:00
Campbell Barton
a14fc54702
svn merge ^/trunk/blender -r49333:49361
2012-07-29 18:48:34 +00:00
Campbell Barton
7217927414
add inline functions for max/min ints, good to use when the arguments are function calls (we had a few of these).
2012-07-29 18:14:20 +00:00
Campbell Barton
f608b3c444
code cleanup:
...
- building without python works again
- rename maxi/mini to i_max/i_min (so thay are available for function names)
- some minor edits to IK stretch setting (no functional changes).
2012-07-29 17:49:14 +00:00
Campbell Barton
c41e1e434a
code cleanup: replace MIN2/MAX2 with minf/maxf
2012-07-29 16:59:51 +00:00
Peter Schlaile
b6288e94eb
== compositor ==
...
This adds an inpaint node to blender.
In case, you don't know, inpainting does this:
http://en.wikipedia.org/wiki/Inpainting
It's use cases in blender are
* wire removal
* green screen background reconstruction
The node isn't tile based (for fundamental reasons), but very fast,
since it first builds a manhatten distance map and after that performs
color convolution only on the edges.
That's something, one should probably add also to the dilate node (in
step mode) to make it perform a lot better for dilate iterations greater
than 3.
It will bring it's computing time from O(n^3) down to O(n^2).
Take a look here for the details:
http://ostermiller.org/dilate_and_erode.html )
2012-07-29 15:48:38 +00:00
Jeroen Bakker
93ff6f6dff
Support for depth buffers in compositor and viewer node
...
Support for only alpha images in compositor and viewer node
2012-07-29 15:06:50 +00:00