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-11-21Fix T71412: Add transform component to deforming modifierPhilipp Oeser
Dynamically bound mesh deform modifiers failed to update the viewport on object transformation of deformer. The TODO by Sergey, which suggested adding the transform component to the depsgraph, was already there, and worked to fix T71412.
2019-11-21Bevel: Custom Profile and CurveProfile WidgetHans Goudey
Custom profiles in bevel allows the profile curve to be controlled by manually placed control points. Orientation is regularized along groups of edges, and the 'pipe case' is updated. This commit includes many updates to comments and changed variable names as well. A 'cutoff' vertex mesh method is added to bevel in addition to the existing grid fill option for replacing vertices. The UI of the bevel modifier and tool are updated and unified. Also, a 'CurveProfile' widget is added to BKE for defining the profile in the interface, which may be useful in other situations. Many thanks to Howard, my mentor for this GSoC project. Reviewers: howardt, campbellbarton Differential Revision: https://developer.blender.org/D5516
2019-11-05Merge branch 'blender-v2.81-release'Sergey Sharybin
2019-11-05Fix T71259: Array Modifier Performance is slowSergey Sharybin
Was happening when object transform is animated. Caused by overly aggressive dependency construction introduced a while back in 9d4129eee649: we shouldn't add dependencies unless we really need them. This change removes unneeded transform dependency for cap objects (since only their geometry is used), and also removes own transform dependency if there is no offset object (which is the only case when own transform is needed). Differential Revision: https://developer.blender.org/D6184
2019-11-04Solidify Modifier: support non-manifold inputHenrik Dick
This adds a new mode to solidify to support non-manifold geometry with edges using 3 or more faces as input, resulting in a manifold mesh. Since the differences between these methods don't translate well into short terms, they're named "Simple" and "Complex" in the UI. This also adds clamp with respect to angles to the existing solidify modifier calculation.
2019-10-07Fix T70476: Sculpting with Subsurf on top produces artifactsSergey Sharybin
The issue was caused by crazy space distortion orientation happening for subsurf modifier. Solved by making it so subsurf only deforms the surface but keeps matrices as-is. This is not fully mathematically correct, but is better that the fall-back solution which was doing wrong matrices anyway. Also, this is closer to have subsurf was handled prior to the related changes. Reviewed By: brecht, pablodp606 Differential Revision: https://developer.blender.org/D5991
2019-09-26Quadriflow: Symmetry supportPablo Dobarro
This patch adds paint symmetry support to Quadriflow. It bisects and mirrors the input and the output from the remesher to build the final mesh using the preserve boundary option. This is also an important performance improvement in Quadriflow because it only needs to process half of the mesh with half the resolution. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D5855
2019-09-25Cleanup: Modernize Smooth modifier code.Bastien Montagne
Simplify it a bit, hopefully make it clearer, better var names, use proper types for arrays of vectors, etc. No behavioral change expected (except for corner-case of vertices being used by more than 255 edges, which were sort of 'clamped' to those 255 first edges for the smoothed position computation previously, now we use proper integer, which fixes that bug).
2019-09-25Fix T69542: Corrective Smooth modifier breaks when drivers are involvedSebastian Parborg
Previously the cache for the modifier would not be invalidated if modifier settings were changed with drivers or keyframes. Now we compare the current setting with the ones used to generate the cache and invalidate the cache if they differ. Reviewed By: Sybren Differential Revision: http://developer.blender.org/D5694
2019-09-23Modifiers: every modifier now copies mesh settings, fixing texture space issuesBrecht Van Lommel
Modifier stack evaluation would copy mesh settings other than mesh topology automatically, outside of the individual modifier evaluation. This leads to hard to understand code, and makes it unclear which settings are available in following modifiers, and which only after the entire stack is evaluated. Now every modifier is responsible to ensure the mesh it outputs preserves materials, texture space and other settings, or alters them as needed. Fixes T64739: incorrect texture space for various modifiers Differential Revision: https://developer.blender.org/D5808
2019-09-22Cleanup: MOD_explode: Sanitize code some more.Bastien Montagne
This happens to be a non-behavioral change, but previous code here was *very* confusing, and only ended up generating expected results by mere chance (since `facepa[i]` == `totpart` in case the face has no (valid) particle, i.e. `pa == NULL`)...
2019-09-22Cleanup: MOD_Explode: sanitize face-without-particle case.Bastien Montagne
Systematically reset particle pointer to NULL and use it to detect invalid particle case, instead of checking value of the face's particle index everywhere in a confusing and prone-to-bug way (see T70150 and previous commit). No behavioral change expected here.
2019-09-22Fix T70150: Explode modifier crashes with empty vertex group.Bastien Montagne
There’s be a lot to say about that explode modifier code, for now just follow other places in code... But the handling of 'invalid'/'unkown' particle case is... quiet confusing to say the least.
2019-09-21Revert "Modifiers: every modifier now copies mesh settings, fixing texture ↵Brecht Van Lommel
space issues" This reverts commit e7a514369fe700dcc5a1fe433c8f709ed9595ded, it introduces a bug in selection in edit mode. Fixes T70103: can't select extruded Vertex Ref T64739
2019-09-20Fix T70101: Displace modifier handles empty vertex group incorrectlyJacques Lucke
2019-09-19Subdiv: Add vertex deformation callback to multires/subsurfSergey Sharybin
Currently unused but the intention is to use this to hook up these modifiers to a generic deformed PBVH to make it easier to sculpt or paint on a subdivided mesh.
2019-09-19Modifiers: every modifier now copies mesh settings, fixing texture space issuesBrecht Van Lommel
Modifier stack evaluation would copy mesh settings other than mesh topology automatically, outside of the individual modifier evaluation. This leads to hard to understand code, and makes it unclear which settings are available in following modifiers, and which only after the entire stack is evaluated. Now every modifier is responsible to ensure the mesh it outputs preserves materials, texture space and other settings, or alters them as needed. Fixes T64739: incorrect texture space for various modifiers Differential Revision: https://developer.blender.org/D5808
2019-09-19Cleanup: use uint,ushort,uchar for modifiersCampbell Barton
2019-09-14Cleanup: use const args, variablesCampbell Barton
2019-09-12Cleanup: line breaks with commentsCampbell Barton
2019-09-07Cleanup: use post increment/decrementCampbell Barton
When the result isn't used, prefer post increment/decrement (already used nearly everywhere in Blender).
2019-09-03Subsurf: Show error when Blender is built without OpenSubdivSergey Sharybin
2019-08-30Cleanup: spellingCampbell Barton
2019-08-26Cleanup: use BLI_assertCampbell Barton
2019-08-25Cleanup: redundant struct declarationsCampbell Barton
2019-08-23Fix potential issues when loading files with missing librariesSebastian Parborg
This is a continuation of rB39f005eae8eed8b939579aff8c9a05a4f50e5e38 Now all the fields where we check for object type in RNA (like rna_Curve_object_poll) will have a safe guard for when this isn't the case. For example when loading files that has missing object libraries and all missing objects are replaced with empties (placeholders). Reviewed By: Brecht Differential Revision: http://developer.blender.org/D5425
2019-08-21Cleanup: vertex coordinate access, naming & minor changesCampbell Barton
This also splits vertex access and allocation so it's possible to copy coordinates into an existing array without allocating it.
2019-08-16Cleanup: spellingCampbell Barton
2019-08-16Fix T56408: Hair children recalc on every frame on Alembic meshSybren A. Stüvel
This fixes the glitching hairs described in T56408, T63534, and possibly also T63534. The fix consists of returning the original mesh (i.e. as visible in edit mode) when constructing the ORCO mesh. This allows a static set of coordinates to be used when computing the child hair positions. The original mesh is only returned when it has the same topology (at least same number of vertices, loops, and polys. It's up the author of the Alembic file to ensure stable geometry when it's desired to be compatible with Blender's hair system. Reviewers: mont29, brecht Differential Revision: https://developer.blender.org/D5492
2019-08-14Cleanup: move trailing comments to avoid wrapping codeCampbell Barton
Some statements were split across multiple lines because of their trailing comments. In most cases it's clearer to put the comments above.
2019-08-06Cleanup: use BKE_ prefix for BKE_colortools.hCampbell Barton
2019-08-06Fix crash when opening files with missing armature libariesSebastian Parborg
In the case where the library is missing, the armature object is replaced with an empty. This would crash the armature modifier. Now we check if the armature object really is an armature or not.
2019-08-04Cleanup: spellingCampbell Barton
2019-08-02Cleanup: spellingCampbell Barton
2019-08-01Cleanup: quiet gcc warning 'alloc-size-larger-than'Campbell Barton
2019-08-01Cleanup: misc spelling fixesCampbell Barton
T68035 by @luzpaz
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