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"

Migrating from 4.10 -> 4.12 Factory.CurrentFilename

Hi there,

I am tasked with updating our current pipeline plugins from Unreal 4.10 to Unreal 4.12 and running into lots of issues, but this is the one that has me the most stumped.

We have custom asset import routines, and during that process while importing various assets we create a factory object and fill in its Currentfilename. However that property appears to have been moved to no longer be accessible, and I don't see any new method or property added to allow setting it.

Here is an example:

 auto TextureFact = NewObject<UTextureFactory()>;
 TextureFact->CurrentFilename = MPCLinkUtil::MakeWindowsPath(importedData[0].path);
 

Can anyone help me determine how to migrate this section of code, given we can no longer access that property and I don't see any SetCurrentFilename method (though a GetCurrentFilename method appears to have been added).

Product Version: UE 4.12
Tags:
more ▼

asked Jul 21 '16 at 04:40 PM in C++ Programming

avatar image

John Vanderbeck
146 9 20 36

avatar image John Vanderbeck Jul 25 '16 at 07:03 PM

Answerhub. The place questions go to die :(

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
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