Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VRM10] VRM10Expression のカスタムエディターの修正 #1118

Merged
merged 5 commits into from
Aug 3, 2021

Conversation

ousttrue
Copy link
Contributor

  • Extract 時に Preview用のPrefab をセットする
  • コード整理
    • 未使用削除
    • 一つしか継承しないので、継承やめ
  • null check
  • Preview用シーンの生成タイミングを遅延(prefabセット時ではなく、previewを使う直前)

* m_scene のライフサイクルを整理(生成を遅延。OnDestroyとPrefabが変更された時に破棄)
何故か null の時がある
@ousttrue ousttrue requested a review from Santarh July 29, 2021 08:57
@@ -8,26 +8,231 @@
namespace UniVRM10
{
[CustomEditor(typeof(VRM10Expression))]
public class ExpressionEditor : ExpressionEditorBase
public class ExpressionEditor : Editor
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

継承止め、 不要な protected, virtual, override, abstract を削除

Copy link
Contributor

@Santarh Santarh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

継承解消

@ousttrue ousttrue merged commit 8d193fd into vrm-c:master Aug 3, 2021
@ousttrue ousttrue added this to the v0.80 milestone Aug 6, 2021
@ousttrue ousttrue deleted the fix10/fix_expression_editor branch October 27, 2021 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants