[ArchWall] Remove remarks about Werner's earlier commit

This commit is contained in:
paullee0
2019-12-02 08:25:49 +08:00
committed by Yorik van Havre
parent 5ea31c6b3e
commit b9fc008e22

View File

@@ -1165,14 +1165,9 @@ class _ViewProviderWall(ArchComponent.ViewProviderComponent):
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)