GraphiteEditor / GraphiteEditor/Graphite

Path nodes should be able to edit multiple vector table rows

Abierto
#1,822 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Graphene Paper Cut
Lenguaje dominante
Rust
Estrellas
27.2k
Forks
1.3k
Merge medio
20 h 5 min
PR fusionados (30 d)
57

Descripción

The *Path* (vector modify) node must store modifications for each shape's element ID now that we support multiple rows of vector data thanks to the work in #1834.

For now, we can do this based on index:

> you'd need a `HashMap` which would require refactoring all of the tools

(we don't have `RowId` yet, so we can use `usize` for its row index instead: `HashMap`)

In the future, we can attempt a smarter way of generating unique IDs: #1821.

Related: #1929.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Start by locating the Path (vector modify) node and how it stores VectorModification data, then review the multiple-row vector work in #1834. Update the storage so each shape element index retains its own modification; done means edits to multiple vector table rows remain independent.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
rust
Área
computer-graphics
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.