blender/source/creator
Brecht Van Lommel f7797a90f6 Core: Make BLENDER_SYSTEM_SCRIPTS always add paths
Originally this would replace scripts that come bundled with Blender,
but it's unclear how this is useful.

Searching for this online mainly leads to people asking how they can
use it to add scripts. For example in a studio environment you might
want to deploy add-ons and startup scripts for all users.

Even if you wanted to use it for replacement though, it wasn't really
doing that and inconsistent for different types of scripts:

* startup: ignored
* modules: replaces bundled scripts
* presets: adds to bundled scripts
* addons (in 4.1): ignored
* addons_core (in 4.2): ignored
* startup/bl_app_templates_system: replaces bundled scripts

This change makes it add scripts from this path for all. This is a
breaking change, though arguably this feature was just broken to
begin with and not used much in practice because of that.

The alternative would be add a new set of environment variables to
avoid breaking existing behavior. But that also means keeping around the
broken behavior or fixing it in another way.

Supporting multiple paths may be used too, but for now just support
a single one as doing this for all BLENDER_SYSTEM variables is
non-trivial. The main use case for that would be add-ons anyway, and
those will mainly be handled through upcoming
BLENDER_SYSTEM_EXTENSIONS instead.

Ref #122512

Pull Request: https://projects.blender.org/blender/blender/pulls/122689
2024-06-06 15:28:44 +02:00
..
blender_launcher_win32.c Cleanup: use full sentences for code-comments 2024-03-19 13:57:00 +11:00
buildinfo.c Fix build error in fcacebbfb1b01e4cd30237458294906779715c29 2023-07-26 15:52:54 +10:00
CMakeLists.txt Extensions: Support online extensions and move add-ons outside Blender 2024-05-15 19:26:29 +02:00
creator_args.cc Core: Make BLENDER_SYSTEM_SCRIPTS always add paths 2024-06-06 15:28:44 +02:00
creator_intern.h Fix crash using "--command" on Windows 2024-04-10 11:52:54 +10:00
creator_signals.cc Cleanup: spelling in comments 2024-03-21 10:02:53 +11:00
creator.cc GPU: Add GPU_shader_batch_create_from_infos 2024-06-05 18:45:57 +02:00
symbols_apple.map Build: changes to macOS build flags to fix linker warnings 2024-01-02 16:22:48 +01:00
symbols_unix.map Build: changes needed to build on FreeBSD 2023-03-22 14:15:46 +01:00