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
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.
2020-06-29BLI: remove blender::Optional in favor of std::optionalJacques Lucke
`std::optional` can be used now, because we switched to C++17.
2020-06-29Fix T78401: Convert Mesh to Grease Pencil with empty material slot crashesPhilipp Oeser
Also create the 'simple fill' in case there are only empty material slots. Maniphest Tasks: T78401 Differential Revision: https://developer.blender.org/D8151
2020-06-29Fix T74220 Mantaflow Color Mapping not ignoring alpha valueClément Foucault
And also remove some sRGB hack.
2020-06-29Fix T61573 GPencil: Annotation thickness doesn't work with on OSXClément Foucault
This fixes the issue by using the polyline shader but this does not gives the best results. A better way would be to have a dedicated shader for the lines to avoid the line break at every angle change.
2020-06-29Fix compiler warning for deprecated variable useJulian Eisel
2020-06-29Cleanup: minor change missed last commitCampbell Barton
2020-06-29Cleanup: use designated initializes for mesh extract structsCampbell Barton
Better readability and allows adding new struct members without adding empty slots to every 'MeshExtract' struct.
2020-06-29Cleanup: use std::make_unique instead of blender::make_uniqueJacques Lucke
This is possible, because we use C++17 now.
2020-06-29Fix T78415: Particle Edit mode Add brush with a radius > 181px crashesPhilipp Oeser
Caused by short overflow, change to int instead. Maniphest Tasks: T78415 Differential Revision: https://developer.blender.org/D8148
2020-06-29Cleanup: rename namespace DotExport to dotJacques Lucke
2020-06-29Cleanup: Use blender namespace in blenkernelJacques Lucke
2020-06-29Fix T73892: EEVEE Viewport Render Ignores Render As WireJeroen Bakker
In the viewport an object can be set to be displayed as wire. When rendering the viewport this setting is ignored and follows the path or doing a final render. This patch will add an exception when rendering a viewport render. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D8043
2020-06-29Fix T78229: Playhead not refreshing when area is maximizedJeroen Bakker
No other areas were tagged for redraw.
2020-06-29Fix T78176: Sequencer renders playhead line twiceJeroen Bakker
2020-06-28GPencil: Cleanup - replace loop with LISTBASE_FOREACHAntonio Vazquez
2020-06-28Fix T78353: GPencil: Make Circle select only select points inside circleAntonio Vazquez
Now, instead of select the section of the stroke that is below circle, only the points inside circle are selected. Also fixed a bug when segment selection mode is enabled. Differential Revision: https://developer.blender.org/D8141
2020-06-28Fix T74024 Faces missing, weird faces addedClément Foucault
Workaround by adding a special case for that driver in gpu_extensions.c
2020-06-28Use const in nodeFindSocketAnkit
Since the function only iterates over the input members, and matches their identifiers, `bNode *`can be `const`. All other usages of the `nodeFindSocket` use it with other functions that modify the node. (e.g.: ``nodeAddLink` ) But an exporter needs the node to be a `const`, so this creates unnecessary and slightly unsafe design changes. Reviewed By: JacquesLucke Differential Revision: https://developer.blender.org/D8142
2020-06-28Fix T77549 GPUTexture: Crash caused by NULL parameter to glBindTextures...Clément Foucault
... or glBindSamplers.
2020-06-28UI: Remove duplicate modifier error messageHans Goudey
Thanks to J. Fran Matheu for pointing this out.
2020-06-27Fix compile error in recent commitJacques Lucke
This was introduced in rBd7b10e5b740fe2.
2020-06-27Functions: add MutableAttributesRef data structureJacques Lucke
This will be used to reference the content of a CustomData structure in C++ code, that does not need to know who owns the data but only works with it.
2020-06-27Fix T78259: Proportional editing does not work in particle editingGermano Cavalcante
And better identify what is bool and what is flag in the proportional edit properties.
2020-06-27Revert "Fix T78259: Proportional editing does not work in particle editing"Germano Cavalcante
This reverts commit 5c48592ccde08e18d13255e89d09067d5dc0f771. Ii introduced a stupid error. Fix T78352
2020-06-27Fix T78337: Fix crash when use GPencil merge without materialsAntonio Vazquez
If the object hadn't material, the index of material was negative.
2020-06-27Cleanup: make it easier to check if a CPPType is a specific compile time typeJacques Lucke