ditrit/OGrEE-CLI

LabelFont command for color not recognised

Closed this issue · 2 comments

The syntax is [name]:labelFont=color@[color] with [color] an hexadecimal code
For example, this should work:

cedrok@OGrEE3D:/Physical$> CED.BETA.A.R1.B09:labelFont=color@123456
OGREE: Unrecognised command!

interpreter/lexer.nex

/[0-9a-fA-F]/ { printToks("TOK_HEX");
/[0-9a-fA-F]{6}/ { printToks("TOK_HEXCOLOR"};

Added a fix for this d1da2ae on 'hex' branch