In Git you can add a submodule to a repository. This is basically a sub-repository embedded in your main repository. This can be very useful. A couple of usecases of submodules:
- Separate big codebases into multiple repositories.
| import os | |
| import bpy | |
| import sys | |
| import typing | |
| import inspect | |
| import pkgutil | |
| import importlib | |
| from pathlib import Path | |
| __all__ = ( |
| import bpy | |
| def cb_scene_update(context): | |
| """ | |
| """ | |
| edit_obj = bpy.context.edit_object | |
| if edit_obj is not None and edit_obj.is_updated_data is True: | |
| print(edit_obj) |