Commit Graph

47594 Commits

Author SHA1 Message Date
Ove Murberg Henriksen c88c6886aa added function for copying weight to target vertex from closest source vertex 2012-04-19 00:09:20 +00:00
Antonis Ryakiotakis baba9c441e Fix: Mark seams in uv editor didn't work 2012-04-18 22:27:24 +00:00
Thomas Dinges 0b3f94d91f Fixing bug [#31005] Nurbs UI bug
* W button was hidden, due to too small y alignment.
2012-04-18 20:43:07 +00:00
Thomas Dinges a1ed21ac85 Release Status:
* Still BCon4, rc phase now.
2012-04-18 20:07:35 +00:00
Antonis Ryakiotakis aeccaa6f32 knife tool: Add state indicator in header for tool options 2012-04-18 19:59:27 +00:00
Campbell Barton 18a6282e59 improve recent commit to copy loop data on extrude
- in some cases the is only a face on the new edge, so check for this as a source to copy from too.
- one of the asserts wasnt correct, if there are no adjacent faces found just return.
2012-04-18 19:05:28 +00:00
Campbell Barton 446d5ad970 bmesh knife tool: cut through no longer initializes from view setting to limit selection to front faces.
instead this is a toggle (Zkey) which is remembered between executions.
2012-04-18 18:20:20 +00:00
Antonis Ryakiotakis 3fdb0e9575 Fix: Transforming NLA strips leaks memory. 2012-04-18 17:50:30 +00:00
Campbell Barton d4bc938676 bmesh knife tool:
fix for bug where not moving the mouse after pressing K and clicking would start the first point at the bottom left of the view.
2012-04-18 16:55:15 +00:00
Campbell Barton 486bf16af5 bmesh knife tool:
- only cut selected geometry.
- exclude hidden geometry from snapping.
2012-04-18 16:27:11 +00:00
Brecht Van Lommel 535cf65877 Cycles: added a Normal output to the texture coordinate node. This currently
gives the object space normal, which is the same under object animation.

In the future this might become a "generated" normal so it's also stable for
deforming objects, but for now it's already useful for non-deforming objects.
2012-04-18 16:11:48 +00:00
Brecht Van Lommel 27ffa5dfdf Cycles: per render layer Samples control, leaving it to 0 will use the common
scene setting.
2012-04-18 15:23:13 +00:00
Campbell Barton 40e3ae6478 correct ifdef'd scanfill code, incase someone wants to test. 2012-04-18 15:09:13 +00:00
Campbell Barton d7542be6ac code cleanup: more minor changes to scanfill 2012-04-18 14:36:56 +00:00
Campbell Barton abcaec0edc code cleanup: replace magic numbers in scanfill with defines, also use some vector functions where possible 2012-04-18 14:30:57 +00:00
Sergey Sharybin 731b8f5c47 Merging r45744 through r45747 from trunk into soc-2011-tomato 2012-04-18 14:22:32 +00:00
Campbell Barton ca913254aa fix for eternal loop in scanfill,
The cause for this is bmesh faces which have zero area have their normals set to a fake value (Z-Up), this would break scanfill, possible fixes are to calculate the faces normal each time or tag as invalid but its easiest to avoid the eternal loop with an extra test.
2012-04-18 14:06:59 +00:00
Sergey Sharybin 7cedc60b79 Merging r45738 through r45743 from trunk into soc-2011-tomato 2012-04-18 12:54:12 +00:00
Campbell Barton 580f19d949 fix [#30994] Extruding faces gives bad UV's
this had strange logic, there was no need to loop over all face loops.
2012-04-18 09:56:19 +00:00
Campbell Barton 40f4a4b6ba style cleanup: mesh validate.
also add code cleanup script which runs uncrustify and then undoes trailing whitespace edits (reducing diff noise)
2012-04-18 09:16:30 +00:00
Campbell Barton ddbb4db1d3 fix [#30995] Wavefront obj. file export/import issue with splited edge 2012-04-18 09:04:07 +00:00
Brecht Van Lommel 6d346724d3 Fix redo not working correct after keyboard input for shear, shrink/flatten,
push/pull, edge slide tools. Patch by Nicholas Rishel.
2012-04-18 08:26:58 +00:00
Campbell Barton c776418b24 add missing NULL check for BM_vert_collapse_faces(), could crash in rare cases. 2012-04-18 08:11:08 +00:00
Sergey Sharybin 7971a36eea Merging r45718 through r45737 from trunk into soc-2011-tomato 2012-04-18 07:57:20 +00:00
Campbell Barton 08478a10d1 fix [#30921] Bevel modifier's is not work correctly with bevel weights
replace dissolve function with one from 2.62 (updated for the new bmesh api).
2012-04-18 07:29:12 +00:00
Campbell Barton 9a4aecbcc3 bmesh: fix own bug in BM_vert_collapse_faces() with option 'kill_degenerate_faces', was removing data as it iterated, would crash in some cases. 2012-04-18 07:27:15 +00:00
Campbell Barton 1f01d62d15 more replacement for BM_edge_face_count() use. 2012-04-18 06:57:28 +00:00
Campbell Barton f1ececaabb code cleanup: replace use of BM_edge_face_count with BM_edge_is_manifold and BM_edge_is_boundary 2012-04-18 06:44:48 +00:00
Campbell Barton 27696ddae1 fix error in last commit. Misunderstood BM_vert_is_manifold(), added some comments. 2012-04-18 06:36:47 +00:00
Campbell Barton 6389301eb5 fix for own error in recent scanfill updates, scanfill can hang if run on a polygon with no area. 2012-04-18 05:52:18 +00:00
Campbell Barton df27c315ce code cleanup: minor edits to bmesh_jfke(), move simple checks first. 2012-04-18 04:44:50 +00:00
Campbell Barton a1337caac0 bmesh api: minor simplify & cleanup
- add BM_face_edge_share_loop(f, e) -- edge version of existing BM_face_vert_share_loop(f, v)
- simplify BM_edge_ordered_verts_ex(), check could be reduced.
- use BM_ELEM_INTERNAL_TAG for bmesh_jfke(), not BM_ELEM_TAG to avoid clobbering tagged data tools might use.
2012-04-18 04:32:55 +00:00
Campbell Barton fdea14acb4 save thumbnail from the 3D view if no camera is present. 2012-04-17 20:51:11 +00:00
Campbell Barton 149c52859b code cleanup: use const args for writing files. 2012-04-17 19:51:40 +00:00
Ove Murberg Henriksen 0563ec03f5 Added mechanics for detecting and reacting on uneven indices. 2012-04-17 19:10:57 +00:00
Campbell Barton 830013aabe fix error in single vertex ripping where the edit-selection could be left on unselected verts or not set on the newly ripped vertex.
also some corrections to comments.
2012-04-17 18:36:29 +00:00
Campbell Barton 1d6a5a4aa4 fix [#30970] Rip Tool: selecting the side of edges works incorrectly 2012-04-17 18:14:31 +00:00
Brecht Van Lommel daf98a7184 Attempted fix for #30985: knife draw messing up display after confirming. I couldn't
redo the problem, but the depth test toggle here should be conditional as in other
3d view drawing code.
2012-04-17 17:25:10 +00:00
Brecht Van Lommel 1df6f88b5d Fix blenderplayer build, added stub. 2012-04-17 16:51:10 +00:00
Sergey Sharybin 4a168f9c78 Merging r45708 through r45717 from trunk into soc-2011-tomato 2012-04-17 16:42:12 +00:00
Brecht Van Lommel e9f1ea691c Fix #30570: UI issue editing modal keymaps below operators using them. 2012-04-17 16:21:13 +00:00
Campbell Barton e6adcfe8c6 bmesh api: adjust bmesh_vert_separate() not to set the loops index values (need them to be left untouched for other tools). 2012-04-17 15:44:19 +00:00
Brecht Van Lommel 8ae502ae99 Fix #30977: error loading modal keymaps from keyconfiguration presets. 2012-04-17 15:40:04 +00:00
Brecht Van Lommel 3f9fce6542 Fix #30980: edge slide Correct UVs option not working.
Was a bmesh todo, main issue was with shape keys, now disabled any changes to
the shape key data layer, and disabled the option altogether when editing
non-basis shape keys.
2012-04-17 14:24:04 +00:00
Brecht Van Lommel e4734d3d01 Fix part of #30982: dupliface object with modifiers did not show duplis correct
while in edit mode.
2012-04-17 13:07:13 +00:00
Brecht Van Lommel cd78d3cdce Cycles: render layer "Exclude Layers" added.
Scene layers (all object that influence the render, directly or indirectly) are
shared between all render layers. However sometimes it's useful to leave out some
object influence for a particular render layer. That's what this option allows you
to do.
2012-04-17 12:49:39 +00:00
Brecht Van Lommel 3d2f1fd8f9 Fix crash with texture draw in edit mode after commit 45672.
Don't create empty tesselated faces layers in edit derivedmesh, these are
being created on the fly so this will conflicted, and use loop data for
opengl attributes for edit derivedmesh drawing.
2012-04-17 11:02:32 +00:00
Campbell Barton 09f722740f move rip out into its own file 2012-04-17 10:25:23 +00:00
Sergey Sharybin 4f158eee25 Merging r45693 through r45707 from trunk into soc-2011-tomato 2012-04-17 10:09:47 +00:00
Campbell Barton 3486223607 code cleanup: remove/comment some unused code. 2012-04-17 05:09:37 +00:00