Set duplicated-src only when we extend/duplicate the scene
The duplicated-src should be used only when we extend/duplciate scene frames. Usual copy&paster should not touch this attribute at all.
Leave a comment
on 2011-04-10 12:18 *
By Thinker Li
The purpose of duplicated-src is for tracking where a node is copied or cloned from. Since App framework use it for other purpose (providing unique name in scenes), it should take care by it-self, or it induces a highly couple between Scribboo and app framework. If we change Scribboo for App framework, now, following the same logic, we will fall into end-less changes once App framework changes it's design.
We should avoid to change one part to solve the problem of another part of system, except it is necessary. Without this rule, we will create a lot of inter-locked cut-paths between parts. These cut-paths would be hard to be maintained.
We should avoid to change one part to solve the problem of another part of system, except it is necessary. Without this rule, we will create a lot of inter-locked cut-paths between parts. These cut-paths would be hard to be maintained.