Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-05-12 10:59:37 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-05-12 11:23:29 +0300
commitf727df6076241756a07aebdd495284203702dd1b (patch)
treea81f66e0b3fe2eb5de68d502fba348007bfa07f5 /release
parent311f6cac921b84cdbf770fe10ef2d656ee1817e5 (diff)
Doc: correct rst syntax
also remove some API docs from example
Diffstat (limited to 'release')
-rw-r--r--release/scripts/templates_py/ui_previews_custom_icon.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/release/scripts/templates_py/ui_previews_custom_icon.py b/release/scripts/templates_py/ui_previews_custom_icon.py
index badc6614d40..6eb4ad2992e 100644
--- a/release/scripts/templates_py/ui_previews_custom_icon.py
+++ b/release/scripts/templates_py/ui_previews_custom_icon.py
@@ -56,13 +56,7 @@ def register():
my_icons_dir = os.path.join(os.path.dirname(__file__), "icons")
# load a preview thumbnail of a file and store in the previews collection
- pcoll.load(
- # identifier
- "my_icon",
- # path to image
- os.path.join(my_icons_dir, "icon-image.png"),
- # file type to generate preview from. others are: MOVIE, FONT, BLEND
- 'IMAGE')
+ pcoll.load("my_icon", os.path.join(my_icons_dir, "icon-image.png"), 'IMAGE')
preview_collections["main"] = pcoll