Blender Git Commits

Blender Git commits from all branches.

Page: 1025 / 2888

Revision dffc56a by Sybren A. Stüvel (temp-sybren-usd-patch-03)
December 13, 2019, 04:52 (GMT)
USD: use LISTBASE_FOREACH

No functional changes.
Revision 742f77a by Sybren A. Stüvel (temp-sybren-usd-patch-03)
December 13, 2019, 04:52 (GMT)
USD: renamed 'xform' to 'transform'

Sergey and I don't agree on 'tfm' vs. 'xform', so I just chose to not to
use either and avoid abbreviating altogether.
Revision bbc2757 by Sybren A. Stüvel (temp-sybren-usd-patch-03)
December 13, 2019, 04:52 (GMT)
USD: moved all code into C++ namespace 'USD'
Revision 171cc19 by Sybren A. Stüvel (temp-sybren-usd-patch-03)
December 13, 2019, 04:52 (GMT)
USD: clarified comment about defining _GLIBCXX_PERMIT_BACKWARD_HASH
Revision c2a3632 by Sybren A. Stüvel (temp-sybren-usd-patch-03)
December 13, 2019, 04:52 (GMT)
USD: Fix exporting of meshes of dupli-objects

The dupliobject's `base_flag` variable needed to be copied from its
duplicator.
Revision a0a6583 by Sybren A. Stüvel (temp-sybren-usd-patch-03)
December 13, 2019, 04:52 (GMT)
Cleanup: USD: clarified a comment
Revision 03bc87e by Sybren A. Stüvel (temp-sybren-usd-patch-03)
December 13, 2019, 04:52 (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.
Revision 6816267 by Sybren A. Stüvel (temp-sybren-usd-patch-03)
December 13, 2019, 04:52 (GMT)
USD: properly mark unused variable
Revision 88abc32 by Sybren A. Stüvel (temp-sybren-usd-patch-03)
December 13, 2019, 04:52 (GMT)
USD: Store BKE_main_blendfile_path(bmain) in a variable
December 13, 2019, 04:30 (GMT)
USD: no more fatal message in FindUSD.cmake

Instead of breaking the build, it properly sets `USD_FOUND` to `FALSE`.
December 13, 2019, 04:30 (GMT)
USD: added note about upstream pull request for PXR_BUILD_USD_TOOLS
December 13, 2019, 04:30 (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 13, 2019, 04:30 (GMT)
USD: install libusd_m.a from usd.cmake instead of from harvesting step
December 13, 2019, 04:30 (GMT)
USD: remove `PXR_PLUGINPATH_NAME` when testing
December 13, 2019, 04:30 (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 13, 2019, 04:30 (GMT)
USD: Fixed export of animated meshes

I missed a bit earlier, when creating the mesh attributes with an explicit
default, causing meshes to be non-animated. Now I use the 'sparse value
writer', as recommended on the USD forum [1], and animated meshes are
properly written once again.

[1] https://groups.google.com/d/msg/usd-interest/cVJv_eDYxZo/oREDDm11AgAJ
December 13, 2019, 04:30 (GMT)
USD: Support '.usd' as export extension (thanks @superfunc) and proper filtering in the file browser
December 13, 2019, 04:30 (GMT)
USD: Allow running unit tests without 'make install' step

When the PXR_PLUGINPATH_NAME environment variable is defined, the USD
library uses it to find its JSON files. This allows the unit tests to
run without having to 'make install' Blender.
December 13, 2019, 04:30 (GMT)
USD: Fixed include path for unit tests, now TBB headers can be found
December 13, 2019, 04:30 (GMT)
USD: fixed paths in usd.diff

I made the previous diff with `git diff` in the USD source, which produced
paths incompatible with the patch command we use to apply it.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021