Page MenuHome

Visual Studio Solution: Add user scripts from BLENDER_USER_SCRIPTS folder, if defined, otherwise default to user profile folder as before
ClosedPublic

Authored by Eric Cosky (eric_cosky) on Oct 13 2020, 4:02 AM.

Details

Summary

Without this diff, Blender will disregard the BLENDER_USER_SCRIPTS folder when preparing the Visual Studio solution. Normally, the Blender application will load scripts from the BLENDER_USER_SCRIPTS folder if it is defined, and this patch will make the Visual Studio project reference the same scripts that Blender would normally discover if this environment variable is defined. If BLENDER_USER_SCRIPTS is not defined, it will continue to behave as it did before and reference scripts in the user profile folder for the version of Blender being configured for building with Visual Studio.

Diff Detail

Repository
rB Blender

Event Timeline

Eric Cosky (eric_cosky) requested review of this revision.Oct 13 2020, 4:02 AM
Eric Cosky (eric_cosky) created this revision.
This revision was not accepted when it landed; it landed in state Needs Review.Oct 13 2020, 4:45 PM
This revision was automatically updated to reflect the committed changes.