Commit Graph

31032 Commits

Author SHA1 Message Date
Campbell Barton
99aaf0812c fix for vertex slide not taking object transformation into account.
also make the shortcut 'Shift+V'
2012-04-07 13:42:00 +00:00
Campbell Barton
8fa17c5362 code cleanup: no functional changes
- memset(..., -1) is used incorrectly even though it worked: MOD_solidify.c - thanks Halley from IRC for noticing this. use fill_vn_i() instead.
- quiet warnings in editmesh_slide.c
- cleanup comments in bmesh and some other minor comment additions.
2012-04-07 12:37:15 +00:00
Francisco De La Cruz
6482351ed9 Added Vertex Slide: Slides a vertex along a selected and connected edge (Shift+Ctrl+V)
-
BMop: "vertslide vert=%e edge=%hfev distance_t=%f"
2012-04-07 03:15:20 +00:00
Alexander Kuznetsov
628b183d98 Temporary gzopen fix for for Windows
If we open file for write, we create a new file and close it. Therefore we have existing path for GetShortPathName.

Strangely zlib fails on gzclose if file descriptors are used.
2012-04-06 21:11:10 +00:00
Brecht Van Lommel
ee307bec88 Fix #30798: when linking a datablock, it got simply added to the back of the
list, now the linked datablocks are sorted by name too (but still appear after
the non-linked datablocks).
2012-04-06 16:19:30 +00:00
Daniel Genrich
f349aeacf1 Smoke: Use better standards for inflow
a) Set particle system for inflow to " show unborn"
b) Set particle system for inflow to lifetime = 1
2012-04-06 12:50:46 +00:00
Campbell Barton
11a4dab32b bmesh minor change - avoid increasing array sizes one by one and use iterator macros. 2012-04-06 11:50:16 +00:00
Joshua Leung
186f018e6e Animation version patching for Absolute Shape Keys ("speed" curve ->
"eval_time") now works
2012-04-06 11:45:45 +00:00
Francisco De La Cruz
6408813f6f Fix [#30832] Weight on Bevel modifier has no effect for edges with weight.
Added missing CD_BWEIGHT layer for the modifier's DerivedMesh.
2012-04-06 11:24:42 +00:00
Campbell Barton
831f0e6283 option to have inset face select the interior faces (mango request) 2012-04-06 10:33:45 +00:00
Campbell Barton
58064bdfc4 code cleanup: add doxygen headers to bmesh operator files, also add own include so definitions dont get out of sync. 2012-04-06 09:21:19 +00:00
Campbell Barton
eeb9977bfd fix crash with stack memory usage for the knife tool.
knife cutting ~25000 faces would crash with 8mb stack set.

fix by removing generic iterators in functions which do recursive calls.
2012-04-06 06:17:52 +00:00
Campbell Barton
906cd4d8a6 update python keywords (remove exec, print, add nonlocal) 2012-04-06 05:53:01 +00:00
Campbell Barton
df29e91a69 code cleanup: header cleanup, remove commented workaround for mingw since its no longer needed. 2012-04-06 04:46:47 +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
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