Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix:Comments in .py files #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,13 @@
else:
from . import spaceship_generator

#importing blender-python library
import bpy
from bpy.props import StringProperty, BoolProperty, IntProperty
from bpy.types import Operator


#class for generating spaceship objects
class GenerateSpaceship(Operator):
"""Procedurally generate 3D spaceships from a random seed."""
bl_idname = "mesh.generate_spaceship"
Expand Down
2 changes: 1 addition & 1 deletion build.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python

#imporing absolute path, directory name and join as pjoin variable
from os.path import abspath, dirname, join as pjoin
import zipfile

Expand Down
2 changes: 1 addition & 1 deletion spaceship_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
#
# [email protected]
# https://github.com/a1studmuffin/SpaceshipGenerator
#

#importing necessary libraries
import sys
import os
import os.path
Expand Down