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-11-04Add missing `CustomData_duplicate_referenced_layer_n` and deduplicate code.Bastien Montagne
CustomData_duplicate_referenced_layer_n not used in master currently, but need it in mesh tranfer branch.
2014-10-21Fix T42260: By repeatedly joining meshes, you could end up with thousands of ↵Bastien Montagne
UVLayers This is only an indirect fix, in fact: this commit adds a public API to check the maximum number of a given layer type (`CustomData_layertype_layers_max()`), and uses it to forbid too much layer creation in `CustomData_merge()`. This only affects UVs/VCol data though, but merge behavior in itself is not a bug actually, how user managed to get thousands of different UV layer names remain rather mysterious...
2014-09-24Custom Data API: redundant pointer-to-pointer argCampbell Barton
2014-09-09Cleanup: const correctness, no change to generated code.Campbell Barton
2014-01-31Code cleanup: comments and warningsCampbell Barton
2013-11-19Code Cleanup: style, spelling and pep8 editsCampbell Barton
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-10Update to writefile: do not save TEMPORARY or NO_COPY CD layers!Bastien Montagne
Neede for next commit (split normals API).
2013-05-30remove redundant includes from cmake and scons.Campbell 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-05-09bmesh speedup: skip free-realloc while running CustomData_bmesh_merge() when ↵Campbell Barton
nothing is changed (happens quite often that there is nothing to do).
2013-05-08minor speedup for bmesh - add CustomData_bmesh_free_block_data(), useCampbell Barton
when the block would be immediately allocated again.
2013-05-08speedup for freeing bmeshes, skip calling free on everyCampbell Barton
vert/edge/face/loop if there are no free functions for the customdata layers.
2013-05-08use bool for customdata functions.Campbell Barton
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-01-11remove CustomData_get_active_offset(), use CustomData_get_offset to return ↵Campbell Barton
the active layer, matching CustomData_get()
2013-01-10editmesh texface drawing, reuse customdata offset rather then looking up ↵Campbell Barton
each UV and vertex color, gives overall ~9.5% drawing speedup in my tests. was also doing NULL checks on UV's which are never NULL in this case.
2013-01-10don't store bevel weights or edge crease customdata layers in editmode ↵Campbell Barton
unless they are needed. configurable in 'Geometry Data' panel, will be added when running crease edges transform for example.
2013-01-08fix [#33797] decimate modifier bug on uv-coordinates when mesh uses vertex colorCampbell Barton
if vertex colors had no seams - it would interpolate the UV's too, now interpolate per-layer.
2013-01-08fix [#33792] Accessing a bmesh object created by from_object crashes blenderCampbell Barton
Issue was customdata wasnt being initialized for layers in the destination BMesh but not in the source data.
2012-10-31make use customdata typeoffset more, add an assert to ensure its to date.Campbell Barton
2012-10-20bmesh-decimate now only does CustomData_has_math for loop layers, add ↵Campbell Barton
CustomData_has_interp() for vert & edges.
2012-10-20bmesh decimator support for loop & edge customdata. (most importantly UVs ↵Campbell Barton
and vertex colors).
2012-09-15quiet -Wmissing-prototypes warnings, and enable this warning by default for ↵Campbell Barton
C with gcc. helps for finding unused functions and making functions static, also did some minor code cleanup.
2012-09-06code cleanup: remove deprecated defines and some struct membersCampbell Barton
2012-08-04code cleanup:Campbell Barton
- replace (strcmp(vfont->name, FO_BUILTIN_NAME) == 0) with (BKE_vfont_is_builtin(vfont)). - reduce some double promotions.
2012-06-07Fix #31725: UV map order is ignored when opening in 2.6+ versionsSergey Sharybin
Issue was caused by do_versions being used pdata as reference for active/render/ stencil/clone layer indices instead of fdata. Added some utility functions used only by do_versions to be sure this indices are set from fdata for pre-bmesh files.
2012-05-17style cleanup: block commentsCampbell Barton
2012-05-13code cleanup: header cleanup and remove some duplicate defines.Campbell Barton
2012-04-30bmesh - python apiCampbell Barton
- bm.*.layers.*.verify() - bm.*.layers.*.is_singleton - bm.*.layers.*.copy_from(other) also added api functons - BM_data_layer_copy(...) - CustomData_layertype_is_singleton(type)
2012-04-09Fix bug [#30863] Array Modifier Start and End Cap cause crash when the Cap ↵Nicholas Bishop
Object has vertex group Another crash with array caps, was caused by not making a deep enough copy of CD field. Also fixed the type of the 'mask' parameter, was int where it should be 64-bit.
2012-03-27style/name cleanup: have EDBM_* functions match our style guide and also ↵Campbell Barton
match BM_ function naming conventions
2012-03-18spelling cleanupCampbell Barton
2012-03-09style cleanup: comment blocksCampbell Barton
2012-03-09style cleanup: spelling.Campbell Barton
also remove large, duplicate comments from sunsky.h
2012-03-04style cleanup / comment formatting for bli/bke/bmeshCampbell Barton
2012-03-02bmesh - changes to mempool allocationsCampbell Barton
* double default edge allocation size (double the number of verts/faces). * CustomData_bmesh_init_pool was using allocsize & chunksize as the same variable. Now use type specific chunk size. * bmesh copy and editmode conversion now allocate the BMesh mempool size needed for the entire vert/edge/loop/face arrays since its known already.
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-20- remove some unused editmesh functions.Campbell Barton
- copy & rename EditMesh stricts for use with scanfill (remove unused members)
2012-02-18svn merge ^/trunk/blender -r44189:44204Campbell Barton
2012-02-17unify include guard defines, __$FILENAME__Campbell Barton
without the underscores these clogged up the namespace for autocompleation which was annoying.
2012-01-30svn merge ^/trunk/blender -r43733:43751Campbell Barton
2012-01-27Minor fix for CD_TYPE_AS_MASK macro: shift operator uses the leftNicholas Bishop
operand's type for the result, so cast 1 to CustomDataMask.
2011-12-28minor edits and correcton to assertCampbell Barton
2011-12-28merge in customdata changes from BMesh - biggest change is caching the layer ↵Campbell Barton
index values in a typemap.
2011-12-26svn merge ^/trunk/blender -r42839:42871Campbell Barton
2011-12-26include BLO_sys_types in customdata header rather than stdint directly.Campbell Barton
2011-12-24OSX/gcc-4.6, fix for typedef uin64_tJens Verwiebe
2011-12-24replace u_int64_t with cc99's uint64_t as suggested by Nicholas Bishop.Campbell 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