-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove link to addon directory at exit of blender - take 2 #2 #183
Closed
Mateusz-Grzelinski
wants to merge
49
commits into
JacquesLucke:master
from
Mateusz-Grzelinski:master
Closed
Remove link to addon directory at exit of blender - take 2 #2 #183
Mateusz-Grzelinski
wants to merge
49
commits into
JacquesLucke:master
from
Mateusz-Grzelinski:master
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Capitalize global variables - Add type hints
fixes policy violation
Fresh installation of blender is not going to have directory created.
…o-cherry-pick # Conflicts: # pythonFiles/include/blender_vscode/__init__.py # pythonFiles/include/blender_vscode/load_addons.py
- you are developing extension in addons directory - extension has legacy bl_info defined - do not create a link
- prevent from various errors from old links - during blender version upgrade links are copied what breaks them and required manual fix
This reverts commit c6ab0fc
* cleanup old links in limited way * search for duplicate links already present on file system
Small changes to types
# Conflicts: # CHANGELOG.md # pythonFiles/include/blender_vscode/__init__.py # pythonFiles/include/blender_vscode/installation.py
It is not critical functionality, it is ok to ignore errors
wrong base branch, sory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Work and design still in progress.
This PR fixes issues that pop up in ugly corner cases in various places:
Design 1 - link only when debugging - implemented in this PR
Design 2 - modify addon directory
BLENDER_USER_SCRIPTS
and dirBLENDER_SYSTEM_EXTENSIONS
In this PR implemented:
blender.addon.keepAddonInstalled
Because of many changes, this PR waits for #172 to complete.
Relevant: #49