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-03Fix T39997: Multiple boolean modifiers sharing the same right operand crashesSergey Sharybin
The issue was caused by the temporary CD layers being allocated for subsurf meshes, same as we've got back in 881fb43. In the long run this temporary storage is to be re-considered, but it'll also imply re-considering of the Derivedmesh interaction as well. For now let's use a simpler solution which is forbidding modifiers to call getArray for other objects' derivedMeshes but use an API calls which would allocate local copy of the data preventing race condition of shared data in DM.
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-27Code cleanup: const args and arraysCampbell Barton
2014-04-26Code cleanup: use 'const' for arrays (blenloader, gpu, imbuf, makesdna, ↵Campbell Barton
modifiers, nodes)
2014-04-19Math Lib: add shell_v3v3_normalized_to_dist and v2 versionCampbell Barton
bypass angle calculation to avoids (asin, sqrt, cos).
2014-04-15Fix T39610: Shared mesh used for Mesh Deform causes crashSergey Sharybin
For now disable using linked edit mesh in the meshdeform modifier. This is because editbmesh_get_derived_cage_and_final() might easily conflict with the thread which evaluates object which is in the edit mode for this mesh. We'll support this case once granular dependency graph is landed.
2014-04-13Split Normals I (2/5): Add basic BMesh support of split normals.Bastien Montagne
* Merely a re-implementation of core split algorithm for BMesh, taking advantage of topological data available. * This code needs valid loop indices, so added BM_LOOP support to BM_mesh_elem_index_ensure() & co. Reviewers: campbellbarton Reviewed By: campbellbarton CC: brecht Differential Revision: https://developer.blender.org/D366
2014-04-04Code cleanup: no need to use calloc when memory is initialized afterCampbell Barton
also replace AT with __func__ since AT expands the full pathname
2014-04-03Fix T39567: simple deform modifier errorCampbell Barton
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-03-30Code cleanup: use strict flags for BLI_randCampbell Barton
2014-03-30Code cleanup: de-duplicate cotangent weight function & add arg sizesCampbell Barton
2014-03-28Code cleanup: use sqrtf when input and output are floatCampbell Barton
2014-03-20Code cleanup: use boolsCampbell Barton
2014-03-18KDTree: deprecate 'normal' argumentCampbell Barton
Normals for each kdtree node were allocated but never used, and search args only use in particles/boids code.
2014-03-17Code cleanup: comments and typosCampbell Barton
2014-03-15Code cleanup: use r_ prefix for return argsCampbell Barton
2014-03-14CMake: fix for standalone player and remove recast modifier referenceCampbell Barton
2014-03-13Fix T39152: Blender crash when duplicate mesh with hooks and laplacian deform.Bastien Montagne
We can't simply dupalloc cache_system (LaplacianSystem), it has quite a few allocated data we'd need to dupalloc as well, not to mention (nl) context... Much safer to just set it to NULL in new copy imho! This commit is to be backported to 2.70 release!
2014-03-05Fix T38962: Boolean modifier crashes when only right operand has UV layerSergey Sharybin
2014-03-04Fix T38941: Laplacian Deform crashes on OSXBastien Montagne
When vgroup was invalid somehow (e.g. empty, as in this case) and bind could not happen, code was dereferencing a NULL pointer...
2014-02-27Fix T38859: Laplacian Deform CrashCampbell Barton
2014-02-25Fix T38003: Skin modifier crash with long edgesCampbell Barton
2014-02-24Fix T38755: Crash when having cyclic dependency and curve deformSergey Sharybin
Issue was caused by undefined object update order and in some cases NULL pointer will be de-referenced. Added on-demand curve path calculation, just the same creepy call of BKE_displist_make_curveTypes(). This violates DAG and might end up in a difficult to troubleshoot race condition if there'll be some issues with how dependencies are calculated in DAG, but this is the easiest and safest way to solve the bug at this stage,
2014-02-22Code cleanup: styleCampbell Barton
2014-02-19Fix T38567: Branch smoothing on skin modifier brokenCampbell Barton
own regression when changing delete commands
2014-02-17Remove left-over form debug timeSergey Sharybin
2014-02-14Code cleanup: duplicate headersCampbell Barton
2014-02-14Fix scons compiling after carve changesJens Verwiebe
2014-02-13fix scons / cmake desynchronization issue with including carve headersMartijn Berger
2014-02-13Rework carve integration into boolean modifierSergey Sharybin
Goal of this commit is to support NGons for boolean modifier (currently mesh is being tessellated before performing boolean operation) and also solve the limitation of loosing edge custom data layers after boolean operation is performed. Main idea is to make it so boolean modifier uses Carve library directly via it's C-API, avoiding BSP intermediate level which was doubling amount of memory needed for the operation and which also used quite reasonable amount of overhead time. Perhaps memory usage and CPU usage are the same after all the features are implemented but we've got support now: - ORIGINDEX for all the geometry - Interpolation of edge custom data (seams, crease) - NGons support Triangulation rule is changed now as well, so now non-flat polygons are not being merged back after Carve work. This is so because it's not so trivial to support for NGons and having different behavior for quads and NGons is even more creepy. Reviewers: lukastoenne, campbellbarton Differential Revision: https://developer.blender.org/D274
2014-02-07ListBase API: add utility api funcs for clearing and checking emptyCampbell Barton
2014-02-07Bevel Modifier: fix bug T37916, bad result after mirror modifier.Howard Trickey
Bevel needs the vertex normals to be correct and they are not normally recalculated after a previous modifier, like mirror. Adding 'dependsOnNormals' -> returns true to modifier info for Bevel fixes the problem.
2014-02-07Fix T38521: skin modifier crash with zero radius vertices.Brecht Van Lommel
2014-02-03Code cleanup: use bools where possibleCampbell Barton
2014-02-02Code cleanup: suffix vars to make obvious they are squaredCampbell Barton
2014-01-30Fix T38403: Laplacian smooth on instanced objects leads to crash.Lukas Tönne
The laplacian modifiers (smooth and deform) use the OpenNL library, which is not threadsafe due to the use of a global context variable. Ideally this would be changed so that an explicit context can be created for every caller of the OpenNL functions, but since OpenNL's most recent version is from 2010 this is unlikely to happen. As a workaround for now just use a mutex to prevent conflicting OpenNL calls. Eventually OpenNL can be replaced by eigen or ceres.
2014-01-27Code cleanup: use booleans where appropriateCampbell Barton
2014-01-26Code Cleanup: style and correct API class refCampbell Barton
2014-01-24Bevel modifier can use vertex groups for edge bevel now.Howard Trickey
Until now, the "vertex group" limit method in the modifier only worked for "vertex only" bevels. With this change, edges with both ends in a vertex group will be beveled in the non-"vertex only" case. Also changed the test for being in a vertex group from "any nonzero weight" to "weight >= 0.5". This is because cascaded bevels on disjoint vertex groups did not give disjoint bevels, because weight interpolation would give non-zero weights to newly created vertices in earlier bevels. Chose 0.5 because that won't result from interpolation, but still allows some dilution (e.g., cascaded bevels on the same vertex group).
2014-01-23Cleanup: int/short to bool in BKE_cdderivedmesh.h functions (and TRUE/FALSE ↵Bastien Montagne
to true/false in code using them).
2014-01-17Code Cleanup: spellingCampbell Barton
2014-01-17BMesh: add bmesh delete functions that dont depend on operator flagsCampbell Barton
2014-01-17Build Modifier - Add "Reversed" OptionJoshua Leung
This commit introduces the ability to make the Build Modifier operate in reverse, essentially allowing it to be used as a "deconstruction" effect. (See D219 for more details about use cases for this)
2014-01-16Minor change to last commit to solidify, only allocate bitmap as neededCampbell Barton
2014-01-16Fix T38116: Crash when using solidify modifier on multi-user meshSergey Sharybin
Issue was caused by solidify modifier using original vertices bitfield to store tags. This isn't thread-safe obviously. Now use bitmap to store needed tags. Reviewed by Campbell, thanks!
2014-01-16Code Cleanup: style and redundant castsCampbell Barton
2014-01-15Fix T38227: Cloth cache storing only every 10 frames.Sergej Reich
Make sure pointcache step is set to 1 for cloth when copying objects.
2014-01-15Code Cleanup: use iroundfCampbell Barton
also increase precision of rctf print functions
2014-01-14Bevel Modifier: add width type and profile control.Howard Trickey
This adds to the modifier the new controls that have been added to the bevel tool.