Skip to content

Releases: loonaticx/blender-egg-importer

Version 2.4.1

17 Jul 16:16
Compare
Choose a tag to compare

NOTE: Download the provided "blender-egg-importer.zip" file and install it as an addon in Blender.

Fixes

  • Fixed issue with failing to import an instance of a null material (usually caused by <Polygon>s with no <TRef> attributes)

Version 2.4.0

12 Jul 18:54
Compare
Choose a tag to compare

NOTE: Download the provided "blender-egg-importer.zip" file and install it as an addon in Blender.

Crashfixes:

  • Fixes a rare import crash that would sometimes occur from geometry without any assigned textures
  • Fixes an import crash that would occur if you created a new scene in the same session.

Properties for Tag and ObjectType Egg attributes are supported again. Blender properties do not allow for multiple keywords with the same name, so ObjectType properties will have an incremental number at the end

Note: These properties are NOT backwards compatible with any version of YABEE!! They only serve to preserve what would otherwise be lost data.

Example:

  • <Tag> foo { bar } will be translated to a StringProperty with the name foo and the default (value) named bar
  • <ObjectType> { foo } will be translated to a StringProperty with the name ObjectType1 with value foo
  • <ObjectType> { bar } will be translated to a StringProperty with the name ObjectType2 with value bar given that the above ObjectType was provided.

Upon loading in an Egg file, newly generated materials based off textures will now have the same name as the TRef. Before this, every newly generated material would be named "Material.00x". If a set of polygons reference more than one TRefs, a new material will be made with the TRef names concatenated.

Example:

  <Polygon> {
    <Normal> { -1 0 0 }
    <TRef> { lambert3SG }
    <TRef> { lambert2SG }
    <VertexRef> { 0 3 9 6 <Ref> { pCubeShape2.verts } }
  }

Upon import, a new material will be made named lambert3SG_lambert2SG that holds references for the two texture files.

Version 2.3.3 | Blender 4.0 Support

22 Feb 19:58
Compare
Choose a tag to compare

NOTE: Download the provided zip file and install it as an addon in Blender.
Edit: Zip file has been modified to remove unnecessary files.

  • Added some padding on certain input attributes, like Emission and Specular: They will only have their default values configured if the attribute key exists in the first place.
  • Blender 4.0 deprecated the calc_normals method, which was causing the primary crash upon importing egg files into this version of the program. For backwards compatibility, calc_normals will still be executed if the attribute exists in that version of Blender.

Housekeeping:

  • Removes console spam when trying to import egg files through the file picker

Version 2.3.2

22 Nov 03:56
Compare
Choose a tag to compare
v2.3.2

Version bump

Version 2.3.1 | Blender 3.6 Support

18 Oct 21:52
Compare
Choose a tag to compare

Fixes a crash related to trying to edit a read-only variable, which was changed sometime between versions 3.0-3.6

Version 2.3 | Added Version Compatibility Checks

15 Oct 17:24
Compare
Choose a tag to compare

Fixes _PropertyDeferred crash and bpy 'Screen' object has no attribute 'scene'

Version 2.2 Blender 2.8+

09 May 02:23
Compare
Choose a tag to compare
v2.2

general: small formatting adjustments

blender-2.8+-support

25 Mar 22:36
Compare
Choose a tag to compare

WARNING: This plugin will NOT work on versions below 2.8!

Blender changed a bit of their API to enforce the usage of field annotations. Thus, the files & directory deferred properties were causing the inability to actually import EGG files.

Crash:

C:\Users\Loonatic-V\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\blender-egg-importer-master\__init__.py:97
Python: Traceback (most recent call last):
  File "C:\Users\Loonatic-V\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\blender-egg-importer-master\__init__.py", line 69, in execute
    for file in self.files:
TypeError: '_PropertyDeferred' object is not iterable

This release provides a fix by changing the syntax of the two properties to use field annotations instead. However, this in return will yield a syntax error if trying to use this specific version of the plugin on versions below 2.8. If I can figure out a workaround for this to allow for both 2.7 and 2.8+ support, I'll plan on PR'ing the fixes to rdb's branch.

You can read a bit more about it here:
https://theduckcow.com/2019/update-addons-both-blender-28-and-27-support/