Page MenuHome

bge.texture.Texture().refresh() API minor documentation error.
Closed, ResolvedPublic

Description

In https://www.blender.org/api/blender_python_api_2_77a_release/bge.texture.html#bge.texture.Texture.refresh, it says:

refresh(refresh_source=True, ts=-1.0)

it should say:

refresh(refresh_source, ts=-1.0)

Because, if I use texture.refresh(), this happens:
TypeError: The value must be a bool

Details

Type
Bug

Event Timeline

Mario Mey (mariomey) raised the priority of this task from to Needs Triage by Developer.
Mario Mey (mariomey) updated the task description. (Show Details)
Mario Mey (mariomey) set Type to Bug.
Aaron Carlisle (Blendify) lowered the priority of this task from Needs Triage by Developer to Confirmed, Low.Jun 21 2016, 7:09 PM
Aaron Carlisle (Blendify) edited projects, added BF Blender; removed Documentation.
Benoit Bolsee (ben2610) closed this task as Resolved.Jun 21 2016, 11:27 PM

The first parameter is indeed mandatory, doc updated in master.