Skip to content

Commit

Permalink
[ArchWall] Remove remarks about Werner's earlier commit
Browse files Browse the repository at this point in the history
  • Loading branch information
paullee0 authored and yorikvanhavre committed Jan 8, 2020
1 parent 5ea31c6 commit b9fc008
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Mod/Arch/ArchWall.py
Expand Up @@ -1165,14 +1165,9 @@ def attach(self,vobj):
self.Object = vobj.Object
from pivy import coin
tex = coin.SoTexture2()

## TODO - https://github.com/FreeCAD/FreeCAD/pull/2746 Backmerge Werner's fix
#tex.image = Draft.loadTexture(Draft.svgpatterns()['simple'][1], 128)
image = Draft.loadTexture(Draft.svgpatterns()['simple'][1], 128)
if not image is None:
tex.image = image
## TODO

texcoords = coin.SoTextureCoordinatePlane()
s = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Arch").GetFloat("patternScale",0.01)
texcoords.directionS.setValue(s,0,0)
Expand Down

0 comments on commit b9fc008

Please sign in to comment.