-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #115 from Nusiq/blender-4.2-update
Update to support Blender 4.2
- Loading branch information
Showing
595 changed files
with
639,784 additions
and
526,831 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"folders": [ | ||
{ | ||
"path": "." | ||
}, | ||
{ | ||
"path": "mcblend" | ||
}, | ||
{ | ||
"path": "fake_bpy_modules" | ||
} | ||
], | ||
"extensions": { | ||
"recommendations": [ | ||
"JacquesLucke.blender-development", | ||
"ms-python.python", | ||
"ms-python.vscode-pylance" | ||
] | ||
}, | ||
"settings": { | ||
// PyLance Configuration | ||
"python.analysis.typeCheckingMode": "basic" | ||
} | ||
} |
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
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
import typing | ||
import collections.abc | ||
|
||
GenericType1 = typing.TypeVar("GenericType1") | ||
GenericType2 = typing.TypeVar("GenericType2") | ||
|
||
class _ext_global: | ||
idmap_pair: typing.Any | ||
module_handle: typing.Any | ||
|
||
def check(module_name: str): | ||
"""Returns the loaded state of the addon. | ||
:param module_name: The name of the addon and module. | ||
:type module_name: str | ||
:return: (loaded_default, loaded_state) | ||
""" | ||
|
||
... | ||
|
||
def check_extension(module_name): | ||
"""Return true if the module is an extension.""" | ||
|
||
... | ||
|
||
def disable( | ||
module_name: str, default_set: bool = False, handle_error: typing.Any = None | ||
): | ||
"""Disables an addon by name. | ||
:param module_name: The name of the addon and module. | ||
:type module_name: str | ||
:param default_set: Set the user-preference. | ||
:type default_set: bool | ||
:param handle_error: Called in the case of an error, taking an exception argument. | ||
:type handle_error: typing.Any | ||
""" | ||
|
||
... | ||
|
||
def disable_all(): ... | ||
def enable( | ||
module_name: str, | ||
default_set: bool = False, | ||
persistent: bool = False, | ||
handle_error: typing.Any = None, | ||
): | ||
"""Enables an addon by name. | ||
:param module_name: the name of the addon and module. | ||
:type module_name: str | ||
:param default_set: Set the user-preference. | ||
:type default_set: bool | ||
:param persistent: Ensure the addon is enabled for the entire session (after loading new files). | ||
:type persistent: bool | ||
:param handle_error: Called in the case of an error, taking an exception argument. | ||
:type handle_error: typing.Any | ||
:return: the loaded module or None on failure. | ||
""" | ||
|
||
... | ||
|
||
def module_bl_info(mod, info_basis=None): ... | ||
def modules(module_cache={"add_camera_rigs": None}, refresh=True): ... | ||
def modules_refresh(module_cache={"add_camera_rigs": None}): ... | ||
def paths(): ... | ||
def reset_all(reload_scripts=False): | ||
"""Sets the addon state based on the user preferences.""" | ||
|
||
... |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import typing | ||
import collections.abc | ||
|
||
GenericType1 = typing.TypeVar("GenericType1") | ||
GenericType2 = typing.TypeVar("GenericType2") | ||
|
||
class DataPathBuilder: | ||
"""Dummy class used to parse fcurve and driver data paths.""" | ||
|
||
data_path: typing.Any | ||
|
||
def resolve(self, real_base, rna_update_from_map, fcurve, log): | ||
"""Return (attribute, value) pairs. | ||
:param real_base: | ||
:param rna_update_from_map: | ||
:param fcurve: | ||
:param log: | ||
""" | ||
... | ||
|
||
def anim_data_actions(anim_data): ... | ||
def classes_recursive(base_type, clss=None): ... | ||
def find_path_new(id_data, data_path, rna_update_from_map, fcurve, log): ... | ||
def id_iter(): ... | ||
def update_data_paths(rna_update, log=None): ... |
Oops, something went wrong.