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-05-30remove CD_MASK_NORMAL from CD_MASK_DERIVEDMESH, bmesh merge included this ↵Campbell Barton
but its not needed. Now add asserts to make sure this layer is only added once the modifier stack has been calculated. this saves normal layer being calculated whenver vertex normals need updating.
2013-05-21code cleanup: remove callbacks only added to wrap MEM_freeNCampbell Barton
2013-05-14Fix #35347: constraints with vertex group targets were not using the vertex ↵Brecht Van Lommel
group weights, it assumed all weights were 1. This gave very different results with the new bevel modifier due to slightly different vertex group interpolation.
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-04-05Removed CD_MASK_FREESTYLE_EDGE and CD_MASK_FREESTYLE_FACE from CD_MASK_BAREMESHTamito Kajiyama
and moved them to init_render_mesh() in convertblender.c where these CustomData layers are specifically required.
2013-03-27Fix for Freestyle edge/face marks not working with most modifiers (except ↵Tamito Kajiyama
for Subdivision Surface).
2013-03-26Merging r55547 through r55594 from trunk into soc-2008-mxcurioniSergey Sharybin
2013-03-25More new data names translation (most cases should be covered now).Bastien Montagne
Also done a few cleanup here and there...
2013-03-24Merged changes in the trunk up to revision 55546.Tamito Kajiyama
Conflicts resolved: source/blenderplayer/bad_level_call_stubs/SConscript Partly reverted changes to intern/cycles/blender/addon/ui.py in revision 52899 to make it easier to merge trunk changes.
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-03-18Merged changes in the trunk up to revision 55357.Tamito Kajiyama
Resolved conflicts: release/datafiles/startup.blend source/blender/editors/space_nla/nla_buttons.c Also updated source/blender/blenkernel/intern/linestyle.c as a follow-up of recent changes for the use of bool.
2013-03-17- ghost-sdl builds again.Campbell Barton
- without python builds without warnings. - replace MAXFLOAT -> FLT_MAX in some areas, MAXFLOAT overflows (lager then float range). - add cmake option WITH_GCC_MUDFLAP to enable libmudflap use.
2013-03-13New implementation of Freestyle edge/face marksTamito Kajiyama
The previous implementation of Freestyle edge/face marks was refactored based on suggestions from the latest code review by Campbell. The new implementation relies on mesh CustomData to store edge/face marks, instead of introducing extra flags in the core Mesh and BMesh data structures. The CustomData-based implementation will allow further additions of new edge/face attributes because of the independence from Mesh/BMesh. This revision is work in progress, mainly intended to address the review comments and ask for further code review in view of the trunk merger in the upcoming 2.67 release.
2013-03-06Alternate fix for bug [#34369], where invalid polygon normals could be saved ↵Campbell Barton
in the mesh data and in the file. This was from initial BMesh merge, but should not have been added in since face normals are calculated and stored in the DerivedMesh. Toggling editmode would remove poly-normals so its unlikely anything relies on this custom-data.
2013-03-04patch [#34103] use boolean in path functions and add comments.Campbell Barton
path_util_1.patch from Lawrence D'Oliveiro (ldo)
2013-02-04code cleanup: warningsCampbell Barton
2013-01-11code cleanup: warnings, also add check in crash handler that a ↵Campbell Barton
wmWindowManager is present.
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.
2013-01-07minor improvement to CustomData_bmesh_merge(), allocate the correct size ↵Campbell Barton
pool rather then always 512.
2012-12-16replace strcpy with BLI_strncpy or memcpy when the size is known.Campbell Barton
2012-11-16code cleanup: replace most DO_MINMAX2 -> minmax_v2v2_v2Campbell Barton
also add UNPACK macros's. handy for printing vectors for eg.
2012-10-31style cleanup and correct own invalid comment.Campbell Barton
2012-10-31make use customdata typeoffset more, add an assert to ensure its to date.Campbell Barton
2012-10-30remove CD_POLYINDEX customdata layer:Campbell Barton
reported as [#29376] BMESH_TODO: remove tessface CD_ORIGINDEX layer for a single mesh there could be 3 origindex mappings stored, one on the polygons and 2 on the tessfaces. (CD_POLYINDEX and CD_ORIGINDEX). as Andrew suggests, now tessfaces (which are really a cache of polygons), using origindex to point to polygons on the same derived mesh, and polygons only store the original index values.
2012-10-25add BLI_STATIC_ASSERT macro.Campbell Barton
2012-10-21style cleanup: trailing tabs & expand some non prefix tabs into spaces.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-10-11style cleanup:Campbell Barton
also add helper makefile targets: * tbz - makes a tar.bz2 of an svn export * test_style_qtc - outputs style checks in qtc task format.
2012-10-07style cleanup: if();Campbell Barton
2012-10-01Fixed memory leak in CustomData_interp in cases when sources count is more thanSergey Sharybin
SOURCE_BUF_SIZE and there's no more destination layers in main cycle of this function.
2012-09-21remove sticky coords from blender and the internal render engine.Campbell Barton
2012-09-21remove default name from CD_SKIN_NODE LayerTypeInfo so its treated as a ↵Campbell Barton
singleton. theres no need to have multiple skin layers.
2012-09-04code cleanup: move file string defines into BLI_path_utils.h, ↵Campbell Barton
BKE_utildefines is now unused but keep incase we want to add defines there later.
2012-08-24alternate fix for bug [#32395],Campbell Barton
now customdata is interpolated into a temp variable and applied at the end of each layer interpolation function. So this now works for CDDM customdata interpolation and avoids duplicating the customdata when the source and destination overlap.
2012-08-24correct assert for customdata overlap, also quiet `uninitialized` warning in ↵Campbell Barton
transform.
2012-08-23fix [#32395] BMesh data interpolation feedback loopCampbell Barton
2012-08-23code cleanup: use const weights for customdata interpolation functionsCampbell Barton
2012-08-18style cleanup: also correct some doxy commentsCampbell Barton
2012-08-17fix own error in recent smoothview cleanup, also correct some cross ↵Campbell Barton
references in bmesh docs.
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-07-08style cleanupCampbell Barton
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.