Commit Graph

31506 Commits

Author SHA1 Message Date
Tamito Kajiyama
5f02b167d1 New options for specifying unit line thickness.
The Post Processing tab in the Render buttons has new Line Thickness options for
defining unit line thickness in two different modes as follows:

1. Absolute mode: The unit line thickness is given by a user-specified number
in units of pixels.  The default value is 1.

2. Relative mode: The unit line thickness is scaled by the proportion of the
present vertical image resolution to 480 pixels.  For instance, the unit line
thickness is 1 with the image height set to 480, 1.5 with 720, and 2 with 960.
2012-04-10 23:53:46 +00:00
Tamito Kajiyama
e94abda66d New options in the Parameter Editor mode for controling the position of stroke thickness.
The new options enable a better control on the position of stroke thickness with
respect to stroke backbone geometry.  Three predefined positions are:
* center: thickness is evenly split to the left and right side of the stroke geometry.
* inside: strokes are drawn within object boundary.
* outside: strokes are drawn outside the object boundary.
Another option called "relative" allows users to specify the relative position by a
number between 0 (inside) and 1 (outside).

The thickness position options are applied only to strokes of the edge types SILHOUETTE
and BORDER, since these are the only edge types defined in terms of object boundary.
Strokes of other edge types are always using the "center" option.
2012-04-07 17:28:09 +00:00
Tamito Kajiyama
8ea8b6a1ba Fix for an unnormalized normal vector in ViewEdgeXBuilder::BuildSmoothFEdge(). 2012-04-07 15:54:21 +00:00
Tamito Kajiyama
04a9f393d8 Fix for broken face normals in FEdgeSharp and FEdgeSmooth, resulting from
splitting of FEdges at 2D intersections (i.e., at TVertices).
2012-04-07 00:37:01 +00:00
Tamito Kajiyama
21484ba52c Fix for a crash in the single layer mode with Freestyle enabled. 2012-04-06 13:49:51 +00:00
Tamito Kajiyama
4c8febf3ea Merged changes in the trunk up to revision 45431. 2012-04-06 03:37:27 +00:00
Dalai Felinto
110a1526b6 spherical panoramic fix
note: this was never correct and not a single soul bothered noticing that.
not really a surprise, this mode is more for debug than for anything else.
to test go to (game engine) Render -> Dome Mode -> Spherical Panorama

