Просмотр исходного кода

Rope.py usage comment correction

Ken Patel 16 лет назад
Родитель
Сommit
97a1724005
1 измененных файлов с 2 добавлено и 2 удалено
  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
           'thickness' : the thickness at the vertex, default 1
 
 
         In order to enable the per-vertex color or thickness, you must
         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
         knots is optional.  If specified, it should be a list of
         floats, and should be of length len(verts) + order.  If it
         floats, and should be of length len(verts) + order.  If it