Skip to content

Commit

Permalink
Removed the output
Browse files Browse the repository at this point in the history
I found the output to be pretty confusing for new users since it's not
going to be connected to any other component at any case so I just
removed it.
  • Loading branch information
mostaphaRoudsari committed Nov 18, 2015
1 parent 513d64d commit 79320a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/Ladybug_Set the View.py
@@ -1,4 +1,4 @@
# This component helps you to set and control the view from Grasshopper
# This component helps you to set and control the view from Grasshopper
#
# Ladybug: A Plugin for Environmental Analysis (GPL) started by Mostapha Sadeghipour Roudsari
#
Expand Down Expand Up @@ -38,7 +38,7 @@
"""
ghenv.Component.Name = "Ladybug_Set the View"
ghenv.Component.NickName = 'setTheView'
ghenv.Component.Message = 'VER 0.0.61\nNOV_05_2015'
ghenv.Component.Message = 'VER 0.0.61\nNOV_17_2015'
ghenv.Component.Category = "Ladybug"
ghenv.Component.SubCategory = "4 | Extra"
#compatibleLBVersion = VER 0.0.59\nFEB_01_2015
Expand Down Expand Up @@ -76,7 +76,9 @@ def setCamera(cameraLocation, cameraDirection, uvLookAround, lensLength):
if _cameraLocation and _cameraDirection:
setCamera(_cameraLocation, _cameraDirection, uvLookAround_, lensLength_)
elif _cameraLocation == None and _cameraDirection == None:
print "Connect a _cameraLocation and _cameraDirection."
msg = "Connect a _cameraLocation and _cameraDirection."
print msg
ghenv.Component.AddRuntimeMessage(gh.GH_RuntimeMessageLevel.Warning, msg)
else:
msg = "Either the _cameraLocation or _cameraDirection is missing."
print msg
Expand Down
Binary file modified userObjects/Ladybug_Set the View.ghuser
Binary file not shown.

0 comments on commit 79320a0

Please sign in to comment.