[1.1.87] function "make_4way_animation_from_spritesheet" are missing draw_as_light

This subforum contains all the issues which we already resolved.
meifray
Long Handed Inserter
Long Handed Inserter
Posts: 61
Joined: Sat May 29, 2021 6:12 pm
Contact:

[1.1.87] function "make_4way_animation_from_spritesheet" are missing draw_as_light

Post by meifray »

1.What I have done?

I heated the heat exchanger in the night,and remove connected heat pipe
heatex_bug.png
heatex_bug.png (679.18 KiB) Viewed 1448 times
2.What happened?
heat exchanger have some weird brightness segmentation.
and I print out its heat_pipe_covers,found "draw_as_light" which apply_heat_pipe_glow added is missing.

3.What did you expect to happen instead?
heatex_nbug.png
heatex_nbug.png (294.09 KiB) Viewed 1448 times
4.Does it happen always, once, or sometimes?
Yes.

5.If you can reproduce the issue provide the exact steps!
in data/base/prototype/entity/entities: line 431:function make_4way_animation_from_spritesheet(animation)
the local function make_animation_layer(idx, anim)
only copy some of property of input like filename,and the return table do missing the draw_as_light ,so it is gonna be ignored.
raspberrypuppies
Inserter
Inserter
Posts: 45
Joined: Tue Mar 26, 2019 4:43 am
Contact:

Re: [1.1.87] function "make_4way_animation_from_spritesheet" are missing draw_as_light

Post by raspberrypuppies »

+1 I spent over an hour trying to figure this out in a mod I'm making
Rseding91
Factorio Staff
Factorio Staff
Posts: 14249
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.1.87] function "make_4way_animation_from_spritesheet" are missing draw_as_light

Post by Rseding91 »

Thanks for the report. This is now fixed for the next 1.1 release.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”