Skip to content

Commit

Permalink
[Draft] Wavy Object Fix for Point
Browse files Browse the repository at this point in the history
  • Loading branch information
HakanSeven12 authored and yorikvanhavre committed Jun 17, 2019
1 parent 1233817 commit 0dca7b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Mod/Draft/Draft.py
Expand Up @@ -5835,8 +5835,9 @@ def __init__(self, obj,x=0,y=0,z=0):

def execute(self, obj):
import Part
shape = Part.Vertex(Vector(obj.X.Value,obj.Y.Value,obj.Z.Value))
shape = Part.Vertex(Vector(0,0,0))
obj.Shape = shape
obj.Placement.Base = FreeCAD.Vector(obj.X.Value,obj.Y.Value,obj.Z.Value)

class _ViewProviderPoint(_ViewProviderDraft):
"A viewprovider for the Draft Point object"
Expand Down

0 comments on commit 0dca7b3

Please sign in to comment.