We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 766082a commit 3ef02b1Copy full SHA for 3ef02b1
3ds Max/Max2Babylon/Exporter/BabylonExporter.cs
@@ -550,7 +550,7 @@ public void Export(MaxExportParameters exportParameters)
550
// Default light
551
if (exportParameters.exportAnimationsOnly == false)
552
{
553
- if (!exportParameters.pbrNoLight && babylonScene.LightsList.Count == 0)
+ if (!exportParameters.pbrNoLight && babylonScene.LightsList.Count == 0 && rawScene.GetBoolProperty("babylonjs_addDefaultLight"))
554
555
RaiseWarning("No light defined", 1);
556
RaiseWarning("A default hemispheric light was added for your convenience", 1);
0 commit comments