Release of 2015-04-03 :
Modification : WF_ObjRot_2015.py line 8 import ObjRotGui_2015 as ObjRotGui (deleted) line 9 import __init__ as func (changed into)
This commit is contained in:
parent
acda4d60aa
commit
10cabf08c3
|
@ -5,8 +5,7 @@ import sys
|
||||||
if not sys.path.__contains__("/usr/lib/freecad/lib"):
|
if not sys.path.__contains__("/usr/lib/freecad/lib"):
|
||||||
sys.path.append("/usr/lib/freecad/lib")
|
sys.path.append("/usr/lib/freecad/lib")
|
||||||
|
|
||||||
import ObjRotGui_2015 as ObjRotGui
|
import __init__ as func
|
||||||
import MY_Functions as func
|
|
||||||
global myRelease
|
global myRelease
|
||||||
myRelease = "2105_02"
|
myRelease = "2105_02"
|
||||||
|
|
||||||
|
@ -293,7 +292,7 @@ class Translation():
|
||||||
return
|
return
|
||||||
self.m_num_cpy = int(value)
|
self.m_num_cpy = int(value)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
func. printError_msg("Number must be valid !")
|
func.printError_msg("Number must be valid !")
|
||||||
|
|
||||||
if self.msg != 0:
|
if self.msg != 0:
|
||||||
func.print_msg("New copy number is :" + str(self.m_num_cpy))
|
func.print_msg("New copy number is :" + str(self.m_num_cpy))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user