Skip to content

Conversation

@rayvy
Copy link

@rayvy rayvy commented Aug 26, 2025

Exporting any scene data for allowing work it with any custom data from another addon or native blender scene props. Example: {{ mod_file.scene_data.xxmi.batch_pattern}} allowing to get data from xxmi tools batch_pattern name, or any another custom scene data property.

Exporting any scene data for allowing work it with any custom data from another addon or native blender scene props. Example: {{ mod_file.scene_data.xxmi.batch_pattern}} allowing to get data from xxmi tools batch_pattern name, or any another custom scene data property.
@SinsOfSeven
Copy link
Contributor

Looks pretty good.

@leotorrez
Copy link
Owner

        ini_file: INI_file = INI_file(
            env.get_template(template_name).render(
                version=bl_info["version"],
                mod_file=self.mod_file,
                credit=self.credit,
                game=self.game,
                character_name=self.mod_name,
                scene=bpy.context.scene,
            )
        )

With this simple modification(adding scene line) it seems to achieve the same functionality. Please test on your side to confirm it works on all your use cases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants