Menu

#7 special color 16 not always replaced

Dev Version
open
nobody
None
5
2015-03-13
2015-03-13
No

Situtation: a MPD that uses a submodel with several bricks, some of them use the special color 16. In its usage, a color is given to the submodel. This color is correctly applied only to the first "16-colored" bricks of the submodel, the next bricks get the last used color.

Very simple example:

0 FILE MAIN.LDR
1 1 0 0 0 1 0 0 0 1 0 0 0 1 SUB.LDR
0 NOFILE
0 FILE SUB.LDR
1 16 0 0 0 1 0 0 0 1 0 0 0 1 3001.DAT
1 16 0 -24 0 1 0 0 0 1 0 0 0 1 3001.DAT
1 4 0 -48 0 1 0 0 0 1 0 0 0 1 3001.DAT
1 16 0 -72 0 1 0 0 0 1 0 0 0 1 3001.DAT
0 NOFILE

That should show: 4 2x4 bricks, 2 blue, 1 red, 1 blue. (MLCad and LeoCad agree.)
LDView shows: 2 blue, 2 red.
(You can add other bricks below, the "16-colored" ones always get the color of the last "not-16" color.)

Discussion


Log in to post a comment.