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
2014-05-07Fix issue discovered while investigating T39950:Antony Riakiotakis
Sculpt mode drawing fails after deleting a subsurf modifier in sculpt mode and undoing. This was quite difficult to spot. Main cause was that mesh data was not synchronized properly between undo and sculpt code because we generated a pbvh on derivedmesh invalidation without really refreshing the rest of the data. This could result in undo and drawing operating on different data. To solve this and avoid bad level calls I had to move quite some code around. Crazyspace is now moved to blenkernel, as did some sculpt calls that make sure sculpt data are properly refreshed.
2014-02-28Crazyspace: calculate normal around a (0,0,0)Campbell Barton
instead of creating a new triangle in the models space and using that.
2014-02-28Fix Crazyspace with proportional editingCampbell Barton
2014-02-27Fix T38858: Crazy spaces was unpredictable with co-linear edgesCampbell Barton
2014-01-27Code cleanup: use booleans where appropriateCampbell Barton
2013-12-26Code Cleanup: remove object arg to CDDM_from_mesh mesh_create_derivedCampbell Barton
2013-09-24add back crazy space check to only initialize a vertex once. (changed in ↵Campbell Barton
r60146 caused bug [#36803])
2013-09-15modify crazyspace_get_mapped_editverts to work like crazyspace_set_quats_meshCampbell Barton
- array of quats is now aligned with the vertices (over alloc, it simplifies things and removes need to set invalid index values). - remove visit-bitmap from crazyspace_get_mapped_editverts(). setting coords multiple times isnt bad.
2013-09-15use mpolys rather then tessfaces for crazy-space calculation. (was a todo ↵Campbell Barton
since merging bmesh)
2013-08-19Made modifiers_getVirtualModifierList safe for threadingSergey Sharybin
Move static variables to context filling in by this fcuntion and owned by a callee function. This ensures no conflicts between threads happens because of static variables used in this function. Also moved modifier types and virtual modifiers data to a function called from creator. This is needed to be sure all the information is properly initialied to the time when threads starts to use this data. -- svn merge -r57899:57900 ^/branches/soc-2013-depsgraph_mt
2013-07-23use BLI_bitmap for crazyspace vertex tagging.Campbell 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-04-19simple optimization, replace BM_face_other_edge_loop() with ↵Campbell Barton
BM_loop_other_edge_loop() in situations where the loop is known this avoids a lookup.
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-03-26style cleanup:Campbell Barton
also rename mesh_getVertexCos() --> BKE_mesh_vertexCos_get() to match curve function.
2012-11-01style cleanupCampbell Barton
2012-05-09Refactor of modifiers' apply function: now use a single bit-flag parameter ↵Bastien Montagne
to pass options, instead of having one parameter per boolean flag (i.e. replaces current useRenderParams and isFinalCalc by a single ModifierApplyFlag flag. ModifierApplyFlag is an enum defined in BKE_modifier.h). This way we won't anymore have to edit all modifier files when e.g. adding a new control flag! Should have no effect over modifier behavior.
2012-04-28code cleanup: remove editmesh code left hanging around thats already been ↵Campbell Barton
ported to bmesh, also remove main editmesh header.
2012-04-19remove BM_ITER, BM_ITER_INDEX macros, use ELEM or MESH variants only (the ↵Campbell Barton
maceros had unused args in both cases).
2012-04-19style cleanup: BM_ITER / BM_ITER_INDEX / BMO_ITERCampbell Barton
2012-04-09use 'const float[3]' for derived mesh callback args.Campbell Barton
2012-03-30style cleanupCampbell Barton
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-24code cleanup: move bmesh inline funcs to headers (avoids compiling the C files).Campbell Barton
2012-03-04* rename BM_face_other_loop --> BM_face_other_edge_loopCampbell Barton
* optimize BM_face_other_edge_loop to do about half as many iterations for quad heavy meshes, with ngons the gain is much more since searching around the entire ngon when the edge already stores its loop is silly. ... also nicer in cases where edge has no face users it avoids a loop on all face corners.
2012-03-04switch arg order for BM_face_other_* funcs (make face come first), and add ↵Campbell Barton
nice ascii art for BM_face_other_vert_loop since this stuff is hard to grasp as text.
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-02-20- remove some unused editmesh functions.Campbell Barton
- copy & rename EditMesh stricts for use with scanfill (remove unused members)
2012-02-15went over all uses of mesh->mface and added BMESH_TODO comments forCampbell Barton
areas that need to be updated.
2012-02-12code refactor, function renaming for bmesh.Campbell Barton
These changes are to make the bmesh api more consistent and easier to learn, grouping similar functions which is convenient for autocomplete. This uses similar convention to RNA. * use face/loop/edge/vert as a prefix for functions. * use 'elem' as a prefix too for functions that can take any type with a BMHeader. * changed from camel case to underscore separated (like RNA).
2012-02-12rename BM_ flags for `BMHeader->hflag` to BM_ELEM_ to be more clear that ↵Campbell Barton
these flags apply to bmesh elements.
2011-11-16prepare for flagging the bmesh has having invalid index values, so we can ↵Campbell Barton
skip looping over all elements if its already valid. - went over every BM_SetIndex call and added comments about its use, if its setting dirty values or correct ones. - replace loops over all elements _just_ to set index values, with a new function, BM_ElemIndex_Ensure(...), this will eventually only initialize values when they are dirty.
2011-11-07svn merge -r41575:41602 ^/trunk/blenderCampbell Barton
2011-11-07replace VECCOPY with copy_v3_v3, same for 2d copy, also added vec copy ↵Campbell Barton
functions for int & char.
2011-11-01replace as many uses of BM_Get/SetIndex as possible with tagging with a temp ↵Campbell Barton
flag, some uses need index values to be set, so this will need more effort to replace (crazy space and solidify for eg).
2011-10-24svn merge ^/trunk/blender -r41226:41227 .Campbell Barton
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-17svn merge ^/trunk/blender -r41005:41075Campbell Barton
2011-10-17docs / clenup (no functional code changes)Campbell Barton
- added API examples for mathutils.Color/Euler/Quaternion/Matrix. - corrected own bad spelling matricies --> matrices. - minor pep8 edits. - update CMake ignore file list.
2011-05-13remove unused varsCampbell Barton
2011-05-13rename BMINDEX_GET/SET to BM_GetIndex/BM_SetIndexCampbell Barton
2011-05-09=bmesh= merge from trunk at r36529Joseph Eagar
2011-05-04Own TODO item: sculpting on constructive modifiersSergey Sharybin
- Constructive modifiers are enabled by default in sculpt mode. - There's option to disable all constructive modifiers in the "Options" panel of toolbox in sculpt mode, - Use one column in options panel to make strings easier to read - No modifiers would still be applied on multires
2011-04-21minor changesCampbell Barton
- remove some warnings - fix typos - cmake allow in-source build (when WITH_IN_SOURCE_BUILD is defined) - cmake, use an explicit list of rna files (don't glob)
2011-04-15=bmesh= modifiers can now be applied with shapekeysJoseph Eagar
2011-04-15=bmesh= fixed crasherJoseph Eagar
2011-04-15=bmesh= merge from trunk at r36153Joseph Eagar
2011-03-03Fix #26273: mirror mod. + armature mod. + rotated armature == wrong ↵Sergey Sharybin
reference axis for moving verts (when mirror comes first) Do not overwrite coord of vertices in mapped vertex array used for crazyspace corrections. This should make stuff use position of mesh vertex after deformation, not possible generated images of this vertices.
2011-02-27doxygen: blender/editors tagged.Nathan Letwory
2011-02-27merge with/from trunk at r35190Joseph Eagar