Blender Git Commits

Blender Git "master" branch commits.

Page: 11 / 5574

December 17, 2021, 06:28 (GMT)
UI: move "undo history" from a custom popup to a menu type

This lets the undo history expand as a regular sub-menu
instead of being a popup.

Also disable the active undo step menu item as this is a no-op.
December 17, 2021, 04:26 (GMT)
Cleanup: spelling in comments
December 17, 2021, 04:11 (GMT)
Cleanup: use more common naming suffix for item callbacks
December 17, 2021, 01:59 (GMT)
UI: Correct "QuickTime" Spelling

Change the spelling of the QuickTime output video container item from
"Quicktime" to "QuickTime"

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

Reviewed by Harley Acheson
Revision b7e151d by Hans Goudey
December 16, 2021, 21:44 (GMT)
Cleanup: Simplify logic in set material node
Revision da2c564 by Hans Goudey
December 16, 2021, 21:39 (GMT)
Geometry Nodes: Support point clouds in the set material node

Now that point clouds can be rendered with cycles, it makes sense
to allow assigning a material to them. Note that like volumes, they
only support a single material though.
December 16, 2021, 19:54 (GMT)
Cycles: pointcloud rendering

This add support for rendering of the point cloud object in Blender, as a native
geometry type in Cycles that is more memory and time efficient than instancing
sphere meshes. This can be useful for rendering sand, water splashes, particles,
motion graphics, etc.

Points are currently always rendered as spheres, with backface culling. More
shapes are likely to be added later, but this is the most important one and can
be customized with shaders.

For CPU rendering the Embree primitive is used, for GPU there is our own
intersection code. Motion blur is suppored. Volumes inside points are not
currently supported.

Implemented with help from:
* K�vin Dietrich: Alembic procedural integration
* Patrick Mourse: OptiX integration
* Josh Whelchel: update for cycles-x changes

Ref T92573

Differential Revision: https://developer.blender.org/D9887
December 16, 2021, 17:29 (GMT)
Revert "Cycles-X: Add hysteresis to resolution divider algorithm"

This reverts commit d8b42751625c915113b64f5a2d9c72f19f009fee. It causes reduced
viewport render resolution. Revert for now until I have time to look into this
more closely.
Revision bd12855 by Hans Goudey
December 16, 2021, 17:22 (GMT)
Cleanup: Move curve.c to C++

I need this for a refactor I'm looking into for bounding boxes.
It may be helpful in the future when using `CurveEval` in more places.

Differential Revision: https://developer.blender.org/D13596
December 16, 2021, 17:15 (GMT)
LibOverride: Further improve creation/resync pre-process speed.

Fully get rid of `BKE_collection_object_find` in
`lib_override_group_tag_data_object_to_collection_init`, even if only
used a few times this function was still noticeable in profiling data.

Now instead loop over collections' objects to build required
object-to-collections mapping.

Adds an extra 5-10% speed-up compared to previous commit rB0624fad0f3ff.

Related to T94059.
December 16, 2021, 16:45 (GMT)
Fix T94109: 3d cursor crash when using shortcut

Operator was erroneously starting edge_slide operation.

Revert part of the changes in rB3fab16fe8eb4 as obedit_type was being
confused with object_mode.
December 16, 2021, 16:27 (GMT)
LibOverride: Improve speed of resync and creation of liboverrides.

`BKE_collection_object_find` has extremely bad performances (very high
time complexity). While ideally this should be fixed in that API, for
now cache its results once at the beginning of the resync/creation
process.

This makes loading of complex production files with a lot of
liboverrides to resync three to four times faster.

Thanks to @brecht for the profiling in T94059.
December 16, 2021, 15:48 (GMT)
LibOverride: Cleanup log about unfound subitems.

Not finding subitem when its name and index are invalid/unset is
expected behavior, and does happen when e.g. inserting a new constraint
or modifier at the begining of the stack.
December 16, 2021, 12:40 (GMT)
Fix T94115: Selecting current action in undo history undoes all

When selecting the current undo step there is no need to do anything.

Fix and minor refactor to de-duplicate refreshing after running
undo/redo & undo history.
December 16, 2021, 12:18 (GMT)
UI: deduplicate code for Copy To Selected and Alt-button tweaking

This resolves an old TODO to deduplicate code in copy_to_selected_button
& ui_selectcontext_begin.
This is also in hindsight of adding id-property support [incl. Geometry
Nodes modifier properties] for this in the next commit.
No behavior change expected here.

ref T93983 & D13573
December 16, 2021, 12:18 (GMT)
UI: support Copy To Selected for id-properties [GN modifier properties]

Both {key Alt} editing behavior as well as `Copy To Selected` were not
working on geometry nodes modifiers (even if these matched exactly -
having the same nodegroup - on multiple objects)

Reason is that code checks pointer equality on the discovered properties
[geometry nodes modifier properties are stored as ID properties], but
these are not the same across objects (since these are fetched from
NodesModifierSettings - which are different on different objects).

note: if general custom properties are "API defined" on existing classes,
this was working, we are getting the exact property for different IDs in
this case

Now be more permissive with ID properties not defined on classes in
general and dont check pointer equality for them. For ID properties on
specific IDs (not the ones defined on classes) this //might// be undesired
(havent spotted issues though, even if equally named ID properies with
different types existed -- this then simply does nothing).

For geometry nodes modifiers, new code also checks if the nodegroups are
the same [since generic naming "Input_XXX" is shared for all modifiers --
and starting to copy over things to unrelated modifiers is not desired
here].

Fixes T93983.

Maniphest Tasks: T93983

Differential Revision: https://developer.blender.org/D13573
December 16, 2021, 11:54 (GMT)
Cleanup: correct docstring for `driver_variable_name_validate`

No functional changes.
December 16, 2021, 10:58 (GMT)
Docs: add doc-strings for BLI_path functions
December 16, 2021, 10:26 (GMT)
Animation: send notifier when keyframe is inserted

`<some_id>.keyframe_insert()` now sends a notifier that animation data
was changed, so that animation-related editors can properly refresh.

Since this function is quite high-level (if necessary it creates the
Action and FCurves), I thought this would be a suitable location for the
notifier. If high keyframing speed is required, it is still recommended
to use `FCurveKeyframePoints.insert(options={'FAST'})` instead.
December 16, 2021, 09:08 (GMT)
Fix compile error on Windows.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021