Christian Walther wrote:OK, I've had a look at it and will merge it. Random observations:
- Code: Select all
--- prp_RefParser.py (.../trunk/src/prp_RefParser.py) (revision 420)
+++ prp_RefParser.py (.../contrib/D'Lanor/prp_RefParser.py) (revision 421)
@@ -161,7 +163,7 @@
# print "Error decoding keytype:",type_id
return None
- return { 'type': keytype, "name": name,"pagename": None }
+ return { 'type': keytype, "name": name,"pagename": pagename }
else:
return None
This change looks unrelated to my untrained eye (I haven't checked what it actually does). It's from /contrib/Dox/prp_RefParser.py r337, probably a bugfix. Is it intended, and safe?
That one must have slipped through. Studying the code it looks like a fix to resolve a referenced (external) page. If the page is not found it defaults back to the current page, which it always did with that hardcoded None. So it looks safe to me. For our purpose it is probably not needed though.
Christian Walther wrote:prp_GuiClasses.py:51, in plPostEffectMod.__init__():
- Code: Select all
self.fFOVX = 45.00
self.fFOVY = 33.75
Assuming these numbers are the field of view in degrees, they give you an aspect ratio of 1.37 = 4.10:3 (tan(45°/2)/tan(33.75°/2)). If they are half the field of view in degrees, it's 1.50 = 4.49:3. Is that what you want?prp_GuiClasses.py:69, in plPostEffectMod.read():
- Code: Select all
self.fHither = stream.ReadFloat()
self.fYon - stream.ReadFloat()
self.fFOVX = stream.ReadFloat()
Looks like a typo on the fYon line.
All I know is that the resulting GUI camera view is fine.
