Commit Graph

37521 Commits

Author SHA1 Message Date
Thomas Dinges
732806225d Ghost:
* Typo fix, preventing mingw to compile.
Found by XercesBlue in IRC:
2012-04-06 10:24:15 +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
743a9c2e1d some pedantic load time speedup by not loading modules (math and subprocess in this case) 2012-04-06 08:04:31 +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
4e060acda4 remove unused theme color 2012-04-06 05:54:13 +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
Brecht Van Lommel
91eeddc973 Fix windows compile error in previous commit. 2012-04-05 16:23:47 +00:00
Thomas Dinges
d024238fb2 Cycles / OpenCL:
* Enable __KERNEL_SHADING__ per default for OpenCL.
This enables basic shading (color, emission, textures...) for AMD cards. 

You need the latest AMD catalyst driver in order to have this work.
2012-04-05 16:19:51 +00:00
Brecht Van Lommel
6e93e33294 Cycles: add rejection of inf/nan samples, in principle these should not happen
but this makes it more reliable for now.

Also add an integrator "Clamp" option, to clamp very light samples to a maximum
value. This will reduce accuracy but may help reducing noise and speed up
convergence.
2012-04-05 15:17: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
fe99e731c8 UI files:
* Naming convention fixes and one if / elif fix.
2012-04-05 09:52:03 +00:00
Campbell Barton
f774384606 updated man page 2012-04-05 09:41:55 +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
fc257b1f71 fix [#30817] Toolshelf delete vs X menu don't match? Bug/Inconsistancy? 2012-04-05 01:55:49 +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
eefdeebae5 Fix #30710: cycles wrong render time after pause/unpause in viewport. 2012-04-04 16:11:44 +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
Bastien Montagne
45ea047725 Update to i18n font: a few small cyrillic letters were missing...
Found by Chingis Jumaliev, which did a first edit, I completed it from current Debian’s droidsans version, now cyrillic should be complete.
2012-04-04 15:39:48 +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
Campbell Barton
c93c8bda3d replace relative imports with absolute imports so scritps can be executed directly (live editing). 2012-04-04 14:39:52 +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
dd862077da use 2.4x tooltip colors 2012-04-04 06:02:10 +00:00
Campbell Barton
3abbe6377a update themes for new settings + theme update script. 2012-04-04 05:42:36 +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