Commit Graph

66005 Commits

Author SHA1 Message Date
Campbell Barton
d0e892a728 quiet double promotion warnings for the game engine. 2012-07-18 23:03:27 +00:00
Campbell Barton
db14b97be6 mask transform aspect correction wasn't working properly, also fix for own recent commit which made cyclic report not show 2012-07-18 20:32:31 +00:00
Campbell Barton
bccc6b12b5 svn merge ^/trunk/blender -r49035:49037 2012-07-18 17:33:27 +00:00
Campbell Barton
6423461247 shift help with continuous grab on a curve point now does scaled motion. 2012-07-18 17:29:15 +00:00
Campbell Barton
9d79d2bee8 svn merge ^/trunk/blender -r49029:49035 2012-07-18 16:26:07 +00:00
Campbell Barton
c8029bffd9 workaround for a bug with zero edges getting removed got feather faces out of sync and crashed 2012-07-18 16:24:13 +00:00
Bastien Montagne
45738ef8dc Add Skin modifier's radius values to Transform panel (in 3D views). 2012-07-18 14:30:31 +00:00
Bastien Montagne
1fc3f91016 Some small fixes (grrr, python imports...). 2012-07-18 14:03:10 +00:00
Campbell Barton
c0e004bd61 add difference blending mode, also fix error in last commit 2012-07-18 13:44:48 +00:00
Campbell Barton
73a778a4d0 change bucket size to give better performance for high detail 4k masks, also clamp from 0-1 for each layer when accumulating. 2012-07-18 13:34:14 +00:00
Campbell Barton
6dc50955d7 svn merge ^/trunk/blender -r49024:49029 2012-07-18 12:56:36 +00:00
Campbell Barton
cfb3194945 code cleanup for mask capping 2012-07-18 12:54:13 +00:00
Campbell Barton
61ef13752d chance semi-circle mask capping resolution based on size. 2012-07-18 12:45:20 +00:00
Bastien Montagne
e1449e3626 Fix [#32068] Edge slide not working in certain circumstance from Front / Side views
Only visible edges are used to create the "sliding vector". The test used to detect whether edges were visible or not was working for solid shading, but useless in wire draw mode (as all edges are visible in this mode!)...
2012-07-18 12:23:18 +00:00
Campbell Barton
eceec8856d minor edits to mask rasterizer. 2012-07-18 12:17:12 +00:00
Sergey Sharybin
1f66c7eeca Merging r49020 through r49024 from trunk into soc-2011-tomato 2012-07-18 11:49:18 +00:00
Sergey Sharybin
e80918604a Fixed wrong self-intersection check for non-closed splines 2012-07-18 11:48:13 +00:00
Campbell Barton
8f32070e9d fix incorrect assert for mask face checking, also correct own bad spelling 2012-07-18 11:01:23 +00:00
Sergey Sharybin
3878f45be6 Merging r49005 through r49019 from trunk into soc-2011-tomato 2012-07-18 10:24:47 +00:00
Sergey Sharybin
c05af6210e Fixed crash of self-intersection loop in special cases
It was wrongly calculated bucket number per side in cases when some
of segments is filling the whole bounding box across some of dimension.

Solved by limiting buckets at least to 1 in such cases.
2012-07-18 10:22:56 +00:00
Sergey Sharybin
997850aecc Fix #32132: Uniformly moving custom feather points does not work 2012-07-18 09:56:10 +00:00
Campbell Barton
88fddb3cc3 make links now allows groups - this means you can make objects have matching groups to the active more easily. 2012-07-18 09:45:50 +00:00
Bastien Montagne
e204d67cc7 Fix [#32135] FRAMERATE: Framerate display is truncated in selection box.
Filename extension was striped twice...
2012-07-18 08:51:19 +00:00
Campbell Barton
64cc69cafc adding objects active groups now gives menu of which group to add to. 2012-07-18 08:13:30 +00:00
Mitchell Stokes
52d2bae2bf Fix for [#32129] "2D filter texture width off by one?" reported by Alex Fraser (z0r).
The GetWidth() and GetHeight() functions of the canvas' display area seem to give values that are both off by one for what OpenGL wants. Adding 1 to both values seems to fix the problem.
2012-07-18 05:51:44 +00:00
Campbell Barton
7baa8d5203 mask rasterizer unfilled line end capping now works with aspect and blending. 2012-07-17 20:40:12 +00:00
Campbell Barton
b6a9ffffed wip mask capping - works but needs aspect correction and to be faded out. 2012-07-17 20:01:01 +00:00
Bastien Montagne
382ded688a Spellcheck: minkovsky -> minkowski! (Only in comments/UI messages :/ ). 2012-07-17 18:14:59 +00:00
Bastien Montagne
3d9637f60a Fix [#32133] Numpad Enter key doesnt work with Loopcut (worked in 2.49b)
Adding PADENTER to the "OK" keys...
2012-07-17 17:55:23 +00:00
Sergey Sharybin
d2eed9a64f Merging r49003 through r49004 from trunk into soc-2011-tomato 2012-07-17 16:26:38 +00:00
Sergey Sharybin
2c2e1775f9 Feather self-intersection test speed up
Made some minor optimization such as:

- Avoid using "%" operation in loops, replace with a check
  for index "overflow".
- Use pre-computed values for scaling feather coordinates
  to 0 .. 1 space.

This allowed to reach couple of milliseconds of boost.

Another change is to use higher number of buckets (up to 512).
This doesn't took significantly more memory (like uses only 10MB
of memory for average splines) and allows to have 30-50x boost
for average splines.

Use dynamically calculated number of buckets for this, to be
sure segments would fit two buckets.

Also fixed intersection detection in some cases when edge is
shared between two buckets -- it is possible that such edge
would cross third bucket and intersect edge from there.
2012-07-17 16:22:18 +00:00
Campbell Barton
ce74956b86 svn merge ^/trunk/blender -r49000:49002 2012-07-17 15:45:27 +00:00
Campbell Barton
2945ba9e5e holding shift with cont. grab now works on the hsv cube and the value slider. 2012-07-17 15:44:33 +00:00
Campbell Barton
573c373bab svn merge ^/trunk/blender -r48995:49000 2012-07-17 15:18:02 +00:00
Campbell Barton
46bec42333 option to clear all keys from a button, so you dont have to hunt about for the keys inserted. 2012-07-17 15:16:44 +00:00
Campbell Barton
9c714f695a fix for particle system using uninitialized stack memory with midpoint of rk4 integrators. 2012-07-17 13:28:30 +00:00
Campbell Barton
6f0950a1f4 use math vector init functions 2012-07-17 12:05:15 +00:00
Sergey Sharybin
8f85e93ea6 Color management: fix missed color management settings for new created scenes
- Initialize color management settings if creating new scene
- Copy settings from active scene if creating with copying settings
  or if using other copy/link object settings

This also should fix issue with Export UV Layout operator
2012-07-17 11:10:40 +00:00
Sergey Sharybin
c415a01fea Merging r48992 through r48995 from trunk into soc-2011-tomato 2012-07-17 10:46:32 +00:00
Sergey Sharybin
e35d3083ec Fixed crash when rasterizing spline with only one point
It was an issue in new feather self-intersection test code.
2012-07-17 10:43:57 +00:00
Campbell Barton
29bc3d7024 fix for scons building with compositor 2012-07-17 10:38:22 +00:00
Campbell Barton
f9795b353e fix for building without the compositor 2012-07-17 10:19:47 +00:00
Campbell Barton
43fede9519 svn merge ^/trunk/blender -r48986:48991 2012-07-17 09:58:20 +00:00
Campbell Barton
f4cff34392 disable feather collapse during drawing, its very slow. 2012-07-17 09:56:10 +00:00
Tamito Kajiyama
5a581c1fd1 Better handling of the ESC key during Freestyle rendering.
This commit is meant to improve the response of the ESC key for stopping Freestyle rendering
throughout the rendering process.  The rendering with Freestyle consists of several steps
including: (1) mesh data loading, (2) winged edge construction, (3) silhouette edge detection,
(4) view map construction, and (5) stroke drawing.  All these steps have been extended to
frequently check if the ESC key is pressed, so that users can abort time-consuming rendering
at any point of time.
2012-07-16 23:29:12 +00:00
Campbell Barton
32cf7fcdb1 code cleanup: spelling 2012-07-16 23:23:33 +00:00
Sergey Sharybin
1589454879 Merging r48985 through r48986 from trunk into soc-2011-tomato 2012-07-16 20:36:09 +00:00
Sergey Sharybin
4a6a3e2f98 Merging r48981 through r48984 from trunk into soc-2011-tomato 2012-07-16 19:24:25 +00:00
Sergey Sharybin
1f96470b5d Fixed disappearing in some circumstances feather
Real fix would be to find a point which is definitely now on loop
to be collapsed, but that's for a bit later. This commit should
remove possible stoppers.
2012-07-16 19:23:15 +00:00
Sergey Sharybin
5915b53350 Fixed crash caused by recent feather collapse commit 2012-07-16 18:34:57 +00:00