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-02-17Cleanup: rename Mesh.edit_btmesh -> edit_meshCampbell Barton
When bmesh was in a branch we had both edit_mesh and edit_btmesh, now there is no reason to use this odd name.
2019-02-12Modifiers: Make Difference default operation for boolean modifier.Bastien Montagne
Make Difference a default value for boolean modifier operation property. Currently operation property of the boolean modifier is set to Intersect, which is the least frequently used boolean operation of the three available. It is also goes out of sync with Intersect (Boolean) tool, where Difference is a default operation. Reviewers: mont29, brecht, sergey Reviewed By: mont29, brecht, sergey Subscribers: mont29, brecht, campbellbarton, sergey, billreynish Tags: #modifiers Differential Revision: https://developer.blender.org/D4340
2019-02-12Weight modifiers: Remove weird looking dependencySergey Sharybin
Modifiers are part of geometry component, no way they can be dependent on the geometry component of the same object.
2019-02-12Depsgraph: Add utility function for transform dependencySergey Sharybin
This is what modifiers are to use to indicate that they depend on a transformation of the object itself. Currently should be no functional changes, but in the future this will allow to easily change transform operation depending on whether there is a simulation associated with the object.
2019-02-12Fix fur on Spring charactersSergey Sharybin
There is an issue of hair being completely messed up when switching to a simulation view layer for Autumn. Restoring back the code which was re-setting particles on file load. This will re-set unbacked particles on file load but this appears to be happening in 2.7 as well. Can not reproduce bugs which were fixed in this area recently, so maybe it's finally tackled (fingers crossed!).
2019-02-11Fix T61391: MeshDeform Modifier does not work on a solidified planar mesh.Bastien Montagne
`BKE_modifier_get_evaluated_mesh_from_evaluated_object()` used by modifiers needing access to other objects' geometry probably skipped out of the radar when cage and final evaluated meshes were added to BMEditMesh? In any case, we do not need to duplicate (and then free!) a temp mesh from editdata anymore, and we can even add instead a parameter to get cage instead of final. Also makes modifiers code a bit simpler.
2019-02-11Fix T61185: Missing modifiers update on changes to texturePhilipp Oeser
Also update relations when modifier texture changes. Basically same as rB6e00415a85a9, rBca2680aaeb1 but this time for VertexWeight modifiers Reviewers: sergey Maniphest Tasks: T61185 Differential Revision: https://developer.blender.org/D4305
2019-02-08Fix T59339: Particle render without baking issuesSergey Sharybin
Fix T61289: Emitting particles from instances not working properly The first issue has been re-introduced by a code which was dealing with missing hair after opening the file. That was re-setting all particle systems all the time because modifier flags were not copied back to original. This made every modifier run to be seem as an initial file open. Now we copy flags back to an original modifier. But also we are trying to not do any resets unless needed in that case. This way we can preserve in-memory caches. Other part of the change is related on re-setting particle system if number of mesh elements changed. But we only do it if the modifier has been already evaluated once.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-05BKE_library: id_copy: More general usage of LIB_ID_COPY_LOCALIZE.Bastien Montagne
Turns out most of our 'local working copy' cases can use same set of flags. Note that this commit adds LIB_ID_COPY_CACHES to all our local meshes copying, however this is no-op since that flag is unused during mesh copying... We may want to add another set of flags without that one at some point, but for now it would not be useful imho.
2019-02-05Cleanup: BKE_library: remove 'test' param of id_copy.Bastien Montagne
This was used in *one* place only... much better to have a dedicated helper for that kind of things. ;)
2019-02-05Cleanup: remove contributors for CMake filesCampbell Barton
Following removal from C source code. See: 8c68ed6df16d8893
2019-02-03Cleanup: trailing commasCampbell Barton
Needed for clan-format not to wrap onto one line.
2019-02-01Workaround for missing hair after opening the fileSergey Sharybin
Restore reset on file open, at least for now.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-01-31Fix T61046: Object with cloth jumps aroundSergey Sharybin
Was happening due to missing relation from geometry to transform component. Did not happen in old dependency graph because that one could never evaluate geometry prior to transform.
2019-01-31Fix T59339: Particle render without baking issuesSergey Sharybin
The issue was caused by dependency graph resetting particles when evaluating copy-on-write version of object. Solved by only doing reset from dependency graph on user edits. Other issue was caused by modifier itself trying to compare topology and reset particles when number of vertices or faces changed. This isn't reliable, since topology might change even with same number of elements. But also, since copy-on-written object initially always have those fields zero-ed the reset was happening on every F12. The latter issue is solved by moving reset from modifier stack to places where we exit edit/paint modes which might be changing topology. There is still weird issue of particles generated at some weird location after tapping tab twice, but this is not a new issue in 2.8 branch and is to be looked separately.
2019-01-30Cleanup: Unused function argumentSergey Sharybin
2019-01-29Fix T60067: some modifiers don't use shape keys correctlyJacques Lucke
2019-01-28Fix several missing cases of copy func for modifiers.Bastien Montagne
Any time a modifier data has non-ID pointer, it should have own copy function (and also take care of proper init/reset in its init callback).
2019-01-28Fix T60840: Serious memleak in solidify modifier.Bastien Montagne
Another one painful to pin down, due to misleading info in report, and more than anything else, waaayyyyy too complex example file!
2019-01-28Cleanup: sort forward declarations of enum & structCampbell Barton
Done using: source/tools/utils_maintenance/c_sort_blocks.py
2019-01-26Fix build error after recent cleanup.Brecht Van Lommel
2019-01-26Cleanup: remove redundant BKE/BLI/BIF headersCampbell Barton
2019-01-26Cleanup: redundant definesCampbell Barton
Comment or remove unused defines.
2019-01-25Cleanup: sort cmake file listsCampbell Barton
2019-01-23License: add missing GPL headersCampbell Barton
Information taken from related files committed at the time.
2019-01-22Fix T60722: decimate modifier not working in some cases.Philipp Oeser
2019-01-22Fix potential invalid memory access in surface force field BVH tree.Andrew Williams
Free the BVH tree immediately along with the mesh, otherwise we might access invalid mesh data. Differential Revision: https://developer.blender.org/D4201
2019-01-22Fix T59395: Subdivision modifier with quality 1 crashes blenderSergey Sharybin
This is actually a workaround for the crash in OpenSubdiv. Topology refiner will have a crash when special conditions are met: - Refiner is configured to use infinitely sharp patches. - Refinement happens for the level 1 (which we call Quality 1 on Blender side). - Mesh has non-quad faces. The workaround is to force refinement to happen to level 2 (or quality 2 on Blender side) when those conditions are met. Later on with the next OpenSubdiv update we can remove this workaround, since there was work done on OpenSubdiv side to deal better with such configurations. The modifier will now be somewhat slower, but this will be compensated with upcoming topology cache enabled by default. The workaround is done when initializing settings, so the comparison of topology refiner settings is happening without any extra workarounds there.
2019-01-19Cleanup: add trailing commasCampbell Barton
Prevents clang-format merging into a single line.
2019-01-18Add miter pattern options.Howard Trickey
Will document the new options in release notes, then in manual. Still a bit of work to do on the bulging shape that appears on cube corners if using arc inner miters, but will do that later. Also need to do something smarter in clamp overlap.
2019-01-16Cleanup/sanitize usages of G.debug_value.Bastien Montagne
There was no documentation at all, some very bad practices (like using G.debug_value > 0 as some sort of global debug print switch), and even an overlapping use of '1' value... Also, python setter did not check for valid range (since this is a short, not an int).
2019-01-16Multires: Prepare for cached topologySergey Sharybin
Note that the actual caching is still disabled, since more tests is needed with more production-looking files.
2019-01-16Subdiv: Initial implementation of topology cacheSergey Sharybin
This commit makes it so OpenSubdiv's topology refiner is kept in memory and reused for until topology changes. There are the following modifications which causes topology refiner to become invalid: - Change in a mesh topology (for example, vertices, edges, and faces connectivity). - Change in UV islands (adding new islands, merging them and so on), - Change in UV smoothing options. - Change in creases. - Change in Catmull-Clark / Simple subdivisions. The following limitations are known: - CPU evaluator is not yet cached. - UV islands topology is not checked. The UV limitation is currently a stopper for making this cache enabled by default.
2019-01-15Cleanup: commas at the end of enumsCampbell Barton
Without this clang-format may wrap them onto a single line.
2019-01-15Cleanup: styleCampbell Barton
2019-01-14cleanup last commitJacques Lucke
2019-01-14Fix T60304, T60301: setting error message in bevel modifier results in ↵Jacques Lucke
double free
2019-01-09Fix T60244: Bisect in mirror modifier doesn't work properly.Bastien Montagne
That was indeed not working properly, not at all. Except for the basic case, but as soon as you used another object to define the mirror plane, it would be utterly broken, in several different ways!
2019-01-08Cleanup: comments causing bad clang-format outputCampbell Barton
2019-01-07Fix T59151 Bevel modifier has bad input width for percent.Howard Trickey
The units scaling was inappropriate when the bevel value was to be interpreted as a percent, so added a separate rna property for "Width Percent" and made UI show the width appropriate for current offset_type.
2019-01-07Better bevel normal hardening when some faces were smooth.Howard Trickey
Harden normals causes normal splitting, which will not give the appearance expected due to autosmooth unless some edges are sharpened, so this change fixes that. Also bevel tool will turn on autosmooth if not already on if hardening normals.
2019-01-06Cleanup: add trailing commas to structsCampbell Barton
Needed for clang formatting to workaround bug/limit, see: T53211
2019-01-04Fix T59898: Slow modifier stack on trasnformSergey Sharybin
2019-01-03Fix T58113 Multiple problems with bevel harden normals.Howard Trickey
Move the bevel hardening code all into bmesh_bevel.c. Based on user feedback, rewrote the bevel hardening algorithm to be more what users want. Based on user feedback, changed the UI, removing some not-useful options. Now hardening normals while beveling is enabled by a simple checkbox. Now setting face strength gives options for which faces get their face strength set.
2019-01-03Cleanup: preprocessor indentationCampbell Barton
2018-12-30Cleanup: warnings (clang)Campbell Barton
2018-12-28Fix T59785: Curve modifier does not update in realtime in object modePhilipp Oeser
Reviewers: brecht Maniphest Tasks: T59785 Differential Revision: https://developer.blender.org/D4134
2018-12-21Fix T59708: decimate modifier does not show face count before decimation.Brecht Van Lommel