Coder Social home page Coder Social logo

Component Visualizers and Details Customizations dont work inside BlueprintEditorViewport about ue4-editorscriptingtoolsplugin HOT 4 OPEN

houssinemehnik avatar houssinemehnik commented on July 22, 2024
Component Visualizers and Details Customizations dont work inside BlueprintEditorViewport

from ue4-editorscriptingtoolsplugin.

Comments (4)

HoussineMehnik avatar HoussineMehnik commented on July 22, 2024 1

For Viewport drawing, interactions... ( for EditorModes and ComponentVisualizers ) I choosed to avoid performance issues do it only the CurrentLevelEditingViewport only this is why VisualizerBlueprint functions are not called when the component is selected in BlueprintEditorViewport.

To make it work you can comment this condition "LevelEditingViewportUtils::IsCurrentLevelEditingViewport" in NativeComponentVisualizerInstance

from ue4-editorscriptingtoolsplugin.

MrTapa avatar MrTapa commented on July 22, 2024

I am coming up empty on solutions for the component visualizer not working, for the Details Customization, I did go down the route of getting outer, from CustomizedObjects, then getting the class, and then CDO, and from there the component's archetype, which did result in allowing me to make changes, but those are now changes to the CDO, and wouldn't get propagated unless the whole blueprint was recompiled. So I feel like that was the wrong direction to go towards

from ue4-editorscriptingtoolsplugin.

HoussineMehnik avatar HoussineMehnik commented on July 22, 2024

To be able to Customize the CDO in the BlueprintEditor you will need to set "AllowDefaultObjectCustomization" to true (Under "CustomizedClass" property )

from ue4-editorscriptingtoolsplugin.

MrTapa avatar MrTapa commented on July 22, 2024

To be able to Customize the CDO in the BlueprintEditor you will need to set "AllowDefaultObjectCustomization" to true (Under "CustomizedClass" property )

Yes, that flag works as expected for actually editing the CDO, but what I am talking about is editing a component instance in another blueprint.

Lets say I create a details customization for the CharacterMovementComponent class, add a couple of widgets to categories, and have those execture some logic. If I then go an open any character BP, click on the CMC, I will see the details customization and the widgets will be added correctly, however, I'll be unable to modify that component

from ue4-editorscriptingtoolsplugin.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.