LDraw.org Discussion Forums

Full Version: Strange (buggy?) behaviour in LDView BFC system
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi Travis,

I discovered today (after much tearing out of hair) that BFC red+green does not work when lighting is turned off[1]. Basically, the part is returned to its default colour if you switch off lighting, regardless of what is set in the BFC options.

It seems to me that these two options should not be related like that, and that BFC should work regardless. Not sure if this is a bug, or just a quirk, but it would probably be nice to see either a decoupling, or a warning.

Tim

[1] In 4.1 and 4.2b1
I have never thought about this.
My usual way to check BFC of a part is turning the light on :-)

/Max
Thanks for the heads-up.

It's definitely a bug, a side-effect of the implementation details of the red/green/blue BFC faces support in LDView. (Blue neutral faces aren't in the official 4.1 release, incidentally.) You're the first to report it, and I hadn't been aware of it. I'll investigate fixing it, but I think doing so will require a complete reimplementation of the feature, so I'm not sure if or when it will happen.
I understand Smile. It's certainly not worth spending too much time on since the program works perfectly well as is. Some text "(must have lighting on)" under the BFC section would be a perfectly sufficient fix IMO.

Tim
Good point. Perhaps I'll add the text, "Note: Colored faces require lighting to be on." inside the box, under the three colored face check boxes.
That would be good. Anything that saves someone else reinstalling two copies of LDView, deleting all registry entries and finally accidentally discovering that lighting has to be on is a good thing Wink

Tim