Page MenuHome

crashme.py

crashme.py

#!BPY
""" Registration info for Blender menus:
Name: 'Crash Blender (.txt)'
Blender: 236
Group: 'Import'
Tip: 'Crash Blender in an interesting way'
"""
__author__ = "Alessandro Garosi (AKA Brandano) -- tdo_brandano@hotmail.com"
__url__ = ("blender", "elysiun",
"development group at http://games.groups.yahoo.com/group/NIFLA/")
__version__ = "1.0"
__bpydoc__ = """\
This script crashes the blender application. I made a much longer version, that
incidentally reads NetImmerse (.NIF) files and attempts to prompt the user for the
textures, but this works the same way and is much quicker
Usage:
Just run it within the Blender import menu
"""
import Blender
from Blender import *
def read(filename):
Blender.Window.DrawProgressBar(0.5, "selecting second file")
Blender.Window.FileSelector(read2, 'OPEN SECOND FILE')
def read2(filename):
Blender.Window.DrawProgressBar(1.0, "")
Blender.Window.DrawProgressBar(0.0, "selecting first file")
Blender.Window.FileSelector(read, 'OPEN FIRST FILE')
# Another unwanted behaviour:
# if you just call read(None) the preferences panel is replaced by the file selector
# read(None)

File Metadata

Mime Type
text/x-python
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
bd/8a/046d906b2a0cb54dd4516d952f71

Event Timeline