its a bit broken
This commit is contained in:
@@ -76,6 +76,7 @@ if animation_start is not None and animation_end is not None:
|
||||
render = scene.render
|
||||
resolution_x = render.resolution_x
|
||||
resolution_y = render.resolution_y
|
||||
frame_rate = render.fps / render.fps_base if render.fps_base != 0 else render.fps
|
||||
engine = scene.render.engine.upper()
|
||||
|
||||
# Determine output format from file format
|
||||
@@ -155,6 +156,7 @@ metadata = {
|
||||
"render_settings": {
|
||||
"resolution_x": resolution_x,
|
||||
"resolution_y": resolution_y,
|
||||
"frame_rate": frame_rate,
|
||||
"output_format": output_format,
|
||||
"engine": engine.lower(),
|
||||
"engine_settings": engine_settings
|
||||
|
||||
@@ -249,6 +249,7 @@ type MissingFilesInfo struct {
|
||||
type RenderSettings struct {
|
||||
ResolutionX int `json:"resolution_x"`
|
||||
ResolutionY int `json:"resolution_y"`
|
||||
FrameRate float64 `json:"frame_rate"`
|
||||
Samples int `json:"samples,omitempty"` // Deprecated, use EngineSettings
|
||||
OutputFormat string `json:"output_format"`
|
||||
Engine string `json:"engine"`
|
||||
|
||||
Reference in New Issue
Block a user