Blender Git Commits

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

Page: 3 / 11

July 18, 2021, 20:43 (GMT)
USD import: comment unused parameter.

Added comment for unused Object parameter in get_usd_reader().
July 18, 2021, 19:31 (GMT)
USD_read_mesh() const parameter.

Per Sybren in his review of the USD importer patch:
read_flag isn't being modified, so it should be const.
July 18, 2021, 19:04 (GMT)
USD import option description typo.

Fixed typo in Import USD Preview option description.
July 18, 2021, 18:43 (GMT)
USDImportParams designated initialization.

Now using designated initializers when constructing the import
params struct, to help future-proof the code if struct members
are changed or reordered. (Per suggestion by Campbell in his
review of the patch.)
July 12, 2021, 15:54 (GMT)
Merge branch 'master' of https://gitlab-master.nvidia.com/omniverse/blender into usd-importer-T81257-merge
July 12, 2021, 15:22 (GMT)
Pulled latest from master branch.
July 12, 2021, 00:20 (GMT)
USD importer: normals count bounds check.

Added bounds check for vertex varying normals, to
prevent crashes reading badly formed meshes, where
the number of normals doesn't match the number
of points. Also guarding against null mesh.
June 23, 2021, 21:39 (GMT)
USDStageReader minor cleanup.

Using 'if' instead of 'else if' for consistency.
June 23, 2021, 02:30 (GMT)
USD import: Update Prim Path Mask option help.
June 23, 2021, 00:46 (GMT)
USDStageReader refactor.

Now passing the import params and settings as arguments
to the constructor, to reduce the number of arguments
required to invoke USDStageReader::collect_readers().
The constructor now takes a stage pointer as an argument,
to simplify error checking and initalization of the
import settings. Miscellaneous additional cleanup to
simplify the code.
June 23, 2021, 00:11 (GMT)
USD Import: USDPrimReader comments.

Added comments regarding reference counting.
June 22, 2021, 23:20 (GMT)
USD import: fixed Mesh reader initialization.

USDMeshReader::is_initial_load_ should be initialized to false,
to prevent forcing updates to verts and polys on every mesh
sequence read.
June 22, 2021, 22:50 (GMT)
USD Import: add comments.
June 22, 2021, 15:09 (GMT)
Organize USD and Alembic conditional includes.

Grouped common USD and Alembic mesh sequence cache code includes.
June 22, 2021, 02:20 (GMT)
Update CacheFile comments.

Removed obsolete references to Alembic, as
the CacheFile code is now used for USD
archives as well.
June 22, 2021, 02:01 (GMT)
USDVolumeReader improvements.

Fixed Volume reference counting error (incorrect
call to id_us_min()). Fixed error reading fieldName
attribute, which was incorrectly being read as a string
rather than a token. Avoiding use of auto and unneeded
declararions. Logically grouping related code. Now
invoking attribute Get() functions with the given time.
June 21, 2021, 23:53 (GMT)
USD Import: remove variant selection mask.

Removed logic to process variant selection in
Prim Path Mask, as this code needs to be
extended to handle variants specified in child prims.
This functionality can be added back once it's
fully developed. Also, now printing warning message
if the Prim Path Mask doesn't specify a valid prim.
June 21, 2021, 18:48 (GMT)
Rename USDStageReader prune functions.

Renamed USDStageReader prune_by_visibility()
and prune_by_purpose() member functions to
include_by_visibility() and include_by_purpse(),
respectively, to reflect the current semantics.
I.e., both functions are now answering the question,
'should the prim be included in the traversal',
returning true to include and false to exclude.
June 21, 2021, 18:28 (GMT)
USDStageReader::prune_by_purpose() refactor.

Per suggestion by Sybren in his review, flipped the samanitcs
for prune_by_purpose() to return true=include and false=exclude.
Also simplified the conditional logic to reduce nesting.
June 21, 2021, 17:11 (GMT)
USDStageReader::prune_by_visibility() refactor.

Per suggestion by Sybren in his review, flipped the samanitcs
for prune_by_visibility() to return true=include and false=exclude.
Also simplified the conditional logic to reduce nesting.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021