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-05-21Merge branch 'master' into temp-attributes-paneltemp-attributes-panelJacques Lucke
2021-05-21Cleanup: Use named unused arguments in Cycles DeviceSergey Sharybin
2021-05-21Geometry Nodes: new Material Replace nodeJacques Lucke
This node can change all faces that use a specific material to use a different material. Using this node is significantly more efficient than creating a selection from all faces with a specific material index and then using the Material Assign node. Ref T88055. Differential Revision: https://developer.blender.org/D11325
2021-05-21Depsgraph: remove mesh edit-mode pointer duplicationCampbell Barton
Share the pointer with the original mesh instead, this matches behavior of all other objects edit-mode data. Duplicating the edit-mesh pointer makes updates to edit-mesh require a COPY_ON_WRITE update, which is currently an expensive operation (copying the entire mesh). Notes: - This change is from 802027f3f8f9a83a77134a2b104a25ff3a4ac013 so the edit-meshes object pointer `BMEditMesh.ob` referenced the COW version of the object. This pointer has since been removed, so the copy is no longer needed. - Having a separate edit-mesh pointer could be used so linked duplicates could have their own generated meshes. For this to be supported, many other changes would be needed: see D10920.
2021-05-21Fix T88227: Eevee not working on AMD 535 cards.Jeroen Bakker
Enabled HQ normals workaround for this specific configuration.
2021-05-21Transform: use ID_RECALC_GEOMETRY flag when updating object dataCampbell Barton
While this doesn't provide any noticeable benefits at the moment, it allows for geometry updates skipping copy-on-write in edit-mode in the future.
2021-05-21Cleanup: quiet -Warray-parameter warnings from GCC11Campbell Barton
Some warnings remain that require larger changes.
2021-05-21Cleanup: conversion warningCampbell Barton
2021-05-21Eevee Wavelength Node SupportIyad Ahmed
This patch adds wavelength node support to Eevee, similar to how Eevee Blackbody node works, thus it is a little off from Cycles. Reviewed By: #eevee_viewport, fclem, brecht Differential Revision: https://developer.blender.org/D11326
2021-05-21Transform: remove ID_RECALC_SELECT for edit-mode armaturesCampbell Barton
This was added in 9516921c05bd9fee5c94942eb8e38f47ba7e4351 so overlays would redraw, as far as I can see it's no longer needed. Reviewed By: fclem Ref D11322
2021-05-21Cleanup: spellingRichard Antalik
2021-05-20Merge branch 'blender-v2.93-release'Sebastian Parborg
2021-05-20Fix T87854: Add clamp option to Path AnimationSebastian Parborg
Previously, the "follow path constraint" and "follow parented curve" were clamped. This restriction was lifted in rBcf2baa585cc8 Add back an option to get the old behavior in the "Path animation" settings. Reviewed By: Sybren Differential Revision: http://developer.blender.org/D11263
2021-05-20Fix petty comment.Ray Molenkamp
I'm embarrassed this was in our codebase for 18 years
2021-05-20GPencil: Fix missing annotations in VSE stripAntonio Vazquez
Since version 2.80, the annotations of the Scene strip were not displayed in VSE. Also, the UI panel was`Grease Pencil` and must be `Annotation` The problem was the offscreen render hasn't evil_CTX and the section of the annotation was never called. Differential Revision: https://developer.blender.org/D11329
2021-05-20Merge branch 'blender-v2.93-release' into masterAnkit Meel
2021-05-20macOS build: set minimum deployment target correctlyAnkit Meel
Make `CMAKE_OSX_DEPLOYMENT_TARGET` independent of buildbot settings and always set to `OSX_MIN_DEPLOYMENT_TARGET`. That fixes the launch error on OS older than buildbot's. Remove unused `MACOSX_DEPLOYMENT_TARGET`. Fix T88419 Diff D11323
2021-05-20Merge branch 'blender-v2.93-release'Hans Goudey
2021-05-20Fix T87316: No undo push for clicking on attribute nameHans Goudey
Since there is a special callback for assigning the name from the search box, and the callback doesn't call an operator or something else that would do an undo push, I think the solution is to do it manually here. Another option would be adding the button flag "UI_BUT_UNDO", which isn't set by default for search buttons, but that gives us ugly names for the undo steps, so an explicit push is better in this case. Differential Revision: https://developer.blender.org/D11190
2021-05-20GPencil: Adding length modifier.YimingWu
Reviewed By: Antonio Vazquez (antoniov) Differential Revision: https://developer.blender.org/D8264
2021-05-20Fix T87947: Trasnform: Keyboard input uses view orientationGermano Cavalcante
When activated in modal, `translate`, `resize`, `rotate`, `shear` and `edge_rotate_normal` use a different orientation than the set in scene. This orientation needed to match since some of these modes can be switched during operation. The default orientation for these modes was `V3D_ORIENT_VIEW`. And this changed when finishing the `translate` and `resize` to `V3D_ORIENT_GLOBAL`. But this could cause inconsistencies when inputting values from the keyboard. The solution now is to change the orientation when you change the mode. --- Note: Although the user can expect the value entered to reflect the orientation set in the scene, it would require a lot of changes and would not be really useful.
2021-05-20Cleanup: Use enum to indicate the current orientationGermano Cavalcante
Improves readability.
2021-05-20Fix T88345: Blender crash on GPUFrameBuffer creationGermano Cavalcante
Misuse of indexes. `color_attachements` has only color ones while `config` has color and depth.
2021-05-20Fix T88365: GPUTexture.read returning a buffer with wrong sizeGermano Cavalcante
The pixel components were not being considered.
2021-05-20Fix T88313: GPencil reproject operator projecting on the wrong surfaceGermano Cavalcante
`ray_start` must start at the position of the gpencil point.
2021-05-20Cleanup: rename incorrectly named experimental feature flagJacques Lucke
The `WITH_GEOMETRY_NODES` flag does not make sense anymore, it is just protecting the `Simulation` data block that is not used currently.
2021-05-20Merge remote-tracking branch 'origin/blender-v2.93-release'Sybren A. Stüvel
2021-05-20Fix T86193: Bake Action, wrong rotation order for bonesdreamertooth
Use bone rotation order to compute the baked rotation. This fixes a bug introduced in rB0e85d701c654, where the object rotation order was applied to the bone. Maniphest Tasks: T88359, T86193 Reviewed By: sybren, GuiltyGhost, #animation_rigging Differential Revision: https://developer.blender.org/D11282
2021-05-20Geometry Nodes: new Material input nodeJacques Lucke
This node is similar to the Value and Vector node. It just provides a way to use the same material in multiple nodes without exposing it outside of a node group. Differential Revision: https://developer.blender.org/D11305
2021-05-20Geometry Nodes: new Material Assign nodeJacques Lucke
This adds a new Material Assign node. It can be used to change the material used by an existing mesh or to assign a material to a mesh that has been generated from scratch. Differential Revision: https://developer.blender.org/D11155
2021-05-20Materials: support materials when applying modifierJacques Lucke
This fixes the `Apply Modifier` and `Visual Geometry to Mesh` operator when a modifier changed materials on the evaluated geometry. This is necessary since rB1a81d268a19f2f1402f408ad1dadf92c7a399607. Differential Revision: https://developer.blender.org/D11303
2021-05-20Fix: wrong rna pointer for material slotJacques Lucke
This was missing from rB1a81d268a19f2f1402f408ad1dadf92c7a399607.
2021-05-20Geometry Nodes: new geometry nodes evaluatorJacques Lucke
The old geometry nodes evaluator was quite basic and missed many features. It was useful to get the geometry nodes project started. However, nowadays we run into its limitations from time to time. The new evaluator is more complex, but comes with new capabilities. The two most important capabilities are that it can now execute nodes in parallel and it supports lazy evaluation. The performance improvement by multi-threading depends a lot on the specific node tree. In our demo files, the speedup is measurable but not huge. This is mainly because they are bottlenecked by one or two nodes that have to be executed one after the other (often the Boolean or Attribute Proximity nodes) or because the bottleneck is multi-threaded already (often openvdb nodes). Lazy evaluation of inputs is only supported by the Switch node for now. Previously, geometry nodes would always compute both inputs and then just discard the one that is not used. Now, only the input that is required is computed. For some more details read D11191, T87620 and the in-code documentation. Differential Revision: https://developer.blender.org/D11191
2021-05-20Cleanup: spellingCampbell Barton
2021-05-20Cleanup: inconsistent parameter namesJacques Lucke
2021-05-20VSE: Fix select strips at current frame featureRichard Antalik
This feature of `select_side_of_frame` was disabled by removing option from operator property enum but functional code was never removed. Add back option to use this feature. Feature was disabled due to keymap issue. Currently this feature doesn't have keymap assigned.
2021-05-20Cleanup: Remove unused defineRichard Antalik
References to `SEQ_CACHE_COST_MAX` were removed in 38b77ef8b221.
2021-05-20VSE: Fix animation duplication in split operatorRichard Antalik
Due to misunderstanding of how strip duplication works, animation data was duplicated on all strips when any strip was split. `SEQ_sequence_base_dupli_recursive()` duplicated data on strip that was being split, and `SEQ_ensure_unique_name()` duplicated animation on all strips. Only duplication should be done with `SEQ_ensure_unique_name()` and only on right side split strips, because only these strips are duplicated.
2021-05-20Splines: Optimize interpolation in special case virtual arrayHans Goudey
When the input data is a virtual array for a single value, we don't need to run any of the interpolation, instead just copy the input data.
2021-05-19VSE: Fix rendering inconsistencyRichard Antalik
Fix issue described in T87678, which was partially a bug and partially change in intended(at least as far as I can tell) behaior. Function `evaluate_seq_frame_gen` that was partially responsible for filtering strips in stack for rendering wasn't working correctly. Intended functionality seems to be removing all effect inputs from stack as it is unlikely that user would want these to be blended in. However there was logic to exclude effects placed into same input, which because of weak implementation caused, that any effect input, that is effect as well will be considered to be part of stack to be blended in. This bug was apparently used to produce effects like glow over original image. Even though this is originally unintended, I have kept this logic, but I have made it explicit. Another change is request made in T87678 to make it possible to keep effect inputs as part of stack when they are placed above the effect, which would imply that blending is intended. This change is again explicitly defined. Whole implementation has been refactored, so logic is consolidated and code should be as explicit as possible and more readable. `must_render_strip function` may be still quite hard to read, not sure if I can make it nicer. Last change is for remove gaps feature code - it used same rendering code, which may be reason why its logic was split in first place. Now it uses sequencer iterator, which will definitely be faster than original code, but I could have used `LISTBASE_FOREACH` in this case. Reviewed By: sergey Differential Revision: https://developer.blender.org/D11301
2021-05-19VSE: Refactor sorting functionsRichard Antalik
Recently `SEQ_sort()` function was split so functionality is provided on per-seqbase basis. After discussion about this split, it turned out, that per-seqbase operation is only that should be provided, because RNA API functions need to be able to access arbitrary seqbase Remove recently introduced function `seq_sort_seqbase` and change `SEQ_sort` function to operate on seqbase. Reviewed By: sergey Differential Revision: https://developer.blender.org/D11297
2021-05-19Cleanup: Use consistent order for functions in node filesHans Goudey
After this commit, all geometry node "init" and "update" functions are at the top of each file, right below the "layout" function. This means you can always scroll to the bottom of the file to see the entry point, and the boring boilerplate code is grouped in one section.
2021-05-19Geometry Nodes: Execute point rotate node on curve componentHans Goudey
When adding attributes on the curve component, I missed calling this node's execute function on the curve component, like the other nodes.
2021-05-19Geometry Nodes: Support for dynamic attributes on curve splinesHans Goudey
With this patch you will be able to add and remove attributes from curve data inside of geometry nodes. The following is currently implemented: * Adding attributes with any data type to splines or spline points. * Support for working with multiple splines at the same time. * Interaction with the three builtin point attributes. * Resampling attributes in the resample node. The following is not implemented in this patch: * Joining attributes when joining splines with the join geometry node. * Domain interpolation between spline and point domains. * More efficient ways to call attribute operations once per spline. Differential Revision: https://developer.blender.org/D11251
2021-05-19Cleanup: Use copy constructor for CurveEvalHans Goudey
There is no need for a special "copy" method with a copy constructor, which will be necessary to explicitly copy attributes anyway.
2021-05-19Fix T87793: Cycles OptiX crash hiding objects in viewport renderBrecht Van Lommel
2021-05-19Cycles OpenCL: disable AO preview kernelsBrecht Van Lommel
These seem to be causing some stability issues, and really are just not that useful in practice. Compiling them is slow already, so it does not improve the user experience much to show an AO preview if it's not nearly instant.
2021-05-19Assets: Use textures (and shadows) for automatic object previewsSeverin
Textures may be important to be able to identify an object. They are also a way to make many objects look more like when rendered with an advanced render engine, without being that expensive. So this seems like a simple way to increase usefulness of the automatic previews.
2021-05-19GPencil: Apply NanoSVG fixAntonio Vazquez
This fix is ported from official NanoSVG git
2021-05-19IDManagement: Enable ID sorting test for linked IDs.Bastien Montagne