diff options
author | Thomas White <taw@physics.org> | 2022-11-01 06:51:13 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2022-11-12 11:37:03 +0100 |
commit | f99311300912814ccaf4fdd6b3c753d1206e024c (patch) | |
tree | 0b620deabb867e0078809e8def92be03771b325c | |
parent | 155c3f5c38a6ac518dde09a8da6b199ec107f810 (diff) |
Fixture display: Make sure that attributes are initialised
-rw-r--r-- | src/starlet-fixture-display.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/starlet-fixture-display.c b/src/starlet-fixture-display.c index 498b704..698ab64 100644 --- a/src/starlet-fixture-display.c +++ b/src/starlet-fixture-display.c @@ -549,6 +549,10 @@ static void handle_patched_fixtures(struct fixture_display *fixd, fixd->fixtures[i].min_y = 0.0; fixd->fixtures[i].max_x = 0.0; fixd->fixtures[i].max_y = 0.0; + fixd->fixtures[i].intensity = 0.0; + fixd->fixtures[i].rgb[0] = 0.0; + fixd->fixtures[i].rgb[1] = 0.0; + fixd->fixtures[i].rgb[2] = 0.0; } } |