Stage 9c: Recorder for renders; no settings override; spritesheet follows selection
- Recorder (imgui/window/recorder.*) owns a render: frame times, captured frames on disk, per-frame trigger sounds, and assembling PNGs, spritesheets (Image::paste) or ffmpeg output. Start, finish, cancel and failure share one stop path. - Isolated and bounded renders no longer overwrite and restore Settings, pan, zoom and overlay: the preview draws with view values derived for the render. - Image::region_get replaces the region export's own pixel copy. - Selecting layer frames focuses their spritesheet (Document::frame_references_set) instead of the spritesheet editor forcing it every frame. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
39ccfb723a
commit
4d16f21541
9 files changed
+402
-506
No files matched your search
@@ -33,6 +33,8 @@ namespace anm2ed::resource
|
||||
bool write_png(const std::filesystem::path&) const;
|
||||
static bool write_pixels_png(const std::filesystem::path&, glm::ivec2, const uint8_t*);
|
||||
static Image merge_append(const Image&, const Image&, bool);
|
||||
void paste(const Image&, glm::ivec2);
|
||||
Image region_get(glm::ivec2, glm::ivec2) const;
|
||||
glm::vec4 pixel_read(glm::vec2) const;
|
||||
void pixel_set(glm::ivec2, glm::vec4);
|
||||
void pixel_line(glm::ivec2, glm::ivec2, glm::vec4);
|
||||
|
||||
Reference in new issue
Block a user