Hi,

Skriptkid has left the following comment at Add a command-line option that sets an object color temporarily http://www.google-melange.com/gci/task/view/google/gci2012/8126202:


mater


I understand the code, but it's just that I'm not able to completely understand where things are being processed and what certain BRL-CAD functions are doing.

bu_getopt is called only in get_args, which is called in main.c. So the processing of flags is happening in opt.c

I took a look at mater.c, which processes the mater command and saw how it sets the colour of the object. I could get a fair idea about the logic and what the functions are doing and I added a new function to opt.c, which is called by the -C flag. Problem is, this is still changing the background color. What's wrong, and more importantly what have I got right?


Greetings,
The Google Open Source Programs Team


---
You are receiving this message because you are subscribed to Add a command-line option that sets an object color temporarily. To stop receiving these messages, go to: http://www.google-melange.com/gci/task/view/google/gci2012/8126202.

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
_______________________________________________
BRL-CAD Tracker mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-tracker

Reply via email to