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-11-01fix for weight-paint crash picking the weight with the mask modifier (or any ↵Campbell Barton
modifier which removes geometry). was incorrectly mixing indices from the DerivedMesh and the original mesh.
2013-10-28move bmesh array lookup data and utility functions from editmesh into bmesh,Campbell Barton
since enough bmesh operations can also take advantage of direct index lookups on verts/edges/faces. developers note: - EDBM_index_arrays_init/ensure/free -> BM_mesh_elem_table_ensure/init/free - EDBM_vert/edge/face_at_index -> BM_vert/edge/face_at_index - EDBM_uv_element_map_create/free -> BM_uv_element_map_create/free - ED_uv_element_get -> BM_uv_element_get
2013-09-21bugfix: [#36786] customdata layers are not merging taken the names into ↵Dalai Felinto
consideration (which is also "[#36749] Joining objects with more than one uv map depends on list order") Thanks Bastien Montagne and Brecht van Lommel for reviewing and some advice.
2013-09-17fix [#36246] Weight tools do not mirror properly in vertex selection mask mode.Campbell Barton
Weight mirror is now supported by invert/clean/levels/blend.
2013-08-24ghash: reserve size when its known or can be guessed close enough.Campbell Barton
also avoid allocs per node in pbvh_bmesh_node_limit_ensure()
2013-08-19Optimization and threading fix for shapekeys weights calculationSergey Sharybin
This commit fixes two different issues, which were caused by how weights are being calculated for relative shapekeys. Weights for key block used to saved in KeyBlock DNA structure, which lead to situations when different objects could start writing to the same weights array if they're sharing the same key datablock. Solved this in a way so weights are never stored in KeyBlock and being passed to shapekeys routines as an array of pointers. This way weights are still computed run-time (meaning they're calculated before shapekey evaluation and freed afterwards). This required some changes to GameEngine as well, to make it never cache weights in the key blocks. Another aspect of this commit makes it so weight for a given vertex group is only computed once. So if multiple key blocks are using the same influence vertex group, they'll share the same exact weights array. This gave around 1.7x speedup in test chinchilla file which is close enough to if we've been caching weights permanently in DNA (test machine is dual-code 4 threads laptop, speedup measured in depsgraph_mt branch, trunk might be not so much high speedup). Some further speed is optimization possible, but it could be done later as well. Thanks Brecht for idea of how the things might be solved in really clear way. -- svn merge -r58786:58787 ^/branches/soc-2013-depsgraph_mt
2013-08-07code cleanup: more confusion with 0/NULL/falseCampbell Barton
2013-07-23optimization: only calculate the normals for passing into derivedMesh ↵Campbell Barton
foreachMappedVert/foreachMappedFaceCenter when needed, this means in editmode with wire draw, face and vertex normals don't have to be calculated at all. in most cases the normals are not used so add a flag that makes calculating them only for functions that need them. also fix face normal calculation for CDDM, was using quad calculation for ngons too.
2013-07-22transform was flushing the selection (inline), now skip this and use the ↵Campbell Barton
selection as-is. flush the selection on entering editmode instead (since the selection mode can be changed with another mesh). is other tools leave the selection incorrectly flushed, those will need to be fixed so transform works as expected.
2013-07-20misc editsCampbell Barton
- fix for missing None check with recent 'Hidden Wire' draw option. - avoid int overflow with mesh selection. - remove ';' outside of functions.
2013-07-10patch [#36078] Fixes joining behavior for curves and armatures (when active ↵Campbell Barton
object not selected).
2013-06-28Fix #35551: the topology mirror setting affected shape key and vertex group butBrecht Van Lommel
this was confusing as there was no setting visible for it. Now these menus contain an entry to mirror without and with topology mirror.
2013-06-24add api calls for BM_mesh_active_vert/edge_get.Campbell Barton
inspecting the edit-selection inline was cumbersome.
2013-06-24de-duplicate ED_mesh_active_dvert_* functions.Campbell Barton
not to devs - please don't just copy static functions around, make them api calls and add to headers.
2013-06-15removed unnecessary return statementGaia Clary
2013-05-28code cleanup: lots of calls to BKE_mesh_calc_normals_mapping were not using ↵Campbell Barton
the mapping functionality. replace ED_mesh_calc_normals with BKE_mesh_calc_normals().
2013-05-26BLI_math rename functions:Campbell Barton
- mult_m4_m4m4 -> mul_m4_m4m4 - mult_m3_m3m4 -> mul_m3_m3m4 these temporary names were used to avoid problems when argument order was switched.
2013-05-10avoid customdata lookups for selection test/enable disable.Campbell Barton
also add uvedit_face_select_set, uvedit_edge_select_set, uvedit_uv_select_set - since quite a few areas where setting based on a boolean.
2013-04-18Make freestyle use local Main for temporary objectsSergey Sharybin
This means main database is no longer pollutes with temporary scene and objects needed for freestyle render. Actually, there're few of separated temporary mains now. Ideally it's better to use single one, but it's not so much trivial to pass it to all classes. Not so big deal actually. Required some changes to blender kernel, to make it possible to add object to a given main, also to check on mesh materials for objects in given main. This is all straightforward changes. As an additional, solved issue with main database being infinitely polluted with text blocks created by create_lineset_handler function. This fixes: - #35003: Freestyle crashes if user expands objects in FRS1_Scene - #35012: ctrl+f12 rendering crashes when using Freestyle
2013-04-14code cleanup: rename BKE_tessmesh -> BKE_editmesh, rename ↵Campbell Barton
EditDerivedBMesh.tc -> em. ('tc' is odd name which isn't used elsewhere).
2013-04-01code cleanup: split editmesh_tools.c, into inset, bevel (both modal ↵Campbell Barton
operators) and moved extrude operators into their own file. also move some selection operators from editmesh_tools.c into editmesh_select.c
2013-03-21code cleanup: rename editmode functions so we have ↵Campbell Barton
ED_object_editmode_load/enter/exit
2013-03-20code cleanup: use booleans for mesh and selection code.Campbell Barton
2013-03-17code cleanup: name mesh functions more consistently, also use bools for mesh ↵Campbell Barton
args.
2013-03-09code cleanup: favor braces when blocks have mixed brace use.Campbell Barton
2013-02-27fix for own regression - joining meshes didn't merge customdata flags (could ↵Campbell Barton
loose crease/bevel weights).
2013-02-21Dependency Graph: some refactoring which should have no user visible impactBrecht Van Lommel
besides performance in some cases. * DAG_scene_sort is now removed and replaced by DAG_relations_tag_update in most cases. This will clear the dependency graph, and only rebuild it right before it's needed again when the scene is re-evaluated. This is done because DAG_scene_sort is slow when called many times from python operators. Further the scene argument is not needed because most operations can potentially affect more than the current scene. * DAG_scene_relations_update will now rebuild the dependency graph if it's not there yet, and DAG_scene_relations_rebuild will force a rebuild for the rare cases that need it. * Remove various places where ob->recalc was set manually. This should go through DAG_id_tag_update() in nearly all cases instead since this is now a fast operation. Also removed DAG_ids_flush_update that goes along with such manual tagging of ob->recalc.
2013-02-15Fix #34256: join a mesh with non-uniform scale with another mesh showed wrongBrecht Van Lommel
normals, they need to be recalculated then.
2012-12-23use foreachMappedVert for ED_mesh_pick_vert()Campbell Barton
2012-12-23minor speedup ED_mesh_pick_vert, ED_mesh_pick_face_vertCampbell Barton
avoid matrix multiply, use len_manhattan_v2v2
2012-12-23initial support for 'occlude background geometry' in weight paint mode.Campbell Barton
Only support mouse vertex select at the moment.
2012-12-21replace MIN/MAX 3,4 with inline functionsCampbell Barton
2012-12-19include cleanupCampbell Barton
2012-10-31make use customdata typeoffset more, add an assert to ensure its to date.Campbell Barton
2012-10-26Big i18n commit: add "reports" from bmesh/readfile/tracking/dynapaint (and a ↵Bastien Montagne
few others), and another bunch of UI messages tweaks/fixes, as well as some BKE_report()<->BKE_reportf()...
2012-10-25skip updating tessface customdata layers when joining meshes & clear ↵Campbell Barton
tessface data on the target mesh so stale tessface data isnt used.
2012-10-21style cleanup: trailing tabs & expand some non prefix tabs into spaces.Campbell Barton
2012-10-18More UI messages and BKE_reportf<->BKE_report fixes...Bastien Montagne
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-07style cleanup: line length,Campbell Barton
rename V3D_PROJ_RET_SUCCESS -> V3D_PROJ_RET_OK
2012-10-05replace most uses of ED_view3d_project_float_noclip() with ↵Campbell Barton
ED_view3d_project_float_global/object
2012-09-24fix for crash joining objects with shape keys - own mistake when fixing ↵Campbell Barton
another bug.
2012-09-20code cleanup:Campbell Barton
- make view3d project names more consistent. - remove apply_project_float() its not needed. - update comments referencing an old function name. - move doxygen docs into the C file, prefer they are kept here to avoid getting out of sync with code.
2012-09-19joining mesh objects now keeps relative key setting of each keyblock. also ↵Campbell Barton
joining absolute shapekeys now sorts by time.
2012-09-19code cleanup: make shape key api names consistent with our new convention.Campbell Barton
2012-09-18fix [#31569] Shapekey w/ Driver - Shapekey Influences Disappears After Going ↵Campbell Barton
to Edit Mode joining meshes would allow shape key UID's not to be unique. This was caused by join adding new key blocks inline, now use add_keyblock() like everywhere else does.
2012-09-18code cleanup: warningsCampbell Barton
2012-09-14fixes for NULL checks, remove some redundant checks and add some in that ↵Campbell Barton
have been removed by accident as code has been updated.
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.