Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-11-04 | Add 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-21 | Fix 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-24 | Custom Data API: redundant pointer-to-pointer arg | Campbell Barton | |
2014-09-09 | Cleanup: const correctness, no change to generated code. | Campbell Barton | |
2014-01-31 | Code cleanup: comments and warnings | Campbell Barton | |
2013-11-19 | Code Cleanup: style, spelling and pep8 edits | Campbell Barton | |
2013-09-21 | bugfix: [#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-10 | Update to writefile: do not save TEMPORARY or NO_COPY CD layers! | Bastien Montagne | |
Neede for next commit (split normals API). | |||
2013-05-30 | remove redundant includes from cmake and scons. | Campbell Barton | |
2013-05-28 | move 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-09 | bmesh 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-08 | minor speedup for bmesh - add CustomData_bmesh_free_block_data(), use | Campbell Barton | |
when the block would be immediately allocated again. | |||
2013-05-08 | speedup for freeing bmeshes, skip calling free on every | Campbell Barton | |
vert/edge/face/loop if there are no free functions for the customdata layers. | |||
2013-05-08 | use bool for customdata functions. | Campbell Barton | |
2013-03-22 | python 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-11 | remove CustomData_get_active_offset(), use CustomData_get_offset to return ↵ | Campbell Barton | |
the active layer, matching CustomData_get() | |||
2013-01-10 | editmesh 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-10 | don'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-08 | fix [#33797] decimate modifier bug on uv-coordinates when mesh uses vertex color | Campbell Barton | |
if vertex colors had no seams - it would interpolate the UV's too, now interpolate per-layer. | |||
2013-01-08 | fix [#33792] Accessing a bmesh object created by from_object crashes blender | Campbell Barton | |
Issue was customdata wasnt being initialized for layers in the destination BMesh but not in the source data. | |||
2012-10-31 | make use customdata typeoffset more, add an assert to ensure its to date. | Campbell Barton | |
2012-10-20 | bmesh-decimate now only does CustomData_has_math for loop layers, add ↵ | Campbell Barton | |
CustomData_has_interp() for vert & edges. | |||
2012-10-20 | bmesh decimator support for loop & edge customdata. (most importantly UVs ↵ | Campbell Barton | |
and vertex colors). | |||
2012-09-15 | quiet -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-06 | code cleanup: remove deprecated defines and some struct members | Campbell Barton | |
2012-08-04 | code cleanup: | Campbell Barton | |
- replace (strcmp(vfont->name, FO_BUILTIN_NAME) == 0) with (BKE_vfont_is_builtin(vfont)). - reduce some double promotions. | |||
2012-06-07 | Fix #31725: UV map order is ignored when opening in 2.6+ versions | Sergey 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-17 | style cleanup: block comments | Campbell Barton | |
2012-05-13 | code cleanup: header cleanup and remove some duplicate defines. | Campbell Barton | |
2012-04-30 | bmesh - python api | Campbell 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-09 | Fix 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-27 | style/name cleanup: have EDBM_* functions match our style guide and also ↵ | Campbell Barton | |
match BM_ function naming conventions | |||
2012-03-18 | spelling cleanup | Campbell Barton | |
2012-03-09 | style cleanup: comment blocks | Campbell Barton | |
2012-03-09 | style cleanup: spelling. | Campbell Barton | |
also remove large, duplicate comments from sunsky.h | |||
2012-03-04 | style cleanup / comment formatting for bli/bke/bmesh | Campbell Barton | |
2012-03-02 | bmesh - changes to mempool allocations | Campbell 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-29 | Code 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-18 | svn merge ^/trunk/blender -r44189:44204 | Campbell Barton | |
2012-02-17 | unify include guard defines, __$FILENAME__ | Campbell Barton | |
without the underscores these clogged up the namespace for autocompleation which was annoying. | |||
2012-01-30 | svn merge ^/trunk/blender -r43733:43751 | Campbell Barton | |
2012-01-27 | Minor fix for CD_TYPE_AS_MASK macro: shift operator uses the left | Nicholas Bishop | |
operand's type for the result, so cast 1 to CustomDataMask. | |||
2011-12-28 | minor edits and correcton to assert | Campbell Barton | |
2011-12-28 | merge in customdata changes from BMesh - biggest change is caching the layer ↵ | Campbell Barton | |
index values in a typemap. | |||
2011-12-26 | svn merge ^/trunk/blender -r42839:42871 | Campbell Barton | |
2011-12-26 | include BLO_sys_types in customdata header rather than stdint directly. | Campbell Barton | |
2011-12-24 | OSX/gcc-4.6, fix for typedef uin64_t | Jens Verwiebe | |
2011-12-24 | replace u_int64_t with cc99's uint64_t as suggested by Nicholas Bishop. | Campbell Barton | |
2011-12-24 | change customdata mask from an 'unsigned int' to an 'u_int64_t', since BMesh ↵ | Campbell Barton | |
branch has run out of bits |