Browse Source

*** empty log message ***

Mark Mine 25 years ago
parent
commit
c6221231f7
1 changed files with 3 additions and 1 deletions
  1. 3 1
      direct/src/leveleditor/LevelEditor.py

+ 3 - 1
direct/src/leveleditor/LevelEditor.py

@@ -867,7 +867,9 @@ class LevelEditor(NodePath, PandaObject):
             targetClass = self.targetDNAObject.__class__.getClassType()
             targetClass = self.targetDNAObject.__class__.getClassType()
             if ((targetClass.eq(DNAWall.getClassType())) |
             if ((targetClass.eq(DNAWall.getClassType())) |
                 (targetClass.eq(DNAWindows.getClassType())) |
                 (targetClass.eq(DNAWindows.getClassType())) |
-                (targetClass.eq(DNACornice.getClassType()))):
+                (targetClass.eq(DNACornice.getClassType()))
+                (targetClass.eq(DNAProp.getClassType()))
+                ):
                 self.panel.setCurrentColor(self.targetDNAObject.getColor())
                 self.panel.setCurrentColor(self.targetDNAObject.getColor())
         
         
 	# What kind of menu is it?
 	# What kind of menu is it?