snegovick / bcad

B-tier OpenSCAD-like 3D CAD software
Other
3 stars 0 forks source link

Color inheritance works incorrectly in difference #27

Closed snegovick closed 4 years ago

snegovick commented 4 years ago

Describe the bug Colors are not inherited properly

To Reproduce Steps to reproduce the behavior: run the following code difference() { color("white") cube([10,10,10]); color("black") cube([5,5,5]); }

Expected behavior The code above should produce white cube with subtracted smaller cube.

Screenshots Default color is used instead of expected: Screenshot from 2020-03-08 17-43-29

Environment (please complete the following information):

Additional context None