- property operation.changed now working - this detects if the operation parameters changed after last computation. This can save time when exporting e.g. chain gcode, since then only export is performed.

pull/4/head
vilda.novak@gmail.com 2013-08-24 11:29:59 +00:00
rodzic 8d0d0b77a6
commit f5de173232
2 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -515,7 +515,7 @@ class PathsSimple(bpy.types.Operator):
o.onlycurves=False;
o.warnings=''
utils.getPaths(context,o)
o.changed=False
return {'FINISHED'}
class PathsAll(bpy.types.Operator):

Wyświetl plik

@ -3794,6 +3794,7 @@ def addBridges(ch,o,z):
for pi in range(len(insertpoints)-1,-1,-1):
ch.points.insert(insertpoints[pi][0],insertpoints[pi][1])
#this is the main function.
def getPaths(context,operation):#should do all path calculations.
t=time.clock()
@ -4376,6 +4377,7 @@ def reload_paths(o):
ob=s.objects[oname]
ob.location=(0,0,0)
o.path_object_name=oname
o.changed=False
#unpickle here: