INNER CODE UNIT · Python

_print_unrecognized_textures

skarndev/umodel_tools · umodel_tools/asset_importer.py:77

    def _print_unrecognized_textures(self) -> None:
        """Print all unrecognized texture map names found. Useful for adding support for new games.
        """
        if utils.preferences.get_addon_preferences().verbose:
            print("Unrecognized texture types found:")
            print(self._unrecognized_texture_types)
            self._unrecognized_texture_types.clear()

    def _load_asset(self,
                    context: bpy.types.Context,
                    asset_dir: str,
                    asset_path: str,
                    umodel_export_dir: str,
                    game_profile: str,
                    load: bool = True,
                    db: t.Optional[asset_db.AssetDB] = None
                    ) -> bpy.types.Object | None:
        """Loads the asset from library dir, or adds it to library and loads it.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…