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
2019-07-30BLI_task: Cleanup: rename some structs to make them more generic.Bastien Montagne
TLS and Settings can be used by other types of parallel 'for loops', so removing 'Range' from their names. No functional changes expected here.
2019-07-26Modifiers: Update LaplacianDeform error message about vgroups.Bastien Montagne
Vgroup might be also 'invalid' because it is empty (and no other vgroup with vertices currently exists on that mesh). Related to T67385.
2019-07-22Bevel modifier: let it work on wire edges when vertex_only.Howard Trickey
2019-07-16Fix T66862: crash with bevel modifier harden normals applied to curve objectBrecht Van Lommel
2019-07-16Fix T66862: crash with mirror modifier applied to curve objectBrecht Van Lommel
2019-07-10Cleanup: avoid line breaks from trailing commentsCampbell Barton
2019-07-09Fix T64149: Texture paint can act as a canvas and brush at the same timeSebastian Parborg
I don't know if it was the intended behavior or not, but having brush and canvas data at the same time with dymanic paint, would lead to the object trying to act as a brush and a canvas at the same time. We can't currently handle this with the new depsgraph, and it could legitimately lead to bad feedback loops. So now, to be more consistent with the GUI, I've made it only use the current set type (brush or canvas) as the final type of the object. That is, you can only have a object be a brush or a canvas, not both at the same time.
2019-07-08Fix T66475 Spin Modifier: Merge Vert Makes mesh disappearClément Foucault
2019-07-03Fix T59225 Screw modifier not displayed when using single vertexClément Foucault
2019-07-02Fix T64805: Can't generate particle hair edit 'comb cache' in blender 2.8Sergey Sharybin
Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D5162
2019-07-02Cleanup: move comments onto own lines to avoid breaking linesCampbell Barton
2019-07-01Fix T66267: only add DEG cloth collision relations if collisions arePhilipp Oeser
enabled was detecting unneccessary dependency cycle Reviewers: sergey, brecht Maniphest Tasks: T66267 Differential Revision: https://developer.blender.org/D5160
2019-06-22Cleanup: add bracesCampbell Barton
2019-06-21Revert "Particle system: Move runtime data to runtime field"Sergey Sharybin
This reverts commit 36faf739a71624b6ca10cec7233779f9eeace0bd. Somewhat annoying but this change had some unforeseen consequences, which lead to an actual bug. Since this change was not sufficient to get original report fixed is easier to simply revert for now. Fixes T65842: Hair disappears when clicking on particle system name
2019-06-20Fix T65877: crash when baking in sculpt modeAlexander Gordeev
Also fixes bug where mesh with multires modifier is invisible in render while in sculpt mode. Differential Revision: https://developer.blender.org/D5099
2019-06-18Fix T65660 Mirror modifier didn't work with custom normals.Howard Trickey
2019-06-17Fix T59915: Skin modifier produces inverted normals on end-cap faces when ↵Sebastian Parborg
vertically aligned edge is assigned root Sometimes when the end caps pointed strait up (z axis) their faces would become inverted. It seems like the code tried to rely on a certain vertex order to always happen. However this edge case did manage to produce an order that would produce inverted cap faces. So now I introduce a normal check instead so we can be certain that the face will have the normal direction we want. Reviewed By: Jacques Lucke Differential Revision: http://developer.blender.org/D4138
2019-06-17Fix T63867: image sequence not updating in Eevee animation renderBrecht Van Lommel
2019-06-13Particle system: Move runtime data to runtime fieldSergey Sharybin
Allows it to be preserved during copy-on-write update when on-geometry related update is needed. This is a required part for T63537, where we need to preserve the entire evaluation data when object is tagged for only RECALC_COPY_ON_WRITE. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D5023
2019-05-31Fix T65317: crash applying wave modifier with textureBrecht Van Lommel
2019-05-31Cleanup: style, use braces in source/ (include disabled blocks)Campbell Barton
2019-05-31Cleanup: style, use braces in source/Campbell Barton
Automated using clang-tidy.
2019-05-20Normal UI: Remove normals toolbar and add/muliply menu options.Howard Trickey
See T64324 for discussion re improving normal editing ui. As next step, remove the face_strength tool settings because menu operator now includes that. Move face_strenth enum to better place. Remove normals toolbar panel because only thing left (normal_vector) can stay hidden for copy/paste. Remove add vector and multiply vector menu entries as they are useless without ui method for specifying operand, and they are very low utility operations anyway.
2019-05-08Fix T64274: Crash with more than 1 subdivision with the Multiresolution ModifierSergey Sharybin
Update more relevant fields in the sculpt session. Really becoming annoying, but was also annoying in the old code as well.
2019-05-01Alembic: integrate cache file into the dependency graphBrecht Van Lommel
* The cache file datablock is now evaluated as part of the dependency graph, creating/freeing the Alembic file handle matching the current frame. Modifiers and constraints depend on this evaluation. * Cache file handles and readers now only exist on COW datablocks, never the original ones. * Object data paths are flushed back to the original for the user interface. * The cache file keeps a list of all readers associated with its handle, and automatically frees them when the handle is freed. This kind of sharing of data across datablocks is weak but we have no better mechanism for it. Fix T62720: Alembic sequences not working and crashing Differential Revision: https://developer.blender.org/D4774
2019-05-01Cleanup: comments (long lines) in modifiersCampbell Barton
Also remove duplicate comments in headers.
2019-05-01Cleanup: indentation from braces in '#if 0'Campbell Barton
2019-04-29Fix T59848: precisely represent the dependencies of Armature modifier.Alexander Gavrilov
When the modifier uses vertex groups, the set of the bones it actually needs is precisely defined by the set of the group names. If envelopes are enabled, this refinement is not available, because any bone can potentially be used. This can be used in the dependency graph construction to allow objects deformed by a part of the armature to be used in constraints on other bones, e.g. for placing cartoon-style face elements on top of the body mesh via Shrinkwrap constraints. Since the list of vertex group names is now used as an input by the dependency graph, adding/removing/renaming groups should now be triggering a graph rebuild. Differential Revision: https://developer.blender.org/D4715
2019-04-24Cleanup: sort CMake include pathsCampbell Barton
2019-04-22Cleanup: style, use braces for modifiersCampbell Barton
2019-04-18Cleanup: add trailing commas to avoid right shiftCampbell Barton
2019-04-18Cleanup: indentation from braces in '#if 0'Campbell Barton
2019-04-18Cleanup: comment blocksCampbell Barton
2019-04-17ClangFormat: format '#if 0' codeCampbell Barton
Previous cleanups didn't account for space after '#'.
2019-04-17ClangFormat: format '#if 0' code in source/Campbell Barton
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-16CMake: add library deps to CMakeLists.txtCampbell Barton
Tested to work on Linux and macOS. This will be enabled once all platforms are verified. See D4684
2019-04-16CMake: cleanup, arg rename, add definitions lastCampbell Barton
2019-04-14CMake: prepare for BLENDER_SORTED_LIBS removalCampbell Barton
No functional change, this adds LIB definition and args to cmake files. Without this it's difficult to migrate away from 'BLENDER_SORTED_LIBS' since there are many platforms/configurations that could break when changing linking order. Manually add and enable WITHOUT_SORTED_LIBS to try building without sorted libs (currently fails since all variables are empty). This check will eventually be removed. See T46725.
2019-04-05Fix T63283: Second subdivision modifier does not ignore creaseSergey Sharybin
This is something where there is no single correct behavior, sometimes it's needed to ignore the crease to make mesh more smooth. But sometimes crease is to be considered after first subdivision surface: for example, when adding extra subdivisions for render-time displacement. Made it an option whether modifier needs to take crease into account or not. Existing files should be openable in the 2.7 compatible way, to re-create an old behavior the options is to be manually disabled in the modifier settings. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D4652
2019-04-04Fix T63252: Bind in Mesh Deform Modifier failsSergey Sharybin
A regression since 64c8d72ef1ad. The solution is to force modifier evaluation for an evaluated object, and let it to copy binding data back to original when is being evaluated for binding. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D4642
2019-04-04Fix: Erratic collision response when using constraints on collidersBenjamin Meyer
Missing dependency, which made collission to access object transform prior it was evaluated. Reviewers: sergey Differential Revision: https://developer.blender.org/D4636
2019-04-03Multires: Make topology cache to work with copy-on-writeSergey Sharybin
Allows to preserve topology cache even when copy-on-write is fully re-copying the object. For example, toggling edit mode in and out does no longer causes full topology to be re-created.
2019-04-01Modifiers: Use object passed to evaluationSergey Sharybin
This was wrong and violating design to force modifiers to query evaluated objects and IDs. It is up to the caller to make sure the object is properly evaluatable. Effectively, reverting changes from de491abf9962 (and possibly other related changes).
2019-03-30Cleanup: remove unused modifier methods.Brecht Van Lommel
2019-03-29Fix T63063: solidify modifier crash after recent changes.Brecht Van Lommel
It should not assume there to be an origindex layer. Checked other modifiers and they all seem to explicitly create it or verify if it's NULl.
2019-03-28Fix part of T60735: invalid CD_ORIGINDEX data in some modifier stack ↵Brecht Van Lommel
evaluations. BKE_mesh_new_nomain automatically added a CD_ORIGINDEX layer initialized to 0, which was never filled in correctly. In 2.7 the equivalent function used to modify the source derivedmesh and add valid original indices to it, but this is no longer possible in the new design and was quite unpredictable anyway. Now instead rely on mesh_calc_modifiers and the depsgraph to determine when CD_ORIGINDEX should be added.
2019-03-22Modifiers: add minimum number of vertices to triangulate modifier.Ish Bosamiya
This lets you only triangulate n-gons when setting the number to 5 or more. Differential Revision: https://developer.blender.org/D4367
2019-03-20Fix DEG warning from T52873: Proximity WeightVG modifier can use empty as ↵Bastien Montagne
target too. Only create DEG_OB_COMP_GEOMETRY relation to target object when it has some, and we use it.
2019-03-20Fix T61759: Dynamic paint smudge crashSergey Sharybin
The issue was caused by mesh needed for dynamic paint brush being stored in the modifier. That make it to be freed and set to NULL when running copy-on-write. Solved by moving the mesh to be stored in modifier's runtime data.