x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Override FTransform and FVector Edit Widget to show in different editor modes

Hello,

Currently we have a actor that has 2 FTransforms and they're both MakeEditWidget, however when we switch to our own editor mode tab(tabs such as Landscape, bsp, foliage), this EditWidget dissapears until you go back to "Place" Editor mode.

Is there a way so we can override the EditWidget to appear in our own editor module or a setting on the editor module that will allow this to be shown?

Product Version: UE 4.18
Tags:
more ▼

asked Feb 07 '18 at 11:40 AM in C++ Programming

avatar image

Panda Studios
581 17 22 42

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

This should be a good place to place a breakpoint and see why the property widget was not created in the edit mode

 bool FEdMode::ShouldCreateWidgetForProperty(UProperty* InProp)
 {
     return CanCreateWidgetForProperty(InProp) && InProp->HasMetaData(MD_MakeEditWidget);
 }
 

>Code Link<

more ▼

answered Feb 07 '18 at 02:56 PM

avatar image

Ali Akbar
676 2 5 8

avatar image Panda Studios Feb 09 '18 at 11:41 AM

Seems like this isn't even being called except when in the place mode. Doesn't work in other modes either. I'll have to dive into source code further to see if there's a possibility to hook into it

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question