Skip to content

Cannot insert new point in gradient with double click #3028

@0HyperCube

Description

@0HyperCube

Cannot insert new point in gradient with double click. The following messages are sent:

  • Gradient PointerDown
    • StartTransaction
  • Gradient PointerUp
    • EndTransaction
    • Enqueue graph execution
  • Doubleclick
    • InsertPoint fails because of having no document metadata.
  • Execute graph

The cause of the insert not working is because the DocumentMetadata is blank. This is because the clone of the NodeNetworkInterface is manually implemented to not clone the DocumentMetadata and just reset it to the default empty value (for reasons known only to @adamgerhant).

Since by issuing the StartTransaction EndTransaction in series, the cloned version of the NodeNetworkInterface is used, the data is completely cleared. This is likely why a new graph execution is enqueued.

However for reasons of @TrueDoctor's fun new message scheduling system, the DoubleClick message is actually executed before the DocumentMetadata can be populated.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Short-Term

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions