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
2015-05-12Depsgraph: New dependency graph integration commitSergey Sharybin
This commit integrates the work done so far on the new dependency graph system, where goal was to replace legacy depsgraph with the new one, supporting loads of neat features like: - More granular dependency relation nature, which solves issues with fake cycles in the dependencies. - Move towards all-animatable, by better integration of drivers into the system. - Lay down some basis for upcoming copy-on-write, overrides and so on. The new system is living side-by-side with the previous one and disabled by default, so nothing will become suddenly broken. The way to enable new depsgraph is to pass `--new-depsgraph` command line argument. It's a bit early to consider the system production-ready, there are some TODOs and issues were discovered during the merge period, they'll be addressed ASAP. But it's important to merge, because it's the only way to attract artists to really start testing this system. There are number of assorted documents related on the design of the new system: * http://wiki.blender.org/index.php/User:Aligorith/GSoC2013_Depsgraph#Design_Documents * http://wiki.blender.org/index.php/User:Nazg-gul/DependencyGraph There are also some user-related information online: * http://code.blender.org/2015/02/blender-dependency-graph-branch-for-users/ * http://code.blender.org/2015/03/more-dependency-graph-tricks/ Kudos to everyone who was involved into the project: - Joshua "Aligorith" Leung -- design specification, initial code - Lukas "lukas_t" Toenne -- integrating code into blender, with further fixes - Sergey "Sergey" "Sharybin" -- some mocking around, trying to wrap up the project and so - Bassam "slikdigit" Kurdali -- stressing the new system, reporting all the issues and recording/writing documentation. - Everyone else who i forgot to mention here :)
2015-03-13Pass proper bmain to the updateDepgraph() of modifiersSergey Sharybin
This is mainly to make physics modifiers being able to work with it. For other cases this main is not needed.
2015-02-18Fix T43716 regression in mask modifier - edges could access out ofAntony Riakiotakis
bounds indices of vertices. Issue here is that if we copy edge customdata the MEdge data that were previously written get overwritten, solution is to write indices and flags last (probably writing flags is superfluous here).
2015-02-11Minor optimization for mask modifierCampbell Barton
- don't resize ghash buckets (reserve maximum size) - get vert, edge arrays instead of DM getVert, getEdge - calloc -> malloc
2015-02-06GHash: no need to malloc iteratorsCampbell Barton
2014-11-29Cleanup: unused headersCampbell Barton
2014-11-16Cleanup: use BLI_listbase_*** prefix for count,sort,sort_rCampbell Barton
2014-07-19Defines: replace ELEM3-16 with ELEM(...), that can take varargsCampbell Barton
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-03-20Code cleanup: use boolsCampbell Barton
2014-02-07ListBase API: add utility api funcs for clearing and checking emptyCampbell Barton
2014-01-16Code Cleanup: style and redundant castsCampbell Barton
2013-12-24Fix T37914: Mask modifier behaves differently until paintedCampbell Barton
2013-12-21Mesh Modifiers: refactor copying using a generic functionCampbell Barton
2013-11-19Code Cleanup: style, spelling and pep8 editsCampbell Barton
2013-10-30Fix #37252: Mask modifier doesn't copy settings on object copySergey Sharybin
2013-05-30modifier stack: lazy initialize normalsCampbell Barton
many modifiers were calculating normals, when those normals were ignored by the next modifier. now flag normals as dirty and recalculate for modifiers that set use `dependsOnNormals()` callback. Quick test on mesh with 12 modifiers (mostly build type), calculated normals 6 times, now it only runs once - so this will give some speedup too.
2013-05-08rename BLI_ghashIterator_notDone() -> BLI_ghashIterator_done()Campbell Barton
was renamed fairly recently but other similar iterators not negated like this, would prefer to keep it as it was
2013-03-07Change !BLI_ghashIterator_isDone to BLI_ghashIterator_notDone. It isAntony Riakiotakis
always used in that context so we can at least avoid reverting it twice :p.
2012-10-29style cleanup: also quiet harmless compiler warning.Campbell Barton
2012-10-22code cleanup: check defgroup_name_index() return value != -1, rather then ↵Campbell Barton
checking >= 0. also remove unused bmesh decimator code.
2012-06-25style cleanupCampbell Barton
2012-06-03Part-Bugfix, Part-Feature Completion: 'Armature' Option for Mask ModifierJoshua Leung
finally works This commit finally hooks up the Mask Modifier's "Armature" option with the relevant depsgraph updates on bone selection. Hence, this feature finally works as it was originally intended - that is, bone selections can be used to control which parts of the mesh that the mask modifier is applied to are displayed, giving riggers more freedom to experiment with rigs that don't necessarily feature overbearing/cluttering widgets. Regarding the implementation ("has_viz_deps" flag): This feature is just the "tip of the iceberg" of a number of related set of rigging/visual animation tools I've had in mind for a while now (dating back to the introduction of this modifier). Key considerations - Not all rigs will use this, so we don't want an extra (depsgraph-flush + search) recalc cost for those that don't use this. - There are some planned features which will also use this
2012-06-03Mask Modifier - Bugfix and dead-code cleanupJoshua Leung
'Armature' mode for the Mask Modifier was not working at all anymore even when the selection <-> depsgraph recalc issue was patched to work (this latter fix is coming in another commit). It appears that this probably happened during one or more of the refactors which may have taken place around here over the years since I first introduced it. This commit does two things: * Removed the unused/redundant "vgroupHash" * Fixed the incorrect assumption used for determining if the vertex actually belonged to a vgroup corresponding to a selected bone.
2012-05-19style cleanup: whitespace/indentationCampbell Barton
2012-05-16Code cleanup: simplify standard GHash creation.Nicholas Bishop
Added four new functions as shortcuts to creating GHashes that use the standard ptr/str/int/pair hash and compare functions. GHash *BLI_ghash_ptr_new(const char *info); GHash *BLI_ghash_str_new(const char *info); GHash *BLI_ghash_int_new(const char *info); GHash *BLI_ghash_pair_new(const char *info); Replaced almost all occurrences of BLI_ghash_new() with one of the above functions.
2012-05-09Refactor of modifiers' apply function: now use a single bit-flag parameter ↵Bastien Montagne
to pass options, instead of having one parameter per boolean flag (i.e. replaces current useRenderParams and isFinalCalc by a single ModifierApplyFlag flag. ModifierApplyFlag is an enum defined in BKE_modifier.h). This way we won't anymore have to edit all modifier files when e.g. adding a new control flag! Should have no effect over modifier behavior.
2012-05-06style cleanup: modifiersCampbell Barton
2012-05-05code cleanup: naming - pose/armature/image Campbell Barton
also use ..._find_name(..., name) rather then ..._find_named(..., name) --- both were used.
2012-05-05Style Cleanup: Wrapping with parens for safety and whitespace editsJoshua Leung
2012-05-04code cleanup: double promotion & some style cleanupCampbell Barton
2012-04-29style cleanup: function calls & whitespace.Campbell Barton
2012-04-28style cleanup: changes to brace placement / newlines - for/while/if/switchCampbell Barton
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-06style cleanup, brackets in else/if, some indentation.Campbell Barton
2012-01-20replace CDDM_calc_normals_mapping with CDDM_calc_normals when used within ↵Campbell Barton
modifiers. this way modifiers wont be calculating tessface's which CDDM_calc_normals_mapping will do if not already calculated.
2012-01-06rename CDDM_calc_normals() --> CDDM_calc_normals_mappingCampbell Barton
2012-01-05remove re-tesselation after constrictive modifiers, this way we can avoid ↵Campbell Barton
calculating tessfaces between multiple constructive modifiers to speedup the modifier stack.
2012-01-04update mask modifier to use MPoly dataCampbell Barton
2011-12-29syncing modifiers with trunk - only small changesCampbell Barton
2011-12-10svn merge ^/trunk/blender -r42521:42550Campbell Barton
2011-12-09went over all uses of MDeformWeight.def_nr and made sure the value is ↵Campbell Barton
clamped when used as an array index.
2011-10-24svn merge ^/trunk/blender -r41226:41227 .Campbell Barton
2011-10-24svn merge ^/trunk/blender -r41100:41150Campbell Barton
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-20BLI_ghash.h was including BLI_blenlib.h, remove from ghash header and ↵Campbell Barton
include in each file
2011-08-16svn merge -r39286:39385 https://svn.blender.org/svnroot/bf-blender/trunk/blenderCampbell Barton
2011-08-12Modifiers: add callback to loop over each texture assigned to a modifier.Brecht Van Lommel
2011-07-24svn merge -r37335:37500 https://svn.blender.org/svnroot/bf-blender/trunk/blenderCampbell Barton
2011-06-14own mistake in recent mask commit.Campbell Barton