Blender Git Commits

Blender Git "usd-importer-T81257-merge" branch commits.

Page: 4 / 11

June 18, 2021, 23:48 (GMT)
Refactor USDStageReader::create_reader() logic.

Simplified conditionals with early returns.
June 18, 2021, 21:51 (GMT)
USD importer compile error fix.
June 18, 2021, 21:41 (GMT)
USD importer naming convention fix.

Removed underscore prefix from static function name, as such
prefixes aren't used anywhere else in the USD I/O code.
June 18, 2021, 21:32 (GMT)
Refactor USDStageReader pruning functions.

Added USDStageReader member functions for pruning
by visibility and purpose, to replace existing static
versions of these functions. This simplifies the code
as the member functions take fewer parameters.
June 18, 2021, 21:13 (GMT)
USD Importer code cleanup.

Removed unneeded print statement. Calling empty() to
check for empty string.
June 18, 2021, 18:29 (GMT)
Refactor USDStageReader::create_reader().

Added USDStageReader::create_reader() and
USDStageReader::create_reader_if_allowed() member
functions, to replace the static implementations of
these functions. This reduces the number of required
arguments when calling these functions and clarifies
the intent through more descriptive naming.
June 18, 2021, 16:35 (GMT)
Remove USDStageReader::clear_readers() parameter.

Removed unused decref parameter.
June 18, 2021, 16:11 (GMT)
Rename USDReaderStage::handle_prim().

Renamed to USDReaderStage::collect_readers(), as
it's more descriptive.
June 18, 2021, 01:32 (GMT)
Added USDStageReader::handle_prim() function.

Per suggestion by Sybren in his review, moved code from
the static _handlePrim() function to a USDStageReader private
member function. This helps simplify the code as the new
function requires fewer argumants. Also performed minor
cleanup of the function implementation.
June 18, 2021, 00:18 (GMT)
USD Import: fixed typo in comment.
June 18, 2021, 00:02 (GMT)
USD Import: removed unused ImportSettings member.

ImportSettings::vel_scale was unused and has bee removed.
May 27, 2021, 18:27 (GMT)
USD import: apply root transform to merged prims.

Fixed logic to identify root objects to work correctly
for objects that represent merged prims.
May 17, 2021, 20:55 (GMT)
USD import: z-up conversion for constraint.

Added logic to handle z-up conversion when creating
the USDStageReader handle for the transform cache
constraint.
May 17, 2021, 19:39 (GMT)
USD import: remove Convert to Z Up option.

Removing the z-up conversion option, per suggestion
from reviewers.
May 17, 2021, 15:28 (GMT)
USD import: root object xform logic fix.

Fixed logic for determining if a USDXformReader object
is the root of a transform hierarchy. The previous
implementation did not work for USDXformReader instances
created for transform cache contraints, since in that case
parent readers aren't set. Also, now checking if the
prim is a root xform in the USDXformReader constructor,
to avoid repeating this check every time the matrix
is computed.
May 11, 2021, 21:27 (GMT)
USD import format fix.
May 11, 2021, 21:17 (GMT)
USD import: remove unneeded rows in options UI.

Per suggestion from Hans Goudey in his review, removing
unnecessary instantiation of rows in the USD import options
UI layout.
May 11, 2021, 20:45 (GMT)
USD import: enable options property split.

Per suggestion from Hans Goudey in his review, enabling
property split for import options UI.
May 11, 2021, 19:27 (GMT)
USD import: fixed Cycles USD preview render.

Added call to update the material nodegraph when importing
USD Preview shaders, to fix issues where materials were
rendering black in Cycles.
May 11, 2021, 03:05 (GMT)
USD Import: fixed option property description.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021