[2.0.8] rendering.draw_line returned LuaRenderObject lacks property 'dash_offset'

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Riven8192
Manual Inserter
Manual Inserter
Posts: 4
Joined: Fri Mar 15, 2024 9:37 pm
Contact:

[2.0.8] rendering.draw_line returned LuaRenderObject lacks property 'dash_offset'

Post by Riven8192 »

Minor missing feature:


The property 'dash_offset' can be passed to the draw-line call:
https://lua-api.factorio.com/2.0.8/clas ... #draw_line

The property 'dash_offset' is missing in the resulting LuaRenderObject:
https://lua-api.factorio.com/2.0.8/clas ... bject.html


Manipulating the dash_offset is (presumably) cheaper than destroying the existing line and creating a new one in its place.
Post Reply

Return to “Modding interface requests”