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
path: root/source
AgeCommit message (Collapse)Author
2020-06-30LibOverride: Refactor 'make override' 3DView operator.Bastien Montagne
This one now uses a generic 'dependency detection' process to decide which IDs should be overridden. This will e.g. allow to override mesh and shapekeys when those have some values controlled by drivers using an armature bone...
2020-06-30LibOverride: Fix handling of owned ID pointers in diffing process.Bastien Montagne
2020-06-30LibOverride: Add proper handling of shapekeys to core override code itself.Bastien Montagne
2020-06-30LibOverride: Add necessary bits in RNA to deal with embedded IDs paths.Bastien Montagne
Note that this code is rather rough and slightly hacky, a proper solution needs to be designed at some point probably, but for now this should work fine. As usual, master collections and root node trees remain TODO for now.
2020-06-30LibOverride: properly tag owner ID for override refresh, when embedded one ↵Bastien Montagne
is affected. Note that this is partially WIP code, we only take care of shapekeys here for now. Also, move this tagging for liboverride refresh into same chack as the one for tagging editors, sounds more logical that way.
2020-06-30LibOverride: Add concept of 'embedded'/'virtual' override.Bastien Montagne
IDs like embedded ones (master collections, root node trees) cannot be linked, and thus cannot be real override themselves. Since they are managed by their owner ID, that one will also have the overrides for their locally edited properties. We still need a way to mark them as overridden though, for various UI and override-internal purposes, this is done using a new ID flag. Note that since Shae Keys are not linkable, and their pointers are not editable in RNA, they are also considered as embedded from override point of view.
2020-06-30Cleanup: ID macros: cast to `const ID *` instead of `ID *`.Bastien Montagne
Allows to pass const pointers without getting complains from the compiler.
2020-06-30Cleanup: Use unsigned int when for enum values, instead of signed int.Bastien Montagne
2020-06-30Cleanup: LibOverride: Naming.Bastien Montagne
2020-06-30LibOverride: Fix improper update of depsgraph relations.Bastien Montagne
2020-06-30Cleanup: LibOverride: Replace raw pointers checks by proper macros.Bastien Montagne
This is cleaner, but also crucial to avoid weird issues when behaviors of those checks are modified...
2020-06-30Cleanup (from clang format)...Bastien Montagne
2020-06-30Fix T78367: triangulate modifier does not preserve sculpt vertex colorsBrecht Van Lommel
2020-06-30Alembic: new exporter based on the USD exporter structureSybren A. Stüvel
The Alembic exporter has been restructured by leverages the `AbstractHierarchyIterator` introduced by the USD exporter. The produced Alembic files have not changed much (details below), as the Alembic writing code has simply been moved from the old exporter to the new. How the export hierarchy is handled changed a lot, though, and also the way in which transforms are computed. As a result, T71395 is fixed. Differences between the old and new exporter, in terms of the produced Alembic file: - Duplicated objects now have a unique numerical suffix. - Matrices are computed differently, namely by simply computing the evaluated transform of the object relative to the evaluated transform of its export-parent. This fixes {T71395}, but otherwise should produce the same result as before (but with simpler code). Compared to the old Alembic exporter, Subdivision modifiers are now disabled in a cleaner, more efficient way (they are disabled when exporting with the "Apply Subdivisions" option is unchecked). Previously the exporter would move to a new frame, disable the modifier, evaluate the object, and enable the modifier again. This is now done before exporting starts, and modifiers are only restored when exporting ends. Some issues with the old Alembic exporter that have NOT been fixed in this patch: - Exporting NURBS patches and curves (see T49114 for example). - Exporting flattened hierarchy in combination with dupli-objects. This seems to be broken in the old Alembic exporter as well, but nobody reported this yet. Differential Revision: https://developer.blender.org/D7664 Reviewed By: Sergey
2020-06-30Cleanup: unused argumentsCampbell Barton
2020-06-30Fix T78455: Failed assert when opening a viewport panelJulian Eisel
Mistake from 1fa40c9f8a810.
2020-06-30Cleanup: remove unnecessary namespace specifiersJacques Lucke
2020-06-30UI: Add shortcuts for grease pencil modifier panelsHans Goudey
See rB1fa40c9f8a81 for more details. The implementation is the same. The only difference to the mesh modifier commit is a slight rework of edit_modifier_invoke_properties in order to pass through to check for other keymap items with the same shortcut.
2020-06-30UI: Alphabetize grease pencil modifier listAdrian Newton
The Texture Mapping Modifier was out of place Differential Revision: https://developer.blender.org/D7474
2020-06-30EEVEE: Fix undefined behavior when using BSDF nodes inside volume shadersClément Foucault
This should fix T76171 Eevee bsdf shaders glitches
2020-06-29GPencil: Cleanup - Replace gp_ prefix with gpencil_Antonio Vazquez
This was missing in previous cleanup commits.
2020-06-29UI: Tweak Cache File Template LayoutHans Goudey
The template was disorganized and didn't fit with the new layout style. | Old | New | | {F8641166 size=full} | {F8641167 size=full} | Differential Revision: https://developer.blender.org/D8113
2020-06-29UI: Don't show modifier operation reports on button pressHans Goudey
The reports should only show when using shortcuts.
2020-06-29UI: Add shortcuts for modifier panelsHans Goudey
The shortcuts act on the modifier with its panel under the mouse. The following shortcuts are enabled by default: - Remove modifier: X, Delete - Apply modifier: Ctrl A - Duplicate modifier: Shift D More shortcuts can be added in the keymap. Each panel can now store a custom data RNA pointer, and a new function is added to get the custom data for the panel under the cursor. This custom data could be used to refactor the "List Panel System" to generalize it and integrate it further with RNA. The same functionality will be added in further commits where it applies to constraints, grease pencil modifiers, and effects. Differential Revision: https://developer.blender.org/D8031
2020-06-29Fix T78444: Duplicate "From Radius" in Cast Modifier UIHans Goudey
This button was meant to be "Use Transform"
2020-06-29Remove Threaded Sculpt optionPablo Dobarro
Threaded Sculpt is now always enabled by default. If it causes performance problems compared single threaded sculpt it should be considered a bug. Reviewed By: sergey Maniphest Tasks: T77638 Differential Revision: https://developer.blender.org/D7960
2020-06-29Nodes: rename node_socket.c to node_socket.ccJacques Lucke
I have to add some C++ code in callbacks for socket types for the new particle system.
2020-06-29Fix compile error on Apple ClangJulian Eisel
Needs to compile with `CMAKE_OSX_DEPLOYMENT_TARGET` of 10.14 at least to have `std::optional<>::value()` available. So we have to increase the minimum required compiler version, but that requires more changes. Just fix the build error for now.
2020-06-29UI: Show library status icons in search menus, rather than letter prefixJulian Eisel
Rather than a `L` (linked), `O` (overridden) or `M` (missing) prefix for the name, show the existing library status icons. See D7999 for screenshots. Note that when using preview icons, or if the search menu contains items with own icons (e.g. brush icons), we still fallback to the prefix solution. Zero or fake user is still indicated with a prefix. Differential Revision: https://developer.blender.org/D7999 Reviewed by: Bastien Montagne, William Reynish
2020-06-29RNA: properly tag 'embedded' ID pointers as owned.Bastien Montagne
This is important at several level, mainly for overrides currently. Note that this also includes shape keys, since from RNA point of view those are also 'embedded' (they are not editable, not linkable, ...).
2020-06-29LibOverride: ignore all data arrays of meshes.Bastien Montagne
Those are not overridable, and comparing them is... costly.
2020-06-29RNA: Add a way to prevent automatic addition of 'no ownership' flag for ID ↵Bastien Montagne
pointer properties. Since makesrna runs after all properties have been defined, we have to remember with a new internal flag when we explicitely disable the 'PROP_PTR_NO_OWNERSHIP' flag for a property. Otherwise there was no way to do so for ID pointer properties...
2020-06-29Fix ShapeKeys not being deleted together with their owner ID.Bastien Montagne
Consistency with e.g. copying (copying a mesh also duplicates its shapekey typically). Baby step towards getting rid of this horrible ID, some day... Note that for now we only do that when taking BMain into account, fancy code dealing with non-main IDs and such has to deal with those itself.
2020-06-29Fix ID_swap not keeping original recalc flags.Bastien Montagne
Note that we might be missing more things there still, maybe some tags e.g. should also be swapped?
2020-06-29Add utils to remove an ID from the relations runtime data in Main.Bastien Montagne
2020-06-29Cleanup: make some type casts explicitJacques Lucke
Doing this so that I turn this into a .cc file.
2020-06-29Fix T78323: Enable Unified and Secondary colors for Scultp Vertex ColorsPablo Dobarro
The report does not include any file, but probably that file is using the settings for unified colors, which are currently not available in the UI, so it always paints black. This enables unified colors and secondary colors for sculpt vertex colors, so it should solve that issue. Unified color does not make much sense now as the Paint tool is the only one that has paint capabilities, but it will do in the future when sculpt and paint at the same time is enabled and the paint capability is added to more tools. Reviewed By: sergey Maniphest Tasks: T78323 Differential Revision: https://developer.blender.org/D8136
2020-06-29Fix Smear Tool too weak on high poly meshesPablo Dobarro
The defaults for the Smear tool were making it too weak in high poly meshes, specially the alpha/pressure option enabled by default. Now this option is disabled, it has a linear pressure curve and less spacing. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8134
2020-06-29Transform: Draw edge considered in the slide valueGermano Cavalcante
Useful for identifying how the value is used and which edge is considered in the snap.
2020-06-29Fix T77946: Problem snapping with "Project onto Self" on a curve with ↵Germano Cavalcante
generated geometry
2020-06-29GPencil: Cleanup function names replace gp_ by gpencil_ prefix (cont)Antonio Vazquez
2020-06-29GPencil: Cleanup function names replace gp_ by gpencil_ prefixAntonio Vazquez
2020-06-29GPencil: Cleanup - Rename some functions from gp_ to gpencil_Antonio Vazquez
2020-06-29GPencil: Cleanup - Rename annotation function to new prefixAntonio Vazquez
These functions were using the old gpencil or gp prefix.
2020-06-29Fix T78361: Crash When ModellingJeroen Bakker
Forgot to free the tangent layer for bmesh in the drawing code.
2020-06-29Depsgraph: introduce blender::deg namespaceJacques Lucke
Reviewers: sergey Differential Revision: https://developer.blender.org/D8150
2020-06-29Fix T74290 Face Dots in front (X-ray) Visual GlitchClément Foucault
This is not likely to be the silver bullet but it fix the common case.
2020-06-29Cleanup: use blender::bke namespace in simulation.ccJacques Lucke
2020-06-29Cleanup: reduce code indentation and simplify some code flowGermano Cavalcante
2020-06-29VSE: Fix type mismatch introduced in rB8bcfa0d1fb9fRichard Antalik
Pass `IMB_Proxy_Size` to `seq_can_use_proxy` and remove duplicate check.