View Issue Details

IDProjectCategoryView StatusLast Update
0002171FSSCPscriptingpublic2010-10-22 18:15
Reportereigenlambda Assigned ToWMCoolmon  
PrioritynormalSeveritytrivialReproducibilityN/A
Status resolvedResolutionfixed 
Fixed in Version3.6.13 
Summary0002171: Documentation out of sync with code in gr.getVectorFromCoords
DescriptionThe documentation says it gives you a normalized vector, but it really gives you a world vector.
TagsNo tags attached.

Activities

2010-03-31 05:01

 

fix2171.patch (561 bytes)   
Index: code/parse/lua.cpp
===================================================================
--- code/parse/lua.cpp	(revision 6027)
+++ code/parse/lua.cpp	(working copy)
@@ -8902,7 +8902,7 @@
 
 ADE_FUNC(getVectorFromCoords, l_Graphics,
 		 "[number X=center, number Y=center, number Depth]",
-		 "Returns a normalized vector through screen coordinates x and y. "
+		 "Returns a world vector through screen coordinates x and y. "
 		 "If depth is specified, vector is extended to Depth units into space",
 		 "vector",
 		 "Vector, or zero vector on failure")
fix2171.patch (561 bytes)   

The_E

2010-10-22 13:45

administrator   ~0012431

Fixed in revision 6662

Issue History

Date Modified Username Field Change
2010-03-31 05:00 eigenlambda New Issue
2010-03-31 05:00 eigenlambda Status new => assigned
2010-03-31 05:00 eigenlambda Assigned To => WMCoolmon
2010-03-31 05:01 eigenlambda File Added: fix2171.patch
2010-10-22 13:45 The_E Note Added: 0012431
2010-10-22 13:45 The_E Status assigned => closed
2010-10-22 13:45 The_E Resolution open => fixed
2010-10-22 13:45 The_E Fixed in Version => 3.6.13
2010-10-22 18:15 The_E Status closed => feedback
2010-10-22 18:15 The_E Resolution fixed => reopened
2010-10-22 18:15 The_E Status feedback => resolved
2010-10-22 18:15 The_E Resolution reopened => fixed