[Bf-taskforce25] RNA Naming convention

Joshua Leung aligorith at gmail.com
Wed Dec 3 05:16:27 CET 2008


On Wed, Dec 3, 2008 at 5:10 PM, GSR <gsr.b3d at infernal-iceberg.com> wrote:

> Hi,
> ideasman42 at gmail.com (2008-12-03 at 1451.33 +1100):
> > Could identifier names starting with numbers be forbidden with RNA?,
> > this is messing up python which cant do
> >   bpy.curves['MyCurve'].3d = True
> >
> > (using setattr works but is ugly syntax)
>
> Instead of making it special and as per
>
> http://wiki.blender.org/index.php/BlenderDev/Blender2.5/RNA#Naming_Conventions
> "Don't shorten names unnecessarily." use three_d instead of 3d (and
> this example can be used to add the rule that identifiers must start
> with lower case, for compability).

Ewwww.... I'd rather go with Campbell's suggestion than use something as
vulgar as this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-taskforce25/attachments/20081203/fad6ccff/attachment.htm 


More information about the Bf-taskforce25 mailing list