Page 1 of 1

Help finding the N Panel code? (CVS?)

Posted: Fri Sep 16, 2005 5:00 am
by Fred_Pyo
Hi!

Due to a case of extreme need and curiosity, I am now facing the terror of having to lurk around Blender's source code... I am not really interested in learning the functionality of the whole code as a WHOLE... (not YET atleast...) I'm rather interested in finding the code responsible of collecting the information that the N Panel displays, or where the object's position and orientation are stored... You see, I've looked in the CVS, but it just doesn't make much sense to me right now, so if anyone can lend me a hand, I would certainly appreciate a LOT!

Thanks!

Re: Help finding the N Panel code? (CVS?)

Posted: Fri Sep 16, 2005 7:21 am
by simonharvey
Fred_Pyo wrote:Hi!

Due to a case of extreme need and curiosity, I am now facing the terror of having to lurk around Blender's source code... I am not really interested in learning the functionality of the whole code as a WHOLE... (not YET atleast...) I'm rather interested in finding the code responsible of collecting the information that the N Panel displays, or where the object's position and orientation are stored... You see, I've looked in the CVS, but it just doesn't make much sense to me right now, so if anyone can lend me a hand, I would certainly appreciate a LOT!

Thanks!
I would reccomend downloading the source and then grepping through it with the strings:
"n panel", "npanel" and "panel"

That should get you 80% of the way there, the remainder just being able to go through the results to find the locations in source.

Failing this you should grep the strings "transform properties" and "Par:".

Kind Regards
Simon Harvey

Posted: Fri Sep 16, 2005 12:01 pm
by matt_e
drawview.c, view3d_panel_properties()

Posted: Sat Sep 17, 2005 3:52 am
by Fred_Pyo
Hey! Thanks!

/me rushes to the cvs...

Ok... now I must learn to decipher what's written in there, but, thanks for the quick reply guys!!! (maybe it is time to learn some more advanced C)