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-11-25simplify math nodegeometry-nodes-deduplicate-float-mathJacques Lucke
2020-11-25support creating constant dummy attributesJacques Lucke
2020-11-25support remaining math functionsJacques Lucke
2020-11-25Merge branch 'geometry-nodes' into geometry-nodes-deduplicate-float-mathJacques Lucke
2020-11-25Merge branch 'master' into geometry-nodesJacques Lucke
2020-11-25Nodes: deduplicate ping pong math operationJacques Lucke
The formula did not change. The only side effect of this change should be that the compositor node now does not divide by zero in some cases.
2020-11-25Merge branch 'geometry-nodes' into geometry-nodes-deduplicate-float-mathJacques Lucke
2020-11-25Cleanup: remove useless cast.Bastien Montagne
2020-11-25Tracking: Cleanup, de-duplicate implementation of marker lookupSergey Sharybin
The logic was duplicated. Should be no functional changes. The modified function is expected to give same exact results for all inputs. On the "caching last-used track" topic. The code was using last_marker to allow faster lookup of marker closest to the frame. With this change it is still the case since the BKE_tracking_marker_get() does cache last used marker.
2020-11-25Geometry Nodes: Fix missing node editor redraw for active modifierHans Goudey
When the active modifier changes, or when its node group changes, the node editor should redraw, because these actions change its context.
2020-11-25Geometry Nodes: Always use the active modifier for shortcutsHans Goudey
Based on discussion with the team, summarized in T82691, it makes sense to simplify the shortcut behavior and remove the way the shortcuts currently activate on hover if there is no active modifier. This commit also removes the behavior of clearing the active modifier when you click on blank space in the modifier tab.
2020-11-24Geometry Nodes: Make next modifier active when deletingHans Goudey
Previously it was the previous modifier, but this change keeps the index of the object's active modifier consistent when deleting a modifier.
2020-11-24Merge: fix after mergeJacques Lucke
This was part of rBe922dd7d8a307c54d49bc01649a12610b022192b.
2020-11-24Merge branch 'master' into geometry-nodesJacques Lucke
2020-11-24Viewport: cannot select object by clicking on its instancesJacques Lucke
Selecting an object by clicking on its instances only worked, when the object itself is visible. However, it is possible to hide the object and still keep the instances visible. The solution is to give every object the correct `select_id` in the depsgraph object iterator right before rendering. Reviewers: fclem, brecht Differential Revision: https://developer.blender.org/D9640
2020-11-24cleanup namingJacques Lucke
2020-11-24cleanupJacques Lucke
2020-11-24add more functionsJacques Lucke
2020-11-24dispatch 3 input functionsJacques Lucke
2020-11-24cleanupJacques Lucke
2020-11-24Merge remote-tracking branch 'origin/blender-v2.91-release'Sybren A. Stüvel
2020-11-24continue deduplicatingJacques Lucke
2020-11-24start deduplicating float mathJacques Lucke
2020-11-24Geometry Nodes: remove attribute name inputs from Instancer nodeJacques Lucke
The node now assumes that the data is found in the "Position", "Rotation" and "Scale" attribute. Those names might change soon.
2020-11-24Geometry Nodes: rename Join to Join GeometryJacques Lucke
2020-11-24Fix T80748: Render Emissive Colors in Compositor BackdropJeroen Bakker
This change will use the image engine to draw the backdrop of the compositor. With this patch the alpha blending will be done in Linear Scene Reference space and shows pure emissive colors. See differential for an example image. **Technical changes** As only the backdrop drawing is done using the draw manager there are some technical changes. 1. The overlay buffer is partly drawn outside the draw manager. When drawing the backdrop image the overlay buffer needs to be masked to simulate premultiplied alpha under. 2. The backdrop of the node editor is done in region pixel space. A `DRWView` is constructed with this space. 3. UDIM textures uses world position to generate the UV coordinates. This has been implemented more strict by the `IMAGE_DRAW_FLAG_USE_WORLD_POS`. When the flag isn't used the local coordinates are used to generate the UV coordinates what is image space. 4. The draw manager now checks the actual `eSpaceType` of the space data to use different code paths. In the future the movie clip editor will be added. NOTE: The preview images in nodes are drawn in display space and cannot show pure emissive colors. As preview images are used on more locations it is best to fix this in a separate patch. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D9451
2020-11-24Fix T77261: Multires creates spikes when subdividing ngonsSergey Sharybin
The spikes were caused by non-initialized tangent matrix used during smoothing process. The reason tangent matrix was not initialized was because wrong usage of API: n-gons should pass corner of 0 to the matrix construction function. Corrected usage of the API and added assert() to help catching such kind of non-initialized issues easier.
2020-11-24Graph Editor: fix keyframe not activating in certain casesSybren A. Stüvel
When clicking on an already-selected keyframe, mark it as active if the click caused the previously-active keyframe to become deselected. When clicking on a key in the graph editor, it is selected and all other keys are deselected. If that key was already selected before the click, it would not become the active keyframe. This is now fixed. Reviewed by: Severin Differential Revision: https://developer.blender.org/D9639
2020-11-24Geometry Nodes: only output new data from Distribute and Instance nodesJacques Lucke
This can be recombined with the original data using a Join node if necessary.
2020-11-24Fix T82962: Crash changing lattice resolution with Vertex GroupJeroen Bakker
Regression introduced by {rB042143440d76}. The deform group lookup was performed on the wrong object. Before the lookup was performed on the lattice object. This patch changes this back. Reviewed By: Bastien Montagne Differential Revision: https://developer.blender.org/D9638
2020-11-24Cleanup: clang tidyJacques Lucke
2020-11-24Animation: Remove debug printsSybren A. Stüvel
Remove accidentally-commited debug prints. No functional changes. Reviewed by: sergey Differential Revision: https://developer.blender.org/D9637
2020-11-24Fix Python API docs for the render APIDalai Felinto
The API doc for free_blender_memory() was used in get_preview_pixel_size() Issue introduced in 549468365157a075949f2d4b8d9496ff.
2020-11-24Fix Compilation ErrorJeroen Bakker
GCC showed this as a warning, MSVC as an error.
2020-11-24Outliner: Switch properties tabs only on icon clickNathan Craddock
According to feedback the outliner to properties editor tab switching was annoying when it always changed tabs on selection, especially for selecting individual objects. This limits the tab switching behavior to only when the icons in the outliner are selected.
2020-11-24UI: Improvements to interaction with active modifierHans Goudey
This commit includes these improvements to operators and how they relate to the active modifier: - Shortcuts performed while there is an active modifier will affect only that modifier. - Clicking anywhere on the empty space in a modifier's panel will make it active. - Clicking anywhere in the empty properties space will clear the active. These changes require some refactoring of object modifier code. First is splitting up the modifier property invoke callback, which now needs to be able to get the active modifier separately from the hovered modifier for the different operators. Second is a change to removing modifiers, where there is now a separate function to remove a modifier from an object's list, in order to handle changing the active. Finally the panel handler neeeds a small tweak so that this "click in panel" event can be handled afterwards.
2020-11-24UI: Batch Rename Layout ImprovementsYevgeny Makarov
Improvements to the layout of the Batch Rename dialog. Differential Revision: https://developer.blender.org/D9496 Reviewed by Reviewed by Hans Goudey
2020-11-24UI: Add Trackpad Smooth Scrolling for PopoversYevgeny Makarov
Adds smooth scrolling with the trackpad for popovers. Also fixes the position of the scroll arrows on high-DPI. Differential Revision: https://developer.blender.org/D9533 Reviewed by Brecht Van Lommel
2020-11-24UI: Block Safety Not Scaled CorrectlyYevgeny Makarov
Layout block safety sizes were not scaled correctly with interface scale. Differential Revision: https://developer.blender.org/D9569 Reviewed by Brecht Van Lommel
2020-11-24Speedups for new boolean. Better hash function for verts.Howard Trickey
The existing hash function didn't work well with Set's method of masking to the lower bits, because many verts have zeros in the lower bits. Also, replaced VectorSet with Set for Vert deduping.
2020-11-24Cleanup: Correct node name in definition functionHans Goudey
2020-11-24Geometry Nodes: Initial implementation for attribute math nodeHans Goudey
This provide a simple implementation for basic math operations. Add, subtract, multiple, and divide are implemented so far. Domain interpolation is not implemented yet either. This commit also adds two "Type" options to the node for choosing explicitly whether to use an attribute or a float value as one of the inputs. It is not possible to use two floats as inputs, because that would be a regular math node. Some cleanup to avoid some code duplication will come in a future commit.
2020-11-23Geometry Nodes: new Join nodeJacques Lucke
This node creates a new geometry based on two incoming geometries. In the future the node ui can be extended to support more than two inputs. The output geometry will have all the attributes of the inputs. If both inputs have non-matching set of attributes, missing data is either interpolated, type cast or zeroed. Ref T82786.
2020-11-23Geometry Nodes: improve geometry componentJacques Lucke
* It now knows its own component type. * Add virtual method to check if the component is empty. * Add virtual methods to find all attribute names. * Support adding existing components to a geometry set.
2020-11-23Geometry Nodes: disable random attribute node when name is emptyJacques Lucke
2020-11-23Geometry Nodes: duplicate referenced data layers in attribute apiJacques Lucke
2020-11-23Fix T82884: Cycles Compilation Error OpenCL/NanoVDBJeroen Bakker
Recent changes introduced `acc` parameter into the texture read functions. When nanovdb isn't enabled this leads to compilation errors as the `acc` variable wasn't defined. OpenCL only compiles needed features what made it more prominent. Reviewed By: Patrick Mours Differential Revision: https://developer.blender.org/D9629
2020-11-23Cycles: Remove Compilation WarningJeroen Bakker
ROCm 3.9 already defined `NULL`. This patch will first check if it was already defined to remove compilation warnings. NOTE: This doesn't add official support for ROCm as it still fails to render correctly (crashes with default cube). Reviewed By: Brecht van Lommel Differential Revision: https://developer.blender.org/D9610
2020-11-23Cleanup: Animation, split `graph_edit.c` into separate filesChristoph Lendenfeld
Split some of the code of `graph_edit.c` into: * `graph_view.c`: preview range, view all, view selected etc. * `graph_slider_ops.c`: the decimate modal operator code. The latter file will be extended later with more slider-based operators. Maniphest Tasks: T81785 Reviewed By: sybren Differential Revision: https://developer.blender.org/D9312
2020-11-23Tracking: Cleanup, typos and spelling in DNA commentsSergey Sharybin