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-01-17Code Cleanup: spellingCampbell Barton
2013-11-25Code Cleanup: rename vars for detecting change to be more consistentCampbell Barton
rename change/is_change/is_changed/modified -> changed also use bools over int/short/char and once accidental float.
2013-11-12Fix [#37380] vertex paint colors don't render.Bastien Montagne
Another Evil Typo (r) one, you could add much more than the 8 allowed VCol layers! Note: added some (warning-only) checks in mesh validate functions, but we still have a big issue with new cdlayer merge function, which could generate more than 8 layers of UVs or VCol... Don't know yet how to handle this situation. :(
2013-09-25fix error where BKE_mesh_cd_validate layer renaming would use invalid index ↵Campbell Barton
values. from r60260 also correct some comments.
2013-09-20Fix [#36759] UV Project - Specified UV Map doesnt work properlyBastien Montagne
In fact, the issue was that names of mloopuv/mtespoly layers could very easily get out of sync (a simple rename was enough), while most tools (such as the UVProject modifier) expect matching layers to have the same name! Now matching names are check on load, and renaming of a layer through RNA is guaranted to be synchronized with its counterparts. Thanks to Brecht & Campbell for reviews.
2013-09-16fix [#36291] Applying subsurf to mesh or setting subdivisions to zero ↵Campbell Barton
crashes Blender issue was mesh somehow had a mismatch of UV/texpoly layers. we may want to allow this in the future but for now sync on load just in case.
2013-09-09move mesh evaluation functions (normal, mapping, smooth group... etc, ↵Campbell Barton
calculations) into mesh_evaluate.c. mesh.c was over 4k lines and complex functions mixed in with general library management.
2013-09-04fix for building on msvcCampbell Barton
2013-09-04debug option for modifier stack calculation USE_MODIFIER_VALIDATE,Campbell Barton
checks that every modifier gives a valid mesh (very slow) - so off by default even in debug mode.
2013-08-24use reserve argument for more edgehashsCampbell Barton
2013-08-24when the size of an edgehash is known or can be guessed,Campbell Barton
pass in the argument to reserve the size.
2013-08-24edge hash: take an arg for the guarded-malloc string (as ghash does)Campbell Barton
2013-07-27code cleanup: typosCampbell Barton
2013-05-28move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading)Campbell Barton
remove MEM_sys_types.h which was a duplicate.
2013-04-27Fix part of #34233: bad alpha blending for 2D image painting. This is a veryBrecht Van Lommel
old issue, the formulas here were never quite right, should all work ok now with byte and float images. Some differences: * Colors with zero alpha from the background will never have an influence, so you don't get alpha fringes when painting over such areas. This does give hard edges when looking at the RGB channels alone, but there's no way to avoid that and fringes at the same time, same behavior as other painting apps. * Add/Subtract/Multiply/Lighten/Darken now leave the alpha channel unchanged and work only the RGB channels, again same behavior as many other apps. * Erase/Add alpha now compensates for premultiplied float images to keep the straight RGB colors the same. Next: fix projection painting.
2013-04-22fix [#35026] Curve build modifierCampbell Barton
2013-04-07Fix for [#34898] Typo in error message of mathutils.VectorThomas Dinges
* Also fixed some more cases of "more then" -> "more than".
2013-03-17code cleanup: name mesh functions more consistently, also use bools for mesh ↵Campbell Barton
args.
2013-03-16object converting curve/mball to a mesh would give invalid selection state ↵Campbell Barton
(edges selected but nothing else). add arg to BKE_mesh_calc_edges() so selecting newly created edges is optional.
2013-03-01style cleanup: braces with multi-line statements, also add some comments.Campbell Barton
2012-10-31no longer use 'check_existing' to see if we need to have a save popup, ↵Campbell Barton
instead use 'exec' operator on a saved file and invoke on unsaved files. correct missing memset --> CustomData_reset switch too.
2012-10-12quiet some -Wshadow warningsCampbell Barton
2012-07-05Cosmetic updates to mesh validate messages.Bastien Montagne
2012-07-02Validate mesh selection stack in mesh_validate functionSergey Sharybin
Related on #31944: Blender crashes on switching to mesh edit mode
2012-06-28Fix #31835: OBJ Importer corrupts a model (crash in edit mode)Sergey Sharybin
Added back face validation to BKE_mesh_validate_arrays. This is needed because some addons (like OBJ importer) are reading tessfaces and then converting them to ngons and validation of tessfaces is needed before such a conversion. Validation of faces would happen only if there's no polys in mesh.
2012-05-27code cleanup: defines with braces - end with '(void)0' so callers must end ↵Campbell Barton
with ';' like normal function. ... without this some editors dont parse the source so well.
2012-05-20code cleanup:Campbell Barton
- style - multi-line ifs move braces onto new lines. - iterators - convert some to macros, other split up and move brace.
2012-05-06code cleanup: naming - BKE_mesh_*Campbell Barton
2012-04-25mesh.validate() / BKE_mesh_validate() --- functions now check for duplicate ↵Campbell Barton
vertices used within the same polygon. (which would crash otherwise)
2012-04-21style cleanup: correct typosCampbell Barton
2012-04-18style cleanup: mesh validate.Campbell Barton
also add code cleanup script which runs uncrustify and then undoes trailing whitespace edits (reducing diff noise)
2012-03-24style cleanup: follow style guide for/with/if spacingCampbell Barton
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-16mesh_validate code for bmesh (i.e. polys/loops).Bastien Montagne
Everything seems to work well (many tests making random changes over various meshes went good), but the code is a bit complex and hard to follow, due to the various possibilities of invalid poly/loop combinations… Code also makes more operations than previous tri/quad faces version (hence is a bit slower), but I don’t think we can do otherwise, it’s just the price for bmesh flexibility. ;) Note: added the py script I used to make the tests, under source/tests/...
2012-03-04style cleanup / comment formatting for bli/bke/bmeshCampbell Barton
2012-02-27style cleanup (mostly whitespace)Campbell Barton
2012-02-23style cleanup for blenkernel, no functional changes.Campbell Barton
2011-12-28un-inline edgehash functions, BLI_edgehash_insert was far too big to inline.Campbell Barton
and have edge hash use unsigned ints since edge verts are unsigned ints for MEdge's
2011-12-26svn merge ^/trunk/blender -r42839:42871Campbell Barton
2011-12-24change customdata mask from an 'unsigned int' to an 'u_int64_t', since BMesh ↵Campbell Barton
branch has run out of bits
2011-12-10svn merge ^/trunk/blender -r42521:42550Campbell Barton
2011-12-10check for weights outside of 0-1 range when validating weightsCampbell Barton
2011-12-09BKE_mesh_validate_arrays was correcting non-finite verts and zero normals ↵Campbell Barton
even when do_fixes was false, also return true if any bad vertex weights were found.`
2011-12-08svn merge ^/trunk/blender -r42495:42516Campbell Barton
2011-12-08regarding [#29521] Invalid Vertex WeightsCampbell Barton
added checks to mesh.validate() so it checks for nan weights and negative groups which can crash blender. the file in the report looks to be corrupt, but this at least can make it load. also noticed validate was using isnan() and finite() were both used to check valid vertex locations, only finite is needed.
2011-12-02svn merge ^/trunk/blender -r42303:42329Campbell Barton
2011-12-01Check for mvert coords and normals when doing mesh.validate() and set invalidSergey Sharybin
coordinates to zero and zero-length normals to Z-up direction.
2011-11-15svn merge -r41779:41847 ^/trunk/blenderCampbell Barton
2011-11-14minor cleanup Campbell Barton
- use NULL rather then 0 for pointers - use static functions where possible - add own includes to ensure func's and their declarations don't get out of sync.
2011-10-26svn merge -r41266:41287 ^/trunk/blenderCampbell Barton