forked from SilverStudioGames/WTS
Vibrator Events - Posing (Part 1)
* Fixed Xray displayable not updating when its children supplied no image attributes. * Defined default zorders on children of Xray displayable * Posed parts of the event
This commit is contained in:
parent
c29c7545f8
commit
738390d6be
@ -85,12 +85,14 @@ init python:
|
||||
name = getattr(self, "_{}".format(layer))
|
||||
attributes = renpy.get_attributes(name) or renpy.get_attributes("{}_{}".format(tag_prefix, layer))
|
||||
|
||||
if not attributes:
|
||||
if attributes:
|
||||
attributes = " ".join(attributes)
|
||||
child = ImageReference("{} {}".format(name, attributes))
|
||||
elif child.name != name:
|
||||
child = ImageReference(name)
|
||||
else:
|
||||
continue
|
||||
|
||||
attributes = " ".join(attributes)
|
||||
|
||||
child = ImageReference("{} {}".format(name, attributes))
|
||||
setattr(self, layer, child)
|
||||
redraw = True
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -72,18 +72,12 @@ define config.load_before_transition = True
|
||||
define config.imagemap_cache = True
|
||||
define config.optimize_texture_bounds = True
|
||||
define config.debug_image_cache = False
|
||||
#define config.atl_one_frame = False
|
||||
# define config.mipmap_movies = (not renpy.android)
|
||||
# define config.mipmap_text = (not renpy.android)
|
||||
# define config.mipmap_dissolves = (not renpy.android)
|
||||
# define config.predict_screen_statements = False
|
||||
# define config.predict_screens = False
|
||||
|
||||
# Disable automatic image scanning
|
||||
# define config.automatic_images = None
|
||||
# define config.images_directory = None
|
||||
# init -1:
|
||||
# define config.late_images_scan = True
|
||||
# define config.atl_one_frame = False
|
||||
define config.tag_zorder = {
|
||||
"xray_child": -1,
|
||||
"xray_overlay": -1,
|
||||
"xray_mask": -1,
|
||||
}
|
||||
|
||||
# Saving and loading
|
||||
define config.save_directory = "Witch Trainer Silver"
|
||||
|
Loading…
Reference in New Issue
Block a user