Re: Parent objects and insert rules

Andreas Zehender <[email protected]> Wed, 24 Sep 2003 21:23:57 +0200
Newsgroups gmane.comp.kde.devel.kpovmodeler
Message-ID <[email protected]>
Hi!

> The insert rules system works as follows: An object can be inserted when at
> least one rule permits it.
>
> And since triangle and mesh are graphical objects, object modifiers can be
> inserted allways and everywhere.
>
> Arrrgs, the csg object has the same problem...
>
> Just commit the rules, I will think about a solution.

Ok, I added a new exception element to rules.

The insert rules for the graphical object are now not valid for the csg and 
mesh objects.

  <targetclass name="GraphicalObject">
    <exception class="CSG"/>
    <exception class="Mesh"/>
    <rule>
      <group name="ObjectModifier"/>
      <class name="Comment"/>
      <class name="Raw"/>
    </rule>
  </targetclass>

Greetings, Andreas

-- 
--------------------------------------------------
 Andreas Zehender
 Master of Computer Science, Dipl. Ing. (BA)
 http://www.azweb.de
 [email protected] | [email protected]      
--------------------------------------------------


List archive and information: http://mail.kde.org/mailman/listinfo/kpovmodeler-devel