Allow floors in floor object.
This commit is contained in:
parent
7425394df9
commit
b114a051f4
|
@ -64,7 +64,7 @@ class _CommandFloor:
|
|||
floorobj = []
|
||||
warning = False
|
||||
for obj in sel :
|
||||
if not Draft.getType(obj) in ["Site", "Building","Floor"] :
|
||||
if not Draft.getType(obj) in ["Site", "Building"] :
|
||||
floorobj.append(obj)
|
||||
else :
|
||||
if link == True :
|
||||
|
@ -73,7 +73,7 @@ class _CommandFloor:
|
|||
warning = True
|
||||
if warning :
|
||||
message = "You can put anything but Site, Building, Floor object in a Floor object.\n\
|
||||
Floor object are not allowed to accept Site, Building or Floor object.\n\
|
||||
Floor object are not allowed to accept Site or Building object.\n\
|
||||
Site, Building and Floor objects will be removed from the selection.\n\
|
||||
You can change that in the preferences.\n"
|
||||
self.printMessage( message )
|
||||
|
|
Loading…
Reference in New Issue
Block a user