Commit Graph

31006 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
503785649d Fix #30811: glsl error in material draw mode, due to recent commit. 2012-04-04 16:11:10 +00:00
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
4f2fb41fb6 fix [#30809] Limited dissolve leaves edges behind 2012-04-04 15:10:20 +00:00
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
329c665c16 Fix blenderplayer compile. 2012-04-04 10:55:55 +00:00
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
d0a27a18e1 switching shape keys in editmode needs to recalc normals. 2012-04-04 03:32:41 +00:00
1246a0d88b Changed BM_mesh_bm_from_me to copy customdata layout for empty meshes. 2012-04-04 01:35:27 +00:00
ec8a26e040 use 'const float' when passing readonly colors, and include array size. 2012-04-04 01:02:15 +00:00
5f46fdadfd fix [#30797] Shape keys on linked duplicate get corrupted 2012-04-04 00:45:40 +00:00
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
320aa33e65 rename MPoly vars called mface or mf, to avoid confusion with MFace types. 2012-04-03 23:40:24 +00:00
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
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
51afa3b7c6 Fix #30795: draw other objects in uv editor not working. 2012-04-03 17:26:57 +00:00
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
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
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
03479c04ed fix [#30608] Regression: BMesh merge broke customdata int/float/string layers 2012-04-03 11:19:58 +00:00
64d2a32f92 rna/py api - rename layers with polygon prefix, since there are edge and vertex layers too. 2012-04-03 11:10:26 +00:00
a7798884a5 Fixed mistake made in threaded EXR commit. 2012-04-03 09:11:26 +00:00
cc6b8bd3e6 fix [#30786] bmesh: select linked not ignoring hidden verts/edges/faces (part 2) 2012-04-03 07:35:50 +00:00
285970753e fix/workaround an error related to [#30735]
when a single face in a loop is hidden, loop cut will subdivide edges on both sides.
creating an edge between the hidden faces.

without this workaround the edge ends up hidden and selected.

added a check in BM_mesh_validate() for hidden/selected elements.
2012-04-03 07:31:11 +00:00
817a96f243 fix [#30735] bmesh: loop-cut cuts faces isolated by hidden faces 2012-04-03 06:12:04 +00:00
be0d4f8e45 BM_mesh_esubdivideflag was adjusting the totedgesel variable when this is handled by selection functions. 2012-04-03 06:05:43 +00:00
Nathan Letwory
6d31d795be r45338 added multithreaded OpenEXR loading. Path to pthread was missing. 2012-04-03 05:23:23 +00:00
431eafe559 partial fix [#30777] python console utf-8 problem
backspace/del now doesn't split up multi-byte characters.
Ctlr+Backspace/Del now work for deleting whole words.
2012-04-03 03:17:49 +00:00
d98c1770f9 patch [#30780] Transform operator leak in aborted edge slide mode
from Francisco De La Cruz (xercesblue)
2012-04-03 02:52:34 +00:00
817a407a62 patch [#30779] Multiselect mode cause inconsistent selection growing
from Francisco De La Cruz (xercesblue)

The test to use faces was incorrect since mixed vertex and edge mode would be treated as faces.

made own minor change.
2012-04-03 02:46:44 +00:00
db9c9f6c64 fix [#30772] No more than two subdivions give correct result when adding an icosphere
bug was introduced in r45297, which inadvertently broke testing for multiple flags at once.

added BM_elem_flag_test_bool() and BMO_elem_flag_test_bool() to get TRUE/FALSE results rather then the flag value.
2012-04-03 02:38:27 +00:00
d37d17019c fix for vertex group blend - wasn't functional since the deform verts were being tken from a NULL array,
also made some other improvements
- make it work in weight paint vert sel mode (some unused code for this was in the function).
- add factor slider.
- add to weight paint toolbar.
2012-04-03 02:16:27 +00:00
3f3b88ff42 bmesh iterators were passing the BMesh as data argument to BM_iter_new(), harmless but incorrect.
replace these cases with iterator macro.
2012-04-03 00:28:38 +00:00
9fff51e83d code cleanup: BM_select_mode_set had loops over verts and edges but did nothing (set 0 flags), turns out setting any flags isnt needed since flushing manages this so '#if 0' for now. 2012-04-02 23:17:56 +00:00
c56bc8cb0f style cleanup: multi-line if's & whitespace. 2012-04-02 22:40:02 +00:00
3c1b5b5632 stule cleanup: edits for files which were recently cleaned up. 2012-04-02 22:26:00 +00:00
2ff9b5a7f5 Further fix for #30769: cycles assigning image to wrong material form the
uv image editor.
2012-04-02 19:38:26 +00:00
186d16e325 Fix #30769: cycles showing wrong image from active face in the uv editor,
with multiple material slots.
2012-04-02 16:30:01 +00:00