Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-03-22python api: add functionality to remove vertex color layers.Campbell Barton
note: that this intentionally removes check to exit vpaint mode when a vertex color layer is removed, since being in vertex-paint mode without a vertex color layer is supported. also minor change to drawing camera limits while picking from previous commit.
2013-03-20- add knife project to toolbar.Campbell Barton
- when running knife project, disable vertex selection since it may select areas between the newly cut regions. add EDBM_selectmode_disable() function since loopcut does this too. - (optimization) avoid looping over all geometry when flushing and no selection exists.
2013-03-20code cleanup: use booleans for mesh and selection code.Campbell Barton
2013-03-16patch [#34634] Select vertices without a groupCampbell Barton
from Kevin Mackay (yakca)
2013-03-13code cleanup: use const events for modal and invoke operators.Campbell Barton
2013-03-12use gcc warning -Wredundant-decls, exposes some odd/duplicate declarations ↵Campbell Barton
which have been removed.
2013-01-22fix [#33889] Unexpected weights after parenting with Empty GroupsCampbell Barton
out of range dvert's are now cleared before adding new-empty groups.
2013-01-14use booleans for bmesh api.Campbell Barton
2013-01-13speedup for EDBM_uv_vert_map_create(), reduce customdata lookups. also ↵Campbell Barton
remove redundant check for hidden faces.
2012-12-23initial support for 'occlude background geometry' in weight paint mode.Campbell Barton
Only support mouse vertex select at the moment.
2012-12-12Fix error compiling in debug build, should test #ifndef NDEBUG instead ofBrecht Van Lommel
2012-12-12remove context argument from EDBM_update_generic()Campbell Barton
2012-12-12make EDBM_index_arrays's stay in memory, blender was allocating an array and ↵Campbell Barton
filling it for verts/edges/faces on every redraw. this may introduce bugs which I didn't catch, but they are very easy to identify in a debug build which has asserts to ensure the arrays are valid before use. in my own test drawing ~98,304 quads - this gave an overall ~16% drawing speedup.
2012-12-12use htype flags as arguments to EDBM_index_arrays_init(), no functional changes.Campbell Barton
2012-11-13add an operator for mesh mode switching,Campbell Barton
this lets python menu for mode setting do mixed selection and extending the selection - just like the buttons in the header.
2012-11-03Bugfix (own collection)Ton Roosendaal
Adding new image texture to Meshes didn't initialize UVs to 0-1 default. This makes initial display of textures on meshes not work. This fixes my favorite demo case: Open Blender, drop image from desktop on cube.
2012-10-22Support for connected style proportional editing in UV editor. Now when ↵Antony Riakiotakis
connected proportional editing is on, only UVs on the same island will be proportionally moved. The implementation simply rejects UVs whose island does not belong to islands of selected vertices and decrements the total count of transform elements appropriately. Memory usage could be better but it would require some more preprocessing.
2012-10-10refactor screen foreach functions to accept float[2] arguments rather then ↵Campbell Barton
int pairs. overall means less converting between float and int (and short in some cases).
2012-10-06Bugfix [#32789] (Minor) Different types used between func declaration andJoshua Leung
definition (EDBM_selectmode_convert()) Cheers to Sebastian Nell (codemanx) for catching this.
2012-10-05code cleanup: use functions to initialize selection user data structs, use ↵Campbell Barton
radius-squared for circle select comparisons. edge_fully_inside_rect() & edge_inside_rect() args were shorts when all callers were passing ints.
2012-10-05replace most uses of ED_view3d_project_float_noclip() with ↵Campbell Barton
ED_view3d_project_float_global/object
2012-09-28fix/workaround [#31811] Subdivision Surface (Apply modifier to editing cage ↵Campbell Barton
during Editmode) Loop Cut Crash A correct fix for this bug likely involves changuing how operators are called in the event loop but such changes better not be made just before the release.
2012-09-18fix own error BLI_rctf_cent_x/y were incorrectly returning int's, also quiet ↵Campbell Barton
some warnings.
2012-09-07fixes for weight paint mode:Campbell Barton
- sample weight didnt work when the object was transformed. - sample weight didnt work when vertex selection was enabled. - 'All faces' option is used by weight paint mode, but there was no UI access. add ED_mesh_pick_face_vert(). which uses the face selection buffer but returns the closest vertex.
2012-09-07remove makeDerivedMesh from ED_mesh_pick_face(), this was added 44256 (bmesh ↵Campbell Barton
merge), but is pretty bad (rebuilding entire derived mesh to pick a face), tested with subsurf modifier, sintel mesh - it works ok without it. Also - other select modes like border-select dont do this, so looks safe to disable.
2012-09-07code cleanup: header had many incorrect sections for function/file, also ↵Campbell Barton
rename mouse_mesh() --> EDBM_select_pick()
2012-09-07code cleanup: move vertex and face picking functions into meshtools.cCampbell Barton
2012-09-06code cleanup: remove deprecated defines and some struct membersCampbell Barton
2012-08-31Fix #32458: changing UV image in image editor not working when the active faceBrecht Van Lommel
was not selected. Now changed it so that the active face must also have its UVs shown in the image editor to be used as the source of the image shown.
2012-07-20minor edits for bmesh apiCampbell Barton
2012-05-25Modifications to the view3d.select() operator: Nathan Vegdahl
1. Two new boolean options have been added to the operator: "deselect" and "toggle". 2. The previous behavior of "extend" (toggling the selection) has been moved to the "toggle" option. 3. "extend" now only extends the selection, it never deselects. 4. "deselect" is pretty self-explanatory: it deselects (i.e. opposite of extend). 5. The built-in keymap has been changed to use "toggle" where "extend" was used before for this operator, to maintain the previous behavior in the default keymap. In short, this works towards making "extend" and "deselect" fully consistent across all selection tools (adding to and removing from selection, respectively), but still preserves the old behavior as well. (Patch reviewed by Brecht.)
2012-05-16modal operation for bevel and inset:Antony Riakiotakis
This commit adds some first building blocks for the two operators to work modally based on mouse input. To make their function easier, two hotkeys are introduced, Ctrl+B for bevel and I for inset. TODO: After discussion with Campbell, we would like to add scale-style line indicators for the operators. This is already done for transform operators but a new interface for mesh operations may have to be written using pieces from that code since, strictly speaking bevel and inset are not exactly "transform" operators. Also, a better input method for inset is needed and more options exposed. The method implemented right now uses mouse move for thickness and ctrl-mouse move for depth. These are calculated using the distance of the selection center in screen space and the mouse position. While that may work and prevents abrupt changes in values when switching from thickness tweak mode to depth tweak mode, it limits the magnitude of values that can be put into the tool especially in small or large scale. Alternatives until a better method is written include: * use relative offset (works but may give strange results) * tweak manually after the operation.
2012-04-28code cleanup: Campbell Barton
- replace inline face UV center calc. - use const float[3] for mesh and uv functions. - remove unused define
2012-04-25code cleanup: no functional change - had both EDBM_editselection_* and ↵Campbell Barton
BM_editselection_* funcs, replace EDBM_ funcs.
2012-04-23- fix for python freeing its own bmesh clearing the global mirror cache.Campbell Barton
- fix for own mistake (Ctrl+T didnt set beauty peroperty). - remove bad level includes in bmesh.
2012-04-23code cleanup: bmesh subdivide code - BM_mesh_esubdivideflag() & "esubd" ↵Campbell Barton
bmesh operator was passing a flag about in a fairly confusing way. since we will eventually have python bmesh operator access better expose this as multiple booleans. remove remaining editbutflag's
2012-04-23code cleanup: remove editbutflag flag from toolsettings & related defines.Campbell Barton
2012-04-19code cleanup: remove unused BMesh args.Campbell Barton
2012-03-29added Mesh.calc_tessface(), needed to update mesh tessface after bmesh edits.Campbell Barton
also add py api BMDeformVert.clear()
2012-03-29skip using bmesh operators for converting to/from undo meshes (gives some ↵Campbell Barton
speedup)
2012-03-27style/name cleanup: have EDBM_* functions match our style guide and also ↵Campbell Barton
match BM_ function naming conventions
2012-03-27fix [#30651] bpy.ops.object.mode_set(...) editmode removes faces.Campbell Barton
problem was that BMesh had tessellation call when undo pushes were called. if python called an operator with no undo push, tessfaces would not be created. fix this by making it the responsibility of each editmesh operator to re-tessellate, as it is with notifiers and depsgraph. added EDBM_update_generic() function to add notifier, tag for depsgraph update and optionally re-tessellate.
2012-03-26disallow adding tessfaces to a mesh with polygons (only allowed case is ↵Campbell Barton
creating a new mesh with tessfaces and later converting to polygons, which wont work if polygons exist)
2012-03-26fix [#30657] New UV layers created with Mesh.uv_textures.new reset previous ↵Campbell Barton
ones. adding UV's from python was resetting the active UV layer but not setting the new layer to active, resetting existing UV's.
2012-03-24code cleanup: re-shuffle some functions so EDBM_ functions are in bmesh_utils.cCampbell Barton
remove bmesh_selecthistory.c, only wrapped a few functions.
2012-03-04style cleanup - comment spelling + translate some dutch.Campbell Barton
2012-03-03style cleanup - use aligned * prefixed blocks for descriptive comments (was ↵Campbell Barton
already used a lot and part of proposed style guide).
2012-03-02mesh.update() now has option to calculate tessellation faces.Campbell Barton
2012-02-29Code Cleanup: remove non existing function declarations.Campbell Barton
added some missing functions too - which are not used yep but should be there for api completeness. * CDDM_set_mloop * CDDM_set_mpoly * BLI_mempool_count
2012-02-28Code Cleanup: bmeshCampbell Barton
* remove unneeded struct's from headers. * give argument names for return ** pointers r_ prefix.