http://www.miikahweb.com/feed.php MiikaHweb - Blender Temp-T80320-usd-hack-removal Branch http://www.miikahweb.com/ MiikaHweb - Blender Temp-T80320-usd-hack-removal Branch fi Wed, 27 Jan 21 20:09:16 +0000 MiikaHweb RSS contact at miikahweb.com <![CDATA[[17a3ce7]: USD: move library initialisation from `main()` to USD module]]> http://www.miikahweb.com/en/blender/git-logs/commit/17a3ce7a1e7d21c5a583c3a34fe8b7321b1f927e 17a3ce7
Branches : temp-T80320-usd-hack-removal
Author : Sybren A. Stüvel (sybren)
----------------------------------------
USD: move library initialisation from `main()` to USD module

Initialize the USD library when used (instead of at startup), so that
this can happen inside the IO/USD module. This makes calls to the USD
library local to Blender's USD code.

Note that failure to find the USD JSON files will now only be reported
when the USD exporter is used, and not on every startup of Blender.

This is the first step in cleaning up the way Blender patches and
initialises the USD library.

Manifest Task: https://developer.blender.org/T80320

----------------------------------------
2 Paths Changed]]>
Tue, 01 Sep 2020 12:50:31 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/17a3ce7a1e7d21c5a583c3a34fe8b7321b1f927eSybren A. Stüvel
<![CDATA[[ba15792]: USD: remove library initialisation hack]]> http://www.miikahweb.com/en/blender/git-logs/commit/ba157924eb19234a09a5207d5ae8dacf18c62525 ba15792
Branches : temp-T80320-usd-hack-removal
Author : Sybren A. Stüvel (sybren)
----------------------------------------
USD: remove library initialisation hack

Remove the hack for library initialisation; this is no longer necessary
as the required information can be passed to the USD library after its
static initialisers have run.

This means that USD's static initialisers will not be able to find the
USD plugin files. This is fine, as Blender now provides it with the
correct path before the first use of the library.

The removed hack was two-fold. It consisted of patching the USD library
to add a function, and calling that function from Blender. Now with that
function call removed from Blender's code, everything will keep working
regardless of whether the USD library is still patched or not. This'll
make bisecting things in the future a bit easier.

Manifest Task: https://developer.blender.org/T80320

----------------------------------------
3 Paths Changed]]>
Tue, 01 Sep 2020 12:50:31 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/ba157924eb19234a09a5207d5ae8dacf18c62525Sybren A. Stüvel