mirror of
https://github.com/DragonMinded/bemaniutils.git
synced 2026-08-24 03:14:31 -05:00
Ignore PLACE_CAMERA tags in renderer for the time being.
This commit is contained in:
@@ -2,7 +2,7 @@ from typing import Dict, List, Tuple, Optional, Union
|
||||
from PIL import Image # type: ignore
|
||||
|
||||
from .blend import affine_composite
|
||||
from .swf import SWF, Frame, Tag, AP2ShapeTag, AP2DefineSpriteTag, AP2PlaceObjectTag, AP2RemoveObjectTag, AP2DoActionTag, AP2DefineFontTag, AP2DefineEditTextTag
|
||||
from .swf import SWF, Frame, Tag, AP2ShapeTag, AP2DefineSpriteTag, AP2PlaceObjectTag, AP2RemoveObjectTag, AP2DoActionTag, AP2DefineFontTag, AP2DefineEditTextTag, AP2PlaceCameraTag
|
||||
from .types import Color, Matrix, Point
|
||||
from .geo import Shape, DrawParams
|
||||
from .util import VerboseOutput
|
||||
@@ -351,6 +351,12 @@ class AFPRenderer(VerboseOutput):
|
||||
# Didn't place a new clip.
|
||||
return None, False
|
||||
|
||||
elif isinstance(tag, AP2PlaceCameraTag):
|
||||
print("WARNING: Unhandled PLACE_CAMERA tag!")
|
||||
|
||||
# Didn't place a new clip.
|
||||
return None, False
|
||||
|
||||
else:
|
||||
raise Exception(f"Failed to process tag: {tag}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user