thanks to Aldo Zang to help me spotting the problem.
2012-04-05 22:06:45 +00:00
Sergey Sharybin
5d0bfc0325 DO not store Flipped flag for pose paste operator in operator redo storage,
so mixing pasteing flipped and non-flipped will work properly.
2012-04-05 15:05:49 +00:00
Brecht Van Lommel
f82c2d2cdc Fix #30804: nodetree.links.new() incorrectly disconnected or allowed to connect
multiple links to a socket when the arguments were passed in order:
(input socket, output socket) instead of (output socket, input socket)
2012-04-05 14:17:42 +00:00
Sergey Sharybin
aaafb7c0cd Fix for setting active UV, vertex colors and probably shape keys from python API.
It was an error how index of requested layer was searching: iterating used to start
from the beginning of data layers datablock, not from index at which requested
layer type actually begins.
2012-04-05 13:01:41 +00:00
Campbell Barton
ea1539ce43 fix for memory leak when using the bmesh python api - would allocate customdata layers and overwrite them when converting a mesh to a bmesh (without freeing). 2012-04-05 12:51:17 +00:00
Bastien Montagne
f8d086e3f8 More i18n minor fixes:
*Moved portuguese to its right place (alphabetical order).
*Commented out (in menu) four languages for which we have no translation at all yet: Dutch, Korean, Romanian and Ukrainian (easy to bring them back as soon as we have some translation!).
2012-04-05 12:32:49 +00:00
Thomas Dinges
72ba2b8dd1 Readme and Release Log Links:
* Update to 2.63
* Update readme with proper links to 2.6 Manual, remove Solaris OS (no official builds from our side).
2012-04-05 09:27:53 +00:00
Bastien Montagne
2f452250e5 Adding turkish (tr_TR) language. 2012-04-05 09:13:32 +00:00
Campbell Barton
3a33568261 patch [#30812] Couple operator tooltip proposals (editmesh_tools.c)
from Sebastian Nell (codemanx), with some edits.
2012-04-05 07:05:44 +00:00
Bastien Montagne
b68dde68b5 Small improvement to bmo icosphere primitive: instead of calling n times the subdivide bmo with one cut, call it once, with the right number of cuts (which is (2^(n-1)) - 1). 2012-04-05 06:47:14 +00:00
Campbell Barton
b73e4126dd fix [#30806] Mirror Hair Particles Bug, Complete Crash 2012-04-05 06:26:18 +00:00
Campbell Barton
2a54ef0442 there was no way to reset timing for absolute shape keys, add an operator to do so. 2012-04-05 06:10:15 +00:00
Campbell Barton
f4ccee2785 adding shape key blocks to absolute shape keys would not set the position (which is odd since its the only time they are used).
also re-sort the shape keys after adding them in for absolute keyblocks.
2012-04-05 05:51:26 +00:00
Campbell Barton
0aa6ade75a fix for error moving absolute shape keys up/down (their position would become out of order) 2012-04-05 05:38:52 +00:00
Campbell Barton
8cddb18da0 - fix error with conflusing key/keyblock in the shape template UI - absolute keyblocks would always be greyed out.
- fix mistake setting wrong variable in unlikely case of curve having no bezier or point array set.
2012-04-05 05:25:20 +00:00
Campbell Barton
db562488d6 report [#30814] Absolute Shape Keys not working in 2.6
This report points out thet absolute shape keys are unusable.

The problem is there was no way to adjust the play time of a shape key (all absolte shape keys would start at frame zero with no way to change the speed).

Added an 'eval_time' property to the key block that works like the curve path evaluation time, so the time in the keyblock can be controlled.
2012-04-05 05:05:18 +00:00
Mitchell Stokes
62b254e42a This fixes BGE bugs #30484 (Frame rate increases very high after game engine start with record animation enabled) and #29449 (Record Animation runs 1000+ fps on Mac OSX 10.6.8 64bit). The problem was, recording animation was forcing "fixed time", which always advances the engine one frame instead of advancing based on time passed. This means that "fixed time" runs at full speed. Now fixed time is disabled when recording animation. 2012-04-05 03:05:02 +00:00
Campbell Barton
87adbbbfba fix [#30788] Weight paint mode draws mask single sided only when selected.
error with recent refactoring.
2012-04-05 02:23:00 +00:00
Campbell Barton
c297374449 partial fix [#30813] Small UI glitch with high DPI value in menus
fix provided by Julien Enche (trap).

also corrected some 2.4x theme colors (selected file, outliner and image background)
2012-04-05 01:49:28 +00:00
Campbell Barton
784beb4338 adjust limited dissolve to take face angle into account when dissolving vertices between manifold edges.
stops artifact with zig-zag patterns between _almost_ planer faces.
2012-04-05 01:20:32 +00:00
Antony Riakiotakis
680c23b771 Yet another windef.h compile fix for MinGW for game engine/video textures with ffmpeg. Looks like there is some redefinition of LONG , DWORD etc. Changing the order of inclusion resolves the issue. 2012-04-04 17:18:01 +00:00
Nicholas Bishop
84f3eb7786 Fix bug [#30810] Blender crashes with Array modifier
When merging bmesh customdata, memset the new blocks to
zero. Otherwise can contain junk values (some layer types with
pointers like MDeformVert can then crash.)
2012-04-04 16:35:13 +00:00
Brecht Van Lommel
d7d8c668ca Fix #30803: shader node Mapping location property conflicted with based class
location property (for the node editor), now renamed to "translation".
2012-04-04 16:11:39 +00:00
Brecht Van Lommel
503785649d Fix #30811: glsl error in material draw mode, due to recent commit. 2012-04-04 16:11:10 +00:00
Bastien Montagne
a006813919 Vector blur compo node: raising hard limit for Blur factor to 20 (soft, UI limit remains at 2), usefull in some "special effects" case, though results can become strange in some cases... 2012-04-04 15:43:39 +00:00
Campbell Barton
4f2fb41fb6 fix [#30809] Limited dissolve leaves edges behind 2012-04-04 15:10:20 +00:00
Campbell Barton
1635d8e873 add option not to delete edges/verts when joining faces, needed so we can loop over edges and join them without having to check if they have been removed. 2012-04-04 14:48:10 +00:00
Miika Hamalainen
329c665c16 Fix blenderplayer compile. 2012-04-04 10:55:55 +00:00
Campbell Barton
f4ed44fb0c fix for building on linux with gcc4.7, an error was caused by undefining __cplusplus, so as to work with mingw4.4
this was added in r23608 so hopefully we can get buy now without it - or only undefine this in mingw if the problem still exists (cant test now).
2012-04-04 10:54:56 +00:00
Campbell Barton
d0a27a18e1 switching shape keys in editmode needs to recalc normals. 2012-04-04 03:32:41 +00:00
Joseph Eagar
1246a0d88b Changed BM_mesh_bm_from_me to copy customdata layout for empty meshes. 2012-04-04 01:35:27 +00:00
Campbell Barton
ec8a26e040 use 'const float' when passing readonly colors, and include array size. 2012-04-04 01:02:15 +00:00
Tamito Kajiyama
79e2cd8fdf Merged changes in the trunk up to revision 45383. 2012-04-04 00:50:41 +00:00
Campbell Barton
5f46fdadfd fix [#30797] Shape keys on linked duplicate get corrupted 2012-04-04 00:45:40 +00:00
Campbell Barton
3bb72e33df fix for reconstructing shape keys (found when looking into bug [#30797], but not a fix for this bug). 2012-04-04 00:02:48 +00:00
Campbell Barton
320aa33e65 rename MPoly vars called mface or mf, to avoid confusion with MFace types. 2012-04-03 23:40:24 +00:00
Brecht Van Lommel
ff14479983 Fix #30796: uv vertex coordinates panel in uv editor incorrectly taking into
account selected uvs from hidden faces.
2012-04-03 19:08:06 +00:00
Nicholas Bishop
c86b17ddb7 Fix bug #30778, sculpt w/ modifiers + undo causes collapse of vertices
Was caused by earlier refactoring of undo, used index array
before it gets initialized. Fixed by swapping order of copying.

Also changed normals calculation on undo restore to operate on
tessellated data (which sculpt still uses), fixes console warning
print.
2012-04-03 18:41:40 +00:00
Brecht Van Lommel
51afa3b7c6 Fix #30795: draw other objects in uv editor not working. 2012-04-03 17:26:57 +00:00
Brecht Van Lommel
b44ae0c387 Fix #30791: BMEdge.is_manifold also returned true for edges with only one face
attached to it. A manifold edge should have exactly 2 faces attached to it,
sticking to the standard definition for "manifold".
2012-04-03 17:09:47 +00:00
Lukas Toenne
123f7d3eb3 Popup menu layout inherits context store from button.
When adding extra context data in a layout using uiLayoutSetContextPointer, this info was not inherited by popup menus generated in this layout. While operators from regular buttons work fine, the data is missing in operators from menus and such. This patch copies the bContextStore from buttons to the new uiLayout used for popups.
2012-04-03 15:18:59 +00:00
Brecht Van Lommel
f137ba074a Fix #30789: cycles still taking into account textured solid option when it should
have no effect.
2012-04-03 14:08:04 +00:00
Campbell Barton
9776176cc9 fix [#30340] bpy.ops.pose.select_hierarchy() doesn't work on disconnected parents/children 2012-04-03 12:20:44 +00:00
Nathan Letwory
0d69b18a05 Make sure Multilayer EXR from other apps are read in as multilayer. 2012-04-03 11:53:38 +00:00