Solved variables for colordiffuse broken in Nexus 20.1? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12) +--- Thread: Solved variables for colordiffuse broken in Nexus 20.1? (/showthread.php?tid=372512) |
variables for colordiffuse broken in Nexus 20.1? - realcopacetic - 2023-03-14 Is anyone else seeing issues with the colordiffuse tag on their textures using a variable in Nexus 20.1? All of a sudden this doesn't work:
But this does:
Just wanted to check it's not just me before flagging it RE: variables for colordiffuse broken in Nexus 20.1? - roidy - 2023-03-14 Have you tried moving the colordiffuse out of the texture tag:-
RE: variables for colordiffuse broken in Nexus 20.1? - realcopacetic - 2023-03-14 Hi @roidy same difference for me. Works if it's a hardcoded value, but breaks if its a variable, even if the variable has no conditionals in it. Is it working for you in 20.1? I've seen this behaviour in Windows and Android versions RE: variables for colordiffuse broken in Nexus 20.1? - roidy - 2023-03-14 @realcopacetic Just tested 20.1 under Windows and both:- Code: <colordiffuse>$VAR[mycolor]</colordiffuse> Code: <texture colordiffuse="$VAR[mycolor]">texture.png</texture> Work fine. Tested using:- Build 20.1 (20.1.0) Git 20230312-289ec664e3 Compiled 2023-03-12 RE: variables for colordiffuse broken in Nexus 20.1? - realcopacetic - 2023-03-15 Thanks so sorry for wasting your time @roidy - I somehow managed to introduce a typo into an XML I wasn't actively editing just at the time I updated to 20.1. Apologies! RE: variables for colordiffuse broken in Nexus 20.1? - roidy - 2023-03-15 @realcopacetic No worries, typos always get me too Glad you fixed it. |