INNER CODE UNIT · Python

_warn_print

skarndev/umodel_tools · umodel_tools/asset_importer.py:70

    def _warn_print(self, *args: t.Any) -> None:
        """Print a message and mark that an operation had warnings.
        :param args: Arguments to internal print() call.
        """
        self._has_warnings = True
        print(*args)

    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,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…