Blender Git Commit Log

All Blender Git commits.

Page: 1098 / 8462

November 24, 2020, 12:22 (GMT)
Fix T80748: Render Emissive Colors in Compositor Backdrop

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
November 24, 2020, 11:40 (GMT)
Fix T77261: Multires creates spikes when subdividing ngons

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.
November 24, 2020, 11:27 (GMT)
Graph Editor: fix keyframe not activating in certain cases

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
November 24, 2020, 10:50 (GMT)
Geometry Nodes: only output new data from Distribute and Instance nodes

This can be recombined with the original data using a
Join node if necessary.
November 24, 2020, 10:46 (GMT)
Fix T82962: Crash changing lattice resolution with Vertex Group

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
November 24, 2020, 10:42 (GMT)
Cleanup: clang tidy
November 24, 2020, 10:13 (GMT)
Animation: Remove debug prints

Remove accidentally-commited debug prints.

No functional changes.

Reviewed by: sergey

Differential Revision: https://developer.blender.org/D9637
November 24, 2020, 09:42 (GMT)
Fix Python API docs for the render API

The API doc for free_blender_memory() was used in
get_preview_pixel_size()

Issue introduced in 549468365157a075949f2d4b8d9496ff.
November 24, 2020, 07:45 (GMT)
Fix Compilation Error

GCC showed this as a warning, MSVC as an error.
November 24, 2020, 05:21 (GMT)
Outliner: Switch properties tabs only on icon click

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.
November 24, 2020, 03:38 (GMT)
UI: Improvements to interaction with active modifier

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.
November 24, 2020, 02:48 (GMT)
add a tag_update method on the procedural
November 24, 2020, 01:27 (GMT)
UI: Batch Rename Layout Improvements

Improvements to the layout of the Batch Rename dialog.

Differential Revision: https://developer.blender.org/D9496

Reviewed by Reviewed by Hans Goudey
November 24, 2020, 01:22 (GMT)
UI: Add Trackpad Smooth Scrolling for Popovers

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
November 24, 2020, 00:56 (GMT)
UI: Block Safety Not Scaled Correctly

Layout block safety sizes were not scaled correctly with interface scale.

Differential Revision: https://developer.blender.org/D9569

Reviewed by Brecht Van Lommel
November 24, 2020, 00:30 (GMT)
Speedups for new boolean. Better hash function for verts.

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.
November 23, 2020, 23:32 (GMT)
Cleanup: Correct node name in definition function
November 23, 2020, 22:01 (GMT)
Geometry Nodes: Initial implementation for attribute math node

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.
November 23, 2020, 19:56 (GMT)
Add intial work on possion disk distribution
November 23, 2020, 18:45 (GMT)
Asset Browser: Milestone 1 - Basic, Local Asset Browser

NOTE: This is not ready for a merge yet. Purpose of this patch is to give
reviewers a first look. I plan to address some TODOs marked in code, and then
merge it soon to continue work in master. The patch can go through some proper
review then.

For remaining TODOs and project description, see #asset_browser_milestone_1.

This patch includes:
* "Make Asset" operator, exposed in Outliner and button context menus (the
latter is disabled currently)
* Asset meta-data storage and management
* Custom asset tags
* Reading asset meta-data for separate files (but not more)
* Automatic object previews
* Custmo Asset repository setup via Preferences (has to be .blend files
currently), directories are a ToDo.
* Default repository at ~/assets.blend on Linux/macOS, ~/Documents/assets.blend
on Windows
* Asset Browser editor, internally a sub-editor of the File Browser
* Internal File Browser changes need for asset browsing
* "Current File" repository for the File Browser
* Basic UI for editing asset meta-data
* Dragging object, collection, image and material assets into 3D Views
* Option to only show assets on Append/Link
* Some unfinished code for per repository Asset Catalogs (should likely be
disabled for now)

Differential Revision: https://developer.blender.org/D9633
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021