Procházet zdrojové kódy

Rope.py usage comment correction

Ken Patel před 16 roky
rodič
revize
97a1724005
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      direct/src/showutil/Rope.py

+ 2 - 2
direct/src/showutil/Rope.py

@@ -52,8 +52,8 @@ class Rope(NodePath):
           'thickness' : the thickness at the vertex, default 1
 
         In order to enable the per-vertex color or thickness, you must
-        call rope.ropeNode.setPerVertexColor() or
-        rope.ropeNode.setPerVertexThickness().
+        call rope.ropeNode.setUseVertexColor(1) or
+        rope.ropeNode.setUseVertexThickness(1).
 
         knots is optional.  If specified, it should be a list of
         floats, and should be of length len(verts) + order.  If it