Browse Source

Fix some wording issues and typos

pull/125/head
Adam Johnson 6 years ago
parent
commit
718791fff8
Signed by: Hoikas
GPG Key ID: 0B6515D6FF6F271E
  1. 2
      korman/korlib/texture.py
  2. 2
      korman/operators/op_export.py
  3. 2
      korman/operators/op_image.py

2
korman/korlib/texture.py

@ -160,7 +160,7 @@ class GLTexture:
# Previously, we would leave the texture bound in OpenGL and use it to do the mipmapping, using
# old, deprecated OpenGL features. With the introduction of plCubicEnvironmap support to Korman,
# we wind up needing to get an NPOT image from OpenGL. Unfortunately, Blender will sometimes scale
# images to be POT _before_ loading them into OpenGL. Thereofre, we now use OpenGL to grab the first
# images to be POT _before_ loading them into OpenGL. Therefore, we now use OpenGL to grab the first
# level, then scale down to the new level from there.
oWidth, oHeight = self.size_npot
eWidth = ensure_power_of_two(oWidth) >> level

2
korman/operators/op_export.py

@ -66,7 +66,7 @@ class ExportOperator(bpy.types.Operator):
"envmap_method": (EnumProperty, {"name": "Environment Maps",
"description": "Environment Map Settings",
"items": [("skip", "Don't Export EnvMaps", "Environment Maps are not exported (the age runs faster)"),
"items": [("skip", "Don't Export EnvMaps", "Environment Maps are not exported"),
("dcm2dem", "Downgrade Planar EnvMaps", "When the engine doesn't support them, Planar Environment Maps are downgraded to Cube Maps"),
("perengine", "Export Supported EnvMaps", "Only environment maps supported by the selected game engine are exported")],
"default": "dcm2dem"}),

2
korman/operators/op_image.py

@ -136,7 +136,7 @@ class PlasmaBuildCubeMapOperator(ImageOperator, bpy.types.Operator):
self._report.progress_advance()
self._report.msg("Generating cubemap image...")
# If a texture was provided, we should check to see if as have an image we can replace...
# If a texture was provided, we should check to see if we have an image we can replace...
image = bpy.data.textures[self.texture_name].image if self.texture_name else None
# Init our image

Loading…
Cancel
Save