|
Sweet Home 3D Forum » List all forums » » Forum: New versions » » » Thread: Furniture Library Editor released » » » » Post: Furniture Library Editor Bug |
Print at Dec 18, 2025, 10:32:46 PM |
| Posted by Keet at Jul 13, 2024, 5:11:56 PM |
|
Furniture Library Editor Bug Emmanuel, in another thread concerning lightsources you stated this: You can already have more than one material listed in the lightSourceMaterialName# property. Just separe them with one or more spaces. Unfortunately there's a bug in the Library Editor (v2.0) that prevents this from working correctly.I add two lightsource material names: "UpLight DownLight" (without the quotes). I save and import the library but when I render a photo only the last light shows. (When I switch the order of the lights the other one is the only one that shows.) I go back to the library and when I modify the object with two light sources I see that the Library Editor has added a comma between the two light sources. Even worse, when I save again without changing anything another comma is added after the first. With every save another comma is added. I assume that adding the comma is not supposed to happen and that is the cause of only accepting the last light source. ETA: In the Home.xml file both lightsources are correctly listed: <light id='light-15930b30-3aba-40fe-b5be-b7d20db73264' level='level-a8f78c57-ad8a-4eab-8e30-6df9906d7ae5' name='Elevator Call buttons' creator='Keet' model='218/CallButtonPanel.obj' icon='217' x='-1984.5288' y='1783.7722' width='6.0' depth='0.5' height='11.0' modelSize='4201' description='<b>(Dodecagon Glass Elevator)</b>' license='CC0 1.0 Universal' power='0.5'>ETA 2: When I manually remove the comma in the library properties file both lights work. It is definitely just the Library Editor that writes a comma where it shouldn't. And keeps writing it with every save. ETA3: Further investigation shows that saving the library adds the comma to all objects with multiple lightsources listed. This means it's not when you save the object with multiple lightsources but when you save the library itself. ---------------------------------------- Dodecagon.nl 1300+ 3D models, manuals, and projects |
|
|
Current timezone is GMT Dec 18, 2025, 10:32:46 PM |