clipka <ano### [at] anonymousorg> wrote:
> Am 30.10.2016 um 11:16 schrieb LanuHum:
>
> My personal recommendation would be to add another keyword, e.g.
> "blender_object", write completely separate code to parse that, and use
> a string rather than an identifier to specify the Blender-internal name:
>
> #declare Foo = blender_object { "foo" }
>
> The code would be something like:
>
> char *s;
> ...
> CASE(BLENDER_OBJECT_TOKEN)
> Parse_Begin();
> s = Parse_C_String();
> Object = addBlenderObject(std::string(s));
> POV_FREE(s);
> Parse_End();
> END_CASE
>
>
Thanks!
Post a reply to this message
|