Tue, Nov 26, 11:47 AM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Nov 26 6:57 am)



Subject: SetCastShadows is really SetCastsShadows


Mason ( ) posted Fri, 29 July 2005 at 2:18 PM · edited Mon, 29 July 2024 at 12:14 AM

The latest p6 patch pdf has a spelling error. The python function call SetCastShadows is really SetCastsShadows.


SamTherapy ( ) posted Fri, 29 July 2005 at 3:09 PM

Yude tihnk thye'd poorf reed evrythnig four speelinge eerors.

Coppula eam se non posit acceptera jocularum.

My Store

My Gallery


nruddock ( ) posted Fri, 29 July 2005 at 3:25 PM

Attached Link: http://www.renderosity.com/messages.ez?Form.ShowMessage=2340089

See linked thread.

The only way to be sure about what methods and attributes are called, is to get the documentation from the poser module.


Marque ( ) posted Fri, 29 July 2005 at 4:14 PM

There's a new patch out? Marque


nruddock ( ) posted Fri, 29 July 2005 at 4:44 PM

No, there has been only one service release.
This is only a typo in the documentation (one of a few).
There are some more irritating errors that weren't corrected by SR1 (AFAICT, look through the Python Scripting forum for details).


kuroyume0161 ( ) posted Fri, 29 July 2005 at 6:52 PM

Yude tink, hug? When it comes to programming functions (and just about everything else in many programming languages), spelling and case are critical. And the only way to know the spelling and case is through the documentation.

C makes it easy to shoot yourself in the foot. C++ makes it harder, but when you do, you blow your whole leg off.

 -- Bjarne Stroustrup

Contact Me | Kuroyume's DevelopmentZone


nruddock ( ) posted Sat, 30 July 2005 at 4:50 AM

Attached Link: http://www.renderosity.com/messages.ez?Form.ShowMessage=2172183#4

Agreed, but as Python has introspection / reflection then the definitive documentation comes from looking at the names that are actually defined, which is what documentation.py does.

In this case of SetCastsShadows, the method name is wrong in the "Method Name" line, but correct in the "Syntax" line.


kuroyume0161 ( ) posted Sat, 30 July 2005 at 1:39 PM

Same goes for Java autodocs. It will yield class, member, and method names correct, but comments used for descriptions are up for user error.

C makes it easy to shoot yourself in the foot. C++ makes it harder, but when you do, you blow your whole leg off.

 -- Bjarne Stroustrup

Contact Me | Kuroyume's DevelopmentZone


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.