Removed remaining old accel keys and fixed PathSanity object references.
This commit is contained in:
committed by
Yorik van Havre
parent
b7e5079af1
commit
ec77f89dc2
@@ -59,8 +59,6 @@ CmdPathArea::CmdPathArea()
|
||||
sWhatsThis = "Path_Area";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Path-Area";
|
||||
sAccel = "P,A";
|
||||
|
||||
}
|
||||
|
||||
void CmdPathArea::activated(int iMsg)
|
||||
@@ -143,8 +141,6 @@ CmdPathAreaWorkplane::CmdPathAreaWorkplane()
|
||||
sWhatsThis = "Path_Area_Workplane";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Path-Area-Workplane";
|
||||
sAccel = "P,W";
|
||||
|
||||
}
|
||||
|
||||
void CmdPathAreaWorkplane::activated(int iMsg)
|
||||
@@ -235,8 +231,6 @@ CmdPathCompound::CmdPathCompound()
|
||||
sWhatsThis = "Path_Compound";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Path-Compound";
|
||||
sAccel = "P,C";
|
||||
|
||||
}
|
||||
|
||||
void CmdPathCompound::activated(int iMsg)
|
||||
@@ -289,7 +283,6 @@ CmdPathShape::CmdPathShape()
|
||||
sWhatsThis = "Path_Shape";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Path-Shape";
|
||||
sAccel = "P,S";
|
||||
}
|
||||
|
||||
void CmdPathShape::activated(int iMsg)
|
||||
|
||||
@@ -77,7 +77,7 @@ class CommandPathSanity:
|
||||
toolcontrolcount += 1
|
||||
self.__checkTC(item)
|
||||
|
||||
if isinstance(item.Proxy, PathScripts.PathContour.ObjectContour):
|
||||
if isinstance(item.Proxy, PathScripts.PathProfileContour.ObjectContour):
|
||||
if item.Active:
|
||||
operationcount +=1
|
||||
# simobj = item.Proxy.execute(item, getsim=True)
|
||||
@@ -85,7 +85,7 @@ class CommandPathSanity:
|
||||
# print ('collision detected')
|
||||
# PC.getCollisionObject(self.baseobj, simobj)
|
||||
|
||||
if isinstance(item.Proxy, PathScripts.PathProfile.ObjectProfile):
|
||||
if isinstance(item.Proxy, PathScripts.PathProfileFaces.ObjectProfile):
|
||||
if item.Active:
|
||||
operationcount +=1
|
||||
# simobj = item.Proxy.execute(item, getsim=True)
|
||||
@@ -117,7 +117,7 @@ class CommandPathSanity:
|
||||
if item.Active:
|
||||
operationcount +=1
|
||||
|
||||
if isinstance(item.Proxy, PathScripts.PathHelix.ObjectPathHelix):
|
||||
if isinstance(item.Proxy, PathScripts.PathHelix.ObjectHelix):
|
||||
if item.Active:
|
||||
operationcount +=1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user