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
2021-02-03More progress converting the point distribute node to operationstemp-geometry-nodes-instances-apiHans Goudey
I might not continue with this approach, it seems like building a temporary vector of geometry components will be much simpler
2021-02-03Merge branch 'master' into temp-geometry-nodes-instances-apiHans Goudey
2021-02-03Geometry Nodes: Multi-Input SocketsFabian Schempp
Normally sockets only have one input link. This commit adds the back-end changes needed to use multiple input links per socket. Multi-input sockets can be defined with a new flag in `bNodeSocketType`. The changes necessary to make the sockets work in the geometry nodes evaluator are generalizing input socket values as a vector of values, and supporting this in the derived node tree structure. This patch should contain no functional changes. Two upcoming patches will use this system for the "Join Geometry" node and expose link picking and updated display in the UI: D10069 and D10181. Reviewed By: Jacques Lucke, Hans Goudey Differential Revision: https://developer.blender.org/D10067
2021-02-03Geometry Nodes: Add Collection Info NodeSebastian Parborg
Implements a node to get collection objects. These objects are then passed along as instances in the node tree. Follow up tasks: Multiple nodes does not support instancing yet: T85159 Changing collection offset does not trigger a refresh: T85274 Reviewed By: Jacques, Dalai, Hans Differential Revision: http://developer.blender.org/D10151
2021-02-03UI: use system generated document icon on macOSJohannes Jakob
Adds Document Type Identifier configuration to use a system generated document icon for Blender files on macOS. The system composites the app’s icon and the extension name onto the document sheet icon (new style on macOS 11 Big Sur and old style on macOS 10.15 Catalina and earlier). This is in line with Apple’s Human Interface Guidelines. Removes the previously used file icon because it is no longer needed. Differential Revision: https://developer.blender.org/D10267
2021-02-03GL: Improve framebuffer error message by adding framebuffer nameClément Foucault
Framebuffer error can be hard to track. This makes it much easier to find the wrong framebuffer configuration.
2021-02-03install_deps: OIIO: tweak to max version, and cleanup compile code.Bastien Montagne
OSL 1.10.10 does not build with OIIO 2.2.10.
2021-02-03install_deps: Upgrade Alembic to 1.17.16.Bastien Montagne
See T83246.
2021-02-03install_deps: Update Boost to 1.73.Bastien Montagne
See T83246.
2021-02-03install_deps: update Python to 3.9.1, numpy to 1.19.5.Bastien Montagne
See T83246.
2021-02-03Merge branch 'blender-v2.92-release'Philipp Oeser
2021-02-03Fix T85261: Eevee passes have slight inaccurate colorsPhilipp Oeser
In everything in `EEVEE_renderpasses_postprocess` (or the corresponding renderpass_postprocess_frag.glsl) colors get divided by a 'currentSample'. This 'currentSample' is always incremented in `EEVEE_temporal_sampling_draw` (and also one more time before we reach `EEVEE_renderpasses_postprocess`. This results in a "off-by-one", slightly inacurate colors and slight inaccurate transparency (in certain passes like AOVs). Now decrement the currentSample `EEVEE_renderpasses_postprocess` again by one to compensate. Maniphest Tasks: T85261 Differential Revision: https://developer.blender.org/D10286
2021-02-03Merge branch 'blender-v2.92-release'Jeroen Bakker
2021-02-03Cryptomatte: Incorrect Coverage with VolumetricsJeroen Bakker
Related to {D10286}. When volumetrics are used in the scene the coverage is incorrect. The reason is that the current sample is 1 over the num samples that are calculated.
2021-02-03Cryptomatte: Incorrect Coverage with VolumetricsJeroen Bakker
Related to {D10286}. When volumetrics are used in the scene the coverage is incorrect. The reason is that the current sample is 1 over the num samples that are calculated.
2021-02-03Fix incorrect mesh selection duplication in internal utility functionJulian Eisel
`BKE_mesh_new_nomain_from_template_ex()` would duplicate the mesh selection storage of the destination mesh to the destination mesh. Since that mesh was default initialized at this point, the selection was `NULL`, so the duplication call is essentially a no-op. Mistake in 7efc75c7092b. Differential Revision: https://developer.blender.org/D10009 Reviewed by: Sybren Stüvel
2021-02-03UI: Improve tooltip for continuous grabJulian Eisel
Attempt to explain the feature better follow a better writing style.
2021-02-03BKE UndoSys refactor: deduplicate and simplify code, sanitize naming.Bastien Montagne
Now we only use 'undo' or 'redo' in function names when the direction is clear (and we assert about it). Otherwise, use 'load' instead. When passing an undo step to BKE functions, consider calling code has done its work and is actually passing the target step (i.e. the final step intended to be loaded), instead of assuming we have to load the step before/after it. Also deduplicate and simplify a lot of core undo code in BKE, now `BKE_undosys_step_load_data_ex` is the only place where all the complex logic of undo/redo loop (to handle several steps in a row) is placed. We also only use a single loop there, instead of the two existing ones in previous code. Note that here we consider that when we are loading the current active step, we are undoing. This makes sense in that doing so //may// undo some changes (ideally it should never do so), but should never, ever redo anything. `BKE_undosys_step_load_from_index` also gets heavily simplified, it's not basically a shallow wrapper around `BKE_undosys_step_load_from_index`. And some general update of variable names, commenting, etc. Part of T83806. Differential Revision: https://developer.blender.org/D10227
2021-02-03BPY: allow `bpy.data.libraries.load()` to filter out non-asset data-blocks.Bastien Montagne
Differential Revision: https://developer.blender.org/D10237
2021-02-03WIP: Rewrite point distribute node to correctly support instancesHans Goudey
This does not compile, and isn't close to finished.
2021-02-03Add a second idea for the instances APIHans Goudey
2021-02-03Merge branch 'master' into temp-geometry-nodes-instances-apiHans Goudey
2021-02-03Merge branch 'blender-v2.92-release'Clément Foucault
2021-02-03Fix T85314 GPU: Drawlist submit data overflows.Clément Foucault
This was caused by an incorrect bound check. Since we now use different data type for indexed and non-indexed drawcalls, we need to check if the next drawcall is going to overflow the buffer.
2021-02-02Force Fields: implement early filtering by the Affect flags.Alexander Gavrilov
Most fields have Affect Location and Rotation options that switch off their effect, but they are only checked as the last step after the force is already computed. It is more efficient to check it when building the list of field objects, just like zero weight. It is also possible to check the strength-related fields for 0. As an aside, this adds Location to Texture fields (they don't handle rotation) and both Location & Rotation checkboxes to Fluid Flow. Boid and Curve Guide remain without options for now as they are completely different from others. Differential Revision: https://developer.blender.org/D10087
2021-02-02Merge branch 'blender-v2.92-release'Robert Guetzkow
2021-02-02Fix T85225: Variable scope in ridged multi-fractal noiseRobert Guetzkow
This patch fixes a bug introduced in rB74188e65028d268af887ab2140e4253087410c1e. The commit incorrectly moved the declaration and intialization of the variable `pwr` inside the loop. Since the value was originally modified in each iteration based on it's previous value and `pwHL` through `pwr *= pwHL`, this change in scope was wrong. It resetted the value in each iteration. This patch moves the declaration of `pwr` outside the loop again. Reviewed By: JacquesLucke Differential Revision: https://developer.blender.org/D10258
2021-02-02Fix for T82459 - Input Language Independent of Display LanguageHarley Acheson
Allow OS input language to initiate IME, regardless of Blender output language. Differential Revision: https://developer.blender.org/D10268 Reviewed by Julian Eisel
2021-02-02Fix build error on windows after recent commitHans Goudey
rB198ff4703f84d0c3267 neglected to remove designated initializers, which are not supported in the C++ 17 standard.
2021-02-02Merge branch 'blender-v2.92-release'Sebastián Barschkis
2021-02-02Fix T84649: Quick liquid causing crash on scale operationSebastián Barschkis
This commit makes use of the updated fluid sources files (previous commit rB9ad828dbad94d279521875db47a3472a38cc9b29)
2021-02-02Fluid: Updated Mantaflow source filesSebastián Barschkis
Includes improvements for the file IO. Namely, more meta data will be written from now on. This change is required to prevent IO issues (e.g. T84649) that arised through the use of sparse grids caching (introduced in 2.92).
2021-02-02BKE BMain relations: add utils to (re)set tags of the entries.Bastien Montagne
2021-02-02Cleanup: LibOverride: group logically utils static functions.Bastien Montagne
2021-02-02Blenkernel: Move node.c to C++Hans Goudey
Required changes to compile `node.cc` with clang tidy: * Use c++ includes like (e.g. climits instead limits.h). * Insert type casts when casting from `void *`. * Replace `NULL` with `nullptr`. * Replace typedef statements. This change is in order to use the `blender::Map` data structure for node error messages.
2021-02-02Merge branch 'blender-v2.92-release'Sebastian Parborg
2021-02-02Fix freestyle render pass not being created when there are no strokesSebastian Parborg
It could lead to missing images when outputing the pass to an image sequence.
2021-02-02Merge branch 'blender-v2.92-release'Nathan Craddock
2021-02-02Fix T83450: Missing 4th studio light in preview iconNathan Craddock
Due to an off-by-one error the generated studio light icons did not show the influence of the 4th light. This fix changes the loop to iterate over all of the lights when computing the lighting. Differential Revision: https://developer.blender.org/D10283
2021-02-02Merge branch 'blender-v2.92-release'Hans Goudey
2021-02-02Fix T85155: Vertex groups from object don't transfer to next nodes modifierHans Goudey
Because the the vertex group name-to-index map is stored in the object rather than object data, the object info node has to replace the map when it replaces the mesh component on the geometry set with mesh data from another object. This normally works fine as a way to use the vertex groups from the input mesh, but when passing this mesh to the next modifier, the entire mesh component was replaced, removing the vertex group name map. This commit adds a function to replace only the mesh data in mesh component, uses it in the modifier code, and updates the relevant comments. Note that the fact that vertex group names are stored in object data is a legacy design decision that should be reevaluated at some point. Differential Revision: https://developer.blender.org/D10256
2021-02-02Merge branch 'blender-v2.92-release'Philipp Oeser
2021-02-02Fix T85301: Eevee does not respect collection instance offset for hairPhilipp Oeser
This resulted in hair drawing with an offset if an instance_offset was set. note: Usually the instance_offset gets combined with the objects obmat in 'make_duplis_collection' / 'make_dupli', see > /* Combine collection offset and `obmat`. */ Using the resulting DupliObject->mat instead does include the instance_offset, but this results in double-transforms (something that I have not investigated further), so now reconstruct the correct matrix from scratch. Maniphest Tasks: T85301 Differential Revision: https://developer.blender.org/D10285
2021-02-02Merge branch 'master' into temp-geometry-nodes-instances-apiHans Goudey
2021-02-02Python API: option for render engines to delegate Freestyle render to EeveeMiguel Pozo
Eevee is now used for Freestyle rendering by default, since other engines are unlikely to have support for this. Workbench and Cycles do their own rendering. RenderEngine add-ons can do their own Freestyle rendering by setting bl_use_custom_freestyle = True. Differential Revision: https://developer.blender.org/D8335
2021-02-02Fix T83064: Missing tooltips, caused by string property search buttonJulian Eisel
When a searchbox-button for string properties (e.g. to reference a vertex group) was created, and a value was set, the tooltip timer would constantly get cancelled. That was because the code to validate the current value (`ui_but_search_refresh()` - early exists for non-string properties) would call a helper function to update the search results (`ui_searchbox_update_fn()`), which always reset tooltips. Resetting them in the helper makes sense, for as long as the searchbox is open. But while it's not, and we just validate the current value, it shouldn't do this. This was also noticable in the output settings of dynamic paint, and probably a number of other cases (especially with script UIs which tend to use string properties more often). Likely caused by de53c039adb4.
2021-02-02Cleanup: Use bool instead of intJulian Eisel
2021-02-02Cleanup: take grid reference instead of shared pointer as parameterJacques Lucke
This makes the function usable in more contexts.
2021-02-02macOS: use precompiled libraries for arm64 buildBrecht Van Lommel
Standard wiki build instructions for building Blender on macOS can now be used on Macs with ARM processors. This contains all libraries except for Embree and OpenImageDenoise, so Cycles performance does not yet have full performance and features in this build. An x86-64 build is likely to still render faster than arm64 until Embree is added. Uses the new lib/darwin_arm64 folder. For simplicity and to keep download size under control, both for end users and builders, we are not planning to ship universal binaries. So this is a separate folder from lib/darwin. Ref T78710 Differential Revision: https://developer.blender.org/D10276
2021-02-02macOS: fix warning about unkown GPU with Apple M1 chipBrecht Van Lommel