Age | Commit message (Collapse) | Author |
|
Fixed typo in copyright block comments.
|
|
Explicitly acknowledged adaptation from the Alembic
importer implementation and copyright by Kevin Dietrich.
|
|
The placeholder code for the unimplemented functionality
of importing bezier curves was causing a crash. It has
been removed until support for beziers can be properly
added.
|
|
|
|
|
|
Now converting USD distant light angle from degrees
to radians.
|
|
Added checks to validate light attributes
and values, to help avoid errors when reading
light settings which might not have been
authored.
|
|
Fixed mesh reader logic detecting topology changes in mesh
sequence animations, which avoids a crash in some cases.
|
|
Now graying out, instead of hiding, disabled options.
|
|
Fixed alignment of the Experimental column header
to be consistent with the other options headers.
|
|
Removed check for .usdz extension in logic to
determine cachfile type.
|
|
|
|
Changed return parameter types from references to
pointers, to improve code readability, per suggestion
from Sybren.
|
|
Moved the opacity threshold query logic out of the
needs_blend() function to a new get_opacity_threshold()
function, for readability.
|
|
Updated to C-style comments. Minor cleanup of
comments text.
|
|
Added NVIDIA copyright notice.
|
|
|
|
Now using C-style comments throughout. Also,
putting unused code in #if 0 blocks. Removed
unneeded comments and other miscellaneous fixes.
|
|
Fixed bug where UV custom data was being created
even if reading mesh UVs is disabled.
|
|
Replaced the mesh_read_flag enum property with
read_mesh_uvs and read_mesh_colors toggles, as
the enum property has turned out to be confusing
to users.
|
|
Renamed the global_read_flag import option and
parameter to mesh_read_flag.
|
|
Now using streamlined options properties layout,
implemented by Hans Goudey. Also, added name and
a more concise description to the prim_path_mask
property.
|
|
|
|
|
|
Simplified the mesh read options naming and
descriptions to remove references to the mesh
sequence modifiers, as such references may be
confusing. The enum labels should now make it
more obvious which options are for animated
data, so mentioning the modifiers is unnecessary.
|
|
Updated the rna_enum_usd_import_read_flags
property enums with more descriptive names.
|
|
Removed unneeded Import prefix from option names.
|
|
Simplified handling of left and right handed
orientations when converting polygons.
|
|
|
|
Removed unused includes and reordered includes.
|
|
|
|
Updated comment and replaced commented out code with
#if 0 block.
|
|
Removed unneeded num_subcurves variable. Added
braces to if statement.
|
|
|
|
|
|
Removed unneeded extern C directive around includes,
per suggestion from Hans Goudey in his review of
the USD importer patch.
|
|
Miscellaneous updates to USD import option
descriptions and names.
|
|
Updated the Global Mesh Read Data Flag option
description to be more complete.
|
|
|
|
Updated the description with a more complete explanation of
the Prim Path Mask feature.
|
|
Added comment for unused Object parameter in get_usd_reader().
|
|
Per Sybren in his review of the USD importer patch:
read_flag isn't being modified, so it should be const.
|
|
Fixed typo in Import USD Preview option description.
|
|
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.)
|
|
into usd-importer-T81257-merge
|
|
In this bug report it resulted in rendering animations stopping too early,
but this affected more areas.
After the previous cleanup commit, it becomes clear that frame and ctime
values were mixed up.
|
|
Confusingly, BKE_scene_frame_get did not match the frame number as expected by
BKE_scene_frame_set. Instead it return the value after time remapping, which
is commonly named "ctime".
* Rename BKE_scene_frame_get to BKE_scene_ctime_get
* Add a new BKE_scene_frame_get that matches BKE_scene_frame_set
* Use int/float depending if fractional frame is expected
|
|
|
|
Sorry, missed this in 53cf8e83b37d.
|
|
Under some circumstances (e.g. when rendering) the geometry
nodes logger is not used. This was missing a simple null check.
|