Blender Git Loki
Git Commits -> Revision c282178
Revision c282178 by Joshua Leung (master) September 20, 2008, 10:10 (GMT) |
Patch #17654: Fix for Scene.Get with input >20 chars Patch by Darryl Pogue (paradox). Blender cuts off datablock names at 20 chars, which causes issues if you're trying to access Scenes with a string longer than 20 chars. Ex. s = 'GuildPub-Writers_GLOBAL' Blender.Scene.New(s) #This creates the scene "GuildPub-Writers_GLOB" Blender.Scene.Get(s) #This throws an error: the name and the string don't match This patch cuts down the input of Scene.Get() to the 20 char limits, thus making the the above example return the correct scene. |
Commit Details:
Full Hash: c282178411a07fbca859885bd3e674e186756695
SVN Revision: 16624
Parent Commit: e7c62e9
Lines Changed: +6, -3
1 Modified Path:
/source/blender/python/api2_2x/Scene.c (+6, -3) (Diff)