diff --git a/src/java/com/threerings/miso/client/MisoScenePanel.java b/src/java/com/threerings/miso/client/MisoScenePanel.java index 24f60ce5a..30291778c 100644 --- a/src/java/com/threerings/miso/client/MisoScenePanel.java +++ b/src/java/com/threerings/miso/client/MisoScenePanel.java @@ -1141,9 +1141,8 @@ public class MisoScenePanel extends VirtualMediaPanel continue; } - // skip actionless objects if we're configured to do so - if (skipActionlessObjects() && - StringUtil.blank(scobj.info.action)) { + // see if we should skip it + if (skipHitObject(scobj)) { continue; } @@ -1159,12 +1158,14 @@ public class MisoScenePanel extends VirtualMediaPanel } /** - * Indicates whether or not actionless objects are allowed to be the - * hover object. By default, they are not. + * Determines whether we should skip the specified object when compiling + * the list of objects under a specified point using + * {@link #getHitObjects}. The default implementation returns + * true iff the object has no action. */ - protected boolean skipActionlessObjects () + protected boolean skipHitObject (SceneObject scobj) { - return true; + return StringUtil.blank(scobj.info.action); } /** diff --git a/src/java/com/threerings/stage/tools/editor/EditorScenePanel.java b/src/java/com/threerings/stage/tools/editor/EditorScenePanel.java index b62757628..2ed42667d 100644 --- a/src/java/com/threerings/stage/tools/editor/EditorScenePanel.java +++ b/src/java/com/threerings/stage/tools/editor/EditorScenePanel.java @@ -961,9 +961,9 @@ public class EditorScenePanel extends StageScenePanel } // documentation inherited - protected boolean skipActionlessObjects () + protected boolean skipHitObject (SceneObject scobj) { - return false; + return false; // skip nothing } /**