Skip to content

Bug fix - frames from animations now saved as distinct files#18

Open
Jkew01 wants to merge 1 commit intoISCDtoolbox:masterfrom
Jkew01:master
Open

Bug fix - frames from animations now saved as distinct files#18
Jkew01 wants to merge 1 commit intoISCDtoolbox:masterfrom
Jkew01:master

Conversation

@Jkew01
Copy link

@Jkew01 Jkew01 commented Nov 27, 2025

Medit was saving the .ppm frames produced by animating a sequence of meshes to one file: ".ppm". This version has fixed this so a series of .ppm files are produced (e.g. heat.1.ppm, heat.2.ppm, etc)

This was due to a line in menus.c overwriting a variable "data" with the file extension ".ppm" instead of concatenating it. The change was to instead use strcat() to append the file extension, preserving the "." format.

Correctly concatenates frame name with file extension so that the program outputs each frame to distinct files. Using strcat() instead of sprintf()
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.

1 participant