From e5c8c283d0f43e35bc76898f099fb50de252d3b0 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Wed, 27 Jul 2011 23:48:14 +0000 Subject: clean up block rescaling code; move more constants inits to plugins --- (limited to 'plugins/camera_sensor') diff --git a/plugins/camera_sensor/camera_sensor.py b/plugins/camera_sensor/camera_sensor.py index 32a394d..7228b8b 100644 --- a/plugins/camera_sensor/camera_sensor.py +++ b/plugins/camera_sensor/camera_sensor.py @@ -30,7 +30,8 @@ from plugins.plugin import Plugin from TurtleArt.tapalette import make_palette from TurtleArt.talogo import media_blocks_dictionary, primitive_dictionary from TurtleArt.tautils import get_path, debug_output -from TurtleArt.taconstants import MEDIA_SHAPES, NO_IMPORT, SKIN_PATHS +from TurtleArt.taconstants import MEDIA_SHAPES, NO_IMPORT, SKIN_PATHS, \ + BLOCKS_WITH_SKIN class Camera_sensor(Plugin): @@ -124,6 +125,7 @@ is pushed to the stack'), content_block=True) NO_IMPORT.append('camera') + BLOCKS_WITH_SKIN.append('camera') MEDIA_SHAPES.append('camerasmall') MEDIA_SHAPES.append('cameraoff') -- cgit v0.9.1