Commit Graph

37472 Commits

Author SHA1 Message Date
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
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
Bastien Montagne
b7c6327d1f Fix [#30665] UV-Editor: UV -> Copy Mirrored UV coords: mesh.faces_mirror_uv op now uses poly/loops (bmesh todo). 2012-04-03 17:19:58 +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
Sergey Sharybin
81cc7833d4 Fix #28279: Shift S used twice in maya keyconfig
It looks to be non-maintained keymap anymore, this commit only resolves
keymap conflict changing snap menu to ctrl-shift-s, no more global
changes to not break muscule memory so close to release.
2012-04-03 13:35:00 +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
Campbell Barton
012fe4646c avoid confusion with image 'Edit Externally' operator, disallow editing of packed images, resolves bug [#30506]. 2012-04-03 12:02:32 +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
Campbell Barton
03479c04ed fix [#30608] Regression: BMesh merge broke customdata int/float/string layers 2012-04-03 11:19:58 +00:00
Campbell Barton
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
Sergey Sharybin
a7798884a5 Fixed mistake made in threaded EXR commit. 2012-04-03 09:11:26 +00:00
Campbell Barton
cc6b8bd3e6 fix [#30786] bmesh: select linked not ignoring hidden verts/edges/faces (part 2) 2012-04-03 07:35:50 +00:00
Campbell Barton
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
Campbell Barton
817a96f243 fix [#30735] bmesh: loop-cut cuts faces isolated by hidden faces 2012-04-03 06:12:04 +00:00
Campbell Barton
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
Campbell Barton
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
Campbell Barton
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
Campbell Barton
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
Campbell Barton
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
Campbell Barton
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
Campbell Barton
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
Campbell Barton
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
Campbell Barton
c56bc8cb0f style cleanup: multi-line if's & whitespace. 2012-04-02 22:40:02 +00:00
Campbell Barton
3c1b5b5632 stule cleanup: edits for files which were recently cleaned up. 2012-04-02 22:26:00 +00:00
Brecht Van Lommel
2ff9b5a7f5 Further fix for #30769: cycles assigning image to wrong material form the
uv image editor.
2012-04-02 19:38:26 +00:00
Brecht Van Lommel
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
Brecht Van Lommel
095118d21e Fix #30776: image editor pan not using continuous grab if enabled. 2012-04-02 16:29:34 +00:00
Sergey Sharybin
7c4bb6f4b7 Fix #30398: Mesh objects with curve modifiers render in thier 'rest' position, not thier 'pose' position
Do not recalculate curve's path if displist is building for orco -- in this
case modifiers are not applying on curve which makes path be calculated and
later used by dependent objects with it's non-modified state.
2012-04-02 15:06:21 +00:00
Sergey Sharybin
b059554882 Expand active scene's clip when linking scene. 2012-04-02 13:56:39 +00:00
Antony Riakiotakis
ff951270d5 Solve namespace conflicts for ole grumpy MinGW. It seems FLOAT is also defined in a windef.h header. 2012-04-02 13:48:20 +00:00
Sergey Sharybin
8243048507 Fix #30767: VSE timeline marker update
Patch by Dan Eicher, thanks!
2012-04-02 12:37:03 +00:00
Sergey Sharybin
b07f9446c7 Hopefully last change to matrix orthogonal check, touches Py API only
- is_orthogonal now checks matrix in the same way as it's defined
  by linear algebra, meaning that it'll use is_orhonormal C check
- Added is_orthogonal_axis_vectors to check if vectors which defines
  axises are orthogonal
2012-04-02 12:36:00 +00:00
Brecht Van Lommel
4458ce1aba Fix #30770: missing node editor redraw when changing active material by clicking
on face in edit mode.
2012-04-02 11:51:36 +00:00
Campbell Barton
c563eb71b7 wrap RNA's RNA_property_collection_clear from python. 2012-04-02 11:28:26 +00:00
Sergey Sharybin
86c68c0569 Multithreaded EXR files loading
Use multithreaded loading of EXR files which is enabling by call of
setGlobalThreadCount function from OpenEXR library to set up number
of used threads to number of system threads which speeds up loading
high-resolution files on multi-core / multi-cpu systems and allows
to work with high-resolution sequences in clip editor and sequencer.
2012-04-02 11:04:24 +00:00
Campbell Barton
7b9d9ecab2 fix for a bug with Ctrl+Click extrude in curve editmode, it would use the wrong handle type in some cases.
also make it re-calculate the handle locations which is much more useful.
2012-04-02 10:20:10 +00:00
Campbell Barton
48059cc329 fix problem with select invert - flush selection.
previously this wasnt needed because doing an undo push would flush the selection.
2012-04-02 09:07:02 +00:00
Campbell Barton
7d9f0232df adding back boundary inset support. was disabled because at one point it was unstable. 2012-04-02 08:58:26 +00:00
Campbell Barton
7d184567d7 fix [#30758] bmesh: unable to rip a single vertex
this also adds the ability to rip disconnected face fans apart which is handy.
2012-04-02 08:35:12 +00:00
Thomas Dinges
aa7cc852cd Constraint UI:
* Adjust "no py constraint" message to be a bit more meaningful.
2012-04-02 07:54:12 +00:00
Bastien Montagne
66e8efd40c Minor UI messages fix... 2012-04-02 06:56:16 +00:00
Campbell Barton
d2d2b8c2f2 code cleanup: replace inline axis angle conversion with axis_angle_to_mat3() 2012-04-02 06:43:16 +00:00