Blender Git Commits

Blender Git "temp-sybren-usd-patch-02" branch commits.

December 12, 2019, 11:35 (GMT)
USD: mark the exporter as Experimental feature

This will allow us to merge the USD exporter into master before it's
completely finished.
December 11, 2019, 16:22 (GMT)
USD: Report progress on a frame basis and with less guesswork
December 11, 2019, 16:14 (GMT)
USD: set Linux-specific #define only on Linux
December 11, 2019, 15:34 (GMT)
USD: Fix exporting of meshes of dupli-objects

The dupliobject's `base_flag` variable needed to be copied from its
duplicator.
December 11, 2019, 15:34 (GMT)
Cleanup: USD: clarified a comment
December 11, 2019, 15:34 (GMT)
USD: patch USD to allow Blender to construct a path to JSON files

USD requires some JSON files, and it uses a static constructor to
determine the possible filesystem paths to find those files. This made
it impossible for Blender to pass a path to the USD library at runtime,
as the constructor would run before Blender's main() function. We have
patched USD (see usd.diff) to avoid that particular static constructor,
and have an initialisation function instead.
December 11, 2019, 15:34 (GMT)
USD: private indicators

No functional changes.
December 11, 2019, 15:34 (GMT)
USD: remove `PXR_PLUGINPATH_NAME` when testing
December 11, 2019, 15:34 (GMT)
USD: pass data from invoke() to execute() in a struct

This makes the code somewhat more complex, but more explicit and
future-proof as well.
December 11, 2019, 15:34 (GMT)
USD: moved all code into C++ namespace 'USD'
December 11, 2019, 15:34 (GMT)
USD: removed the #include "BLI_iterator.h" from DEG_depsgraph_query.h

This change has been committed to master.
December 11, 2019, 15:34 (GMT)
USD: properly mark unused variable
December 11, 2019, 15:34 (GMT)
USD: added note about upstream pull request for PXR_BUILD_USD_TOOLS
December 11, 2019, 15:34 (GMT)
Depsgraph: add missing #include to DEG_depsgraph_query.h

The `DEG_depsgraph_query.h` file uses the `ITER_BEGIN` and `ITER_END`
macros defined in `BLI_iterator.h` without including that header.

No functional changes.
December 11, 2019, 15:34 (GMT)
USD: Store BKE_main_blendfile_path(bmain) in a variable
December 11, 2019, 15:34 (GMT)
USD: no more fatal message in FindUSD.cmake

Instead of breaking the build, it properly sets `USD_FOUND` to `FALSE`.
December 11, 2019, 15:34 (GMT)
USD: Avoid potential conflict with 2nd USD library

We now build the USD library with
`-DPXR_SET_INTERNAL_NAMESPACE=usdBlender`, which replaces the default
namespace `pxrInternal_v_x_y` with `usdBlender`. This is a preventative
measure that avoids possible conflicts when add-ons try to load another
USD library into the same process space.
December 11, 2019, 15:34 (GMT)
USD: use LISTBASE_FOREACH

No functional changes.
December 11, 2019, 15:34 (GMT)
USD: install libusd_m.a from usd.cmake instead of from harvesting step
December 11, 2019, 15:34 (GMT)
USD: clarified comment about defining _GLIBCXX_PERMIT_BACKWARD_HASH
By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2021