Editing

Involved development of the OpenMW construction set.
Post Reply
User avatar
sirherrbatka
Posts: 2121
Joined: 07 Aug 2011, 17:21

Editing

Post by sirherrbatka » 28 Jan 2014, 11:48

hello,

Currently we do not have a way to edit record properties outside of collection ─ and honestly I don't think we should have such option (correct me if I'm wrong). Instead I propose to create object that could encaspulate edit actions. This object will have a public interface accepting Record and will be responsible for performing actual data manipulation trough the metafunctions.

After creating such object in the command it can be passed to the collection where it can access Records.

In addition to above, we could use the same method to alter coordinates of cloned and created cell records.

I learned enough about collections and commands to implement this, but not sure how much time it could take. :roll:

User avatar
Zini
Posts: 5134
Joined: 06 Aug 2011, 15:16

Re: Editing

Post by Zini » 28 Jan 2014, 11:59

Currently we do not have a way to edit record properties outside of collection ─ and honestly I don't think we should have such option (correct me if I'm wrong)
Directly editing collections is perfectly fine, as long there is no view for them yet. This is used during loading. Beyond that all editing has to go through commands and the table models.
Instead I propose to create object that could encaspulate edit actions. This object will have a public interface accepting Record and will be responsible for performing actual data manipulation trough the metafunctions.
Why would we need that? We already have the commands and the table models. Is there anything these can't do?

User avatar
sirherrbatka
Posts: 2121
Joined: 07 Aug 2011, 17:21

Re: Editing

Post by sirherrbatka » 28 Jan 2014, 12:03

If direct editing is ok, there is no need for a such solution I guess.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest