Commit Graph

30913 Commits

Author SHA1 Message Date
a32cc95fa8 style cleanup 2012-03-30 10:00:20 +00:00
28889a3500 fix [#30732] bmesh: loop select continues through hidden sections. 2012-03-30 09:27:54 +00:00
0e972b6293 partial fix for [#30732] bmesh: loop select continues through hidden sections.
loop cut and edge ring select still need to be fixed.
2012-03-30 08:43:47 +00:00
e0d94b7244 minor speedup converting a BMesh to a Mesh - avoid loop over all faces to count how many loops to use, since BMesh stores totloop.
also use camel case for UndoMesh (convention)
2012-03-30 06:45:13 +00:00
0740e9e464 fix [#30643] Crasher on entering edit mode with VBOs enabled 2012-03-30 06:11:59 +00:00
79871ded0b fix for finding the python exception line number when running a script in the text editor.
- filename comparison was invalid
- was stopping on the first traceback, which would reference the caller but not the error line (when the error was in a function).
2012-03-30 05:26:08 +00:00
a6ebffe182 style cleanup: interface 2012-03-30 01:51:25 +00:00
7b60ebf398 fix for unhiding faces showing invalid normals. 2012-03-30 01:11:11 +00:00
6113c0e0b7 fix [#30725] BMesh - Select Linked ignores faces 2012-03-30 00:58:29 +00:00
bf21f02ad0 fix [#30718] Selecting vertices, edges, faces and undoing - results in wrong header status info
converting mesh to bmesh resulted in incorrect stats.
2012-03-30 00:23:22 +00:00
9e497291ee support for opengl rendering in the sequencer (header icons as with 3D view).
while opengl could be used for display you couldn't output it to a file.

extended the existing opengl render operator to optionally take input from the sequencer.

notes:
- doesn't redraw in the viewport yet (only output in terminal)
- doesn't do OSA
2012-03-29 23:33:50 +00:00
1652e459b6 Small fix for r45256, AKEY (de)selection not working.
Added call to BM_mesh_select_mode_flush on entering edit mode.
2012-03-29 23:14:09 +00:00
9c5907cc79 Small code cleanups related to arrays.
* Added helpful comment on 'keepverts' slot of bmop finddoubles.
* Removed unused macro 'E' from MOD_array.
2012-03-29 23:13:44 +00:00
8ec4371ff1 style cleanup: render 2012-03-29 22:42:32 +00:00
2722320ca6 style cleanup: minor change and remove redundant casts 2012-03-29 22:35:12 +00:00
863f7edad6 style cleanup: sequencer 2012-03-29 22:26:11 +00:00
7816eb7bd8 Fix "First Last" merge option in array modifier (partial fix for bug 30195) 2012-03-29 20:58:25 +00:00
08e56a26ad Add stub for ED_mesh_calc_tessface to get blenderplayer compiling again. 2012-03-29 17:17:39 +00:00
3f8cf2cbdc Fix #30717: Bmesh Branch manipulator bug (Maya Keymaps)
Issue was caused by storing operator properties for VIEW3D_OT_enable_manipulator
2012-03-29 15:50:51 +00:00
ae33503d03 Fix #30716: Clamp To Constraint Locks up Blender after a while.
Issue was caused by object moved really far away (not just actually issue,
it's just about long mouse gesture and X-axis orientation which projects
position to quite large X-axis value) and for this location start offset
from curve length was calculating iteratively which takes plenty of time for
short curves.

Replace iterative search of offset with formula which seems to be working
in the same way and should be a bit more accurate.
2012-03-29 15:41:58 +00:00
81efab83f0 Fix #30719: Align View to Selected has unexpected results on further view change 2012-03-29 15:04:54 +00:00
20e2330434 added Mesh.calc_tessface(), needed to update mesh tessface after bmesh edits.
also add py api BMDeformVert.clear()
2012-03-29 13:44:30 +00:00
f87c5b3453 fix [#30715] bmesh: select linked not ignoring hidden verts/edges/faces
add optional flag to ignore hidden elements.
also remove loop mask flag - since it wasnt used and vert/edge/face is enough.
2012-03-29 13:09:07 +00:00
7474397f85 More array modifier fixes.
* Skip calculation of merge indices if merging isn't enabled
* Clean up usage of BMesh operators to fix small memory leak
* Fix harmless BLI_assert in CustomData_bmesh_merge
* Another null-initialization fix in CustomData_bmesh_merge
2012-03-29 11:31:44 +00:00
7661f429c6 Fix uninitialized variable in CustomData_bmesh_merge.
Caused a crash in array modifier with caps.
2012-03-29 10:49:17 +00:00
a173508f49 converting a mesh to an undo mesh now skips using bmesh operator. 2012-03-29 03:06:42 +00:00
f22f60e7c4 BGE: This fixes a problem where lamps in inactive layers were rendering shadows buffers that never got used, which was a huge performance sink. 2012-03-29 01:56:08 +00:00
42076f0a1f skip using bmesh operators for converting to/from undo meshes (gives some speedup) 2012-03-29 01:41:56 +00:00
a308b6c0ec Windows Blenderplayer: The console now closes when the Blenderplayer launches (like it does with Blender). To get it back, use the -c flag, which is finally working as described: "-c: keep console window open" 2012-03-29 01:40:19 +00:00
24b4d5569a fix [#30705] Playing animation in reverse prevents further forward playback 2012-03-28 22:43:26 +00:00
5591d03f21 fix invalid *= on an un-initialized value when adding primitives. 2012-03-28 22:11:19 +00:00
b8bb3f2e3c Partial fix for array modifier vertex merge (bug 30195).
Two fixes:

* The find-doubles operator was overriding the "dirty" element
  indices, so vertices were not being mapped correctly.

* In some cases a vertex can be set to merge with a vertex that is
  also set to be merged, so added a loop to find the first unmerged
  vert in this case.

Not yet working is the "First Last" merge option.

Also made some cleanups and added comments in the array/remove doubles
code.
2012-03-28 22:03:46 +00:00
cb45d282fe Fix #30702: game engine softbody weld threshold was exposed in UI, but actually
disabled in code because it doesn't work well, so hide the property from the UI.
2012-03-28 12:18:25 +00:00
ed61bfc9a6 style cleanup 2012-03-28 11:53:18 +00:00
ca8d262e89 Small cleanup for r45238, remove empty/unused function. 2012-03-28 11:48:16 +00:00
1e5424564c expose image render_slot so keybindings can be configured to change 2012-03-28 09:10:19 +00:00
0dd3408123 Cycles: add alpha output to image node. 2012-03-28 09:07:43 +00:00
d87995a6b1 Cycles: add rendered draw mode option in 3d view header to show the active
render layer rather than the viewport layers.
2012-03-28 09:07:35 +00:00
33740c5eb5 Cycles: viewport rendered draw mode now shows background images, also changed the
image editor checkerboard pattern to be the same as cycles viewport.
2012-03-28 09:07:10 +00:00
30d128c7a7 bmesh: be more strict with operator string formatting, no tabs and only accept slot=%x style. 2012-03-28 08:42:19 +00:00
8aa42f309c print error if rip does nothing (rather then grabbing the unripped verts as it did before) 2012-03-28 08:00:58 +00:00
Lukas Toenne
f342c7de45 Fix for the node tree nodes.new API function, this wasn't setting the scene and main context pointers in the node template, used by file output node. Also the file output node itself now works in case of scene==NULL (might happen in some contexts). 2012-03-28 07:48:08 +00:00
12655edc84 remove dissolve keybinding, conflicts with draw, add back to delete menu.
dissolve is now 'X -> D'
2012-03-28 07:44:20 +00:00
5f0ef4435c fix [#30699] blender crashes when dissolving faces
thanks to Francisco De La Cruz for investigating and providing fix.
2012-03-28 06:44:19 +00:00
f9fd5439eb code cleanup: Ctrl+Click extrude - replace inline axis/angle to matrix conversion with a call to axis_angle_to_mat3() 2012-03-28 06:34:18 +00:00
534f4ddb4d fix for vertex rip
wire edges connected to the vertex would confuse vertex rip.

- was only checking verts first edge had a face,  this is incorrect since other vert-edges may have a face.
- wasn't checking of edges connected to the vertex were hidden.
2012-03-28 05:44:38 +00:00
52984c2772 fix [#30701] bmesh: segfault when ripping partially connected vertices 2012-03-28 05:20:48 +00:00
711d7539e0 style cleanup: for creator.c & more useful assert message (file:line) 2012-03-28 05:09:50 +00:00
07065b27b8 style cleanup 2012-03-28 05:03:24 +00:00
c9f677d24d style cleanup: mainly whitespace around operators and indentation - paint/sculpt tools 2012-03-28 03:47:33 +00:00