Skip to content
Snippets Groups Projects
Commit e78ceba9 authored by Marco Biasini's avatar Marco Biasini
Browse files

fix example

parent 5b5b3ba9
Branches
Tags
No related merge requests found
...@@ -3,7 +3,7 @@ go=gfx.Entity("test",eh.CreateFullView()) ...@@ -3,7 +3,7 @@ go=gfx.Entity("test",eh.CreateFullView())
ev = eh.Select(mol.Query("rnum=2,3,8,13")) ev = eh.Select(mol.Query("rnum=2,3,8,13"))
go.SetSelection(ev) go.SetSelection(ev)
go.SetRenderMode(gfx.RenderMode.CUSTOM) go.SetRenderMode(gfx.RenderMode.CUSTOM)
go.SetColor(gfx.Color(0xffff00),"(ele=C and rnum=1:4)") go.SetColor(gfx.YELLOW,"(ele=C and rnum=1:4)")
scene.Add(go) scene.Add(go)
scene.SetCenter(go.GetCenter()) scene.SetCenter(go.GetCenter())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment