[Bf-funboard] Changing function names at the programmers level
ideasman42 at gmail.com
Sun Feb 15 22:17:17 CET 2015
Using UUID's has come up before.
While it solves a certain class of problems.
It gives us some extra level of ID's to maintain, Python API to
interact with... (library linking) etc.
Either you expose them to the user - which is verbose & cryptic.
Or they are for internal use only - where we end up maintaining a of
data & API's - only to solve a few internal ID limitations.
And if this is to be used for keymaps. as you suggest, then we will
have to expose to users at some point I'd imagine.
Selecting a brush by index is weak for sure, so why not select by name instead?
On Sun, Feb 15, 2015 at 6:51 PM, Knapp <magick.crow at gmail.com> wrote:
> I have been collecting ideas for Blender and I came across this problem.
> "One problem I have with presets is that they are bound to hotkeys via
> their index, which changes when new presets are added/removed. I created a
> "select brush by name" operator as part of my somewhat-abandoned
> sculpt/paint UX efforts:
> If this is correct, can't we give brushes and other resources that need to
> be called by python scripts UUID?
> "A. A Universally Unique Identifier <http://en.wikipedia.org/wiki/UUID> (UUID)
> is an identifier standard used in software construction, standardized by
> the Open Software Foundation (OSF) as part of the Distributed Computing
> Environment (DCE). The intent of UUIDs is to enable distributed systems to
> uniquely identify information without significant central coordination.
> Thus, anyone can create a UUID and use it to identify something with
> reasonable confidence that the identifier will never be unintentionally
> used by anyone for anything else. Information labeled with UUIDs can
> therefore be later combined into a single database without needing to
> resolve name conflicts."
> Seems the perfect solution to these problems.
> Douglas E Knapp
> Creative Commons Film Group, Helping people make open source movies
> with open source software!
> Massage in Gelsenkirchen-Buer:
> Please link to me and trade links with me!
> Open Source Sci-Fi mmoRPG Game project.
> Bf-funboard mailing list
> Bf-funboard at blender.org
More information about the Bf-funboard