Project load: use kOfxChangePluginEdited, not kOfxChangeUserEdited, for the clip instanceChanged
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Aptitud para principiantes
- 80/100
- Tipo de issue
- Documentación
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Área
- documentation
Línea de trabajo
Abre include/ofxCore.h alrededor de L362-L365, el bloque de documentación de kOfxActionCreateInstance, y cambia el motivo del clip instanceChanged a kOfxChangePluginEdited. Contrasta los dos lugares que el issue dice que ya coinciden: la documentación de kOfxActionInstanceChanged en L449-L454 del mismo archivo y release-notes-next.md L25. Está terminado cuando los tres nombren kOfxChangePluginEdited y un grep de kOfxChangeUserEdited en los docs no encuentre nada relevante.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
At project load, a plug-in must be able to tell whether a clip connection comes from a user connecting a clip for the first time (when it may change some values) or simply from loading a saved state. With kOfxChangeUserEdited it can't.
Many plug-ins set parameters from an input when the user connects it, on kOfxChangeUserEdited. Examples: setting a filter's premultiplication, or a writer's output premultiplication and frame rate, from the connected input. At project load these values are already restored, so a kOfxChangeUserEdited clip change overwrites them.
Timeline in #184 (implemented by PR #191):
- 2025-05-06, @fxtech: Silhouette sends
kOfxChangePluginEdited. - 2025-05-06, @Guido-assim: asked for
kOfxChangeUserEdited, which Scratch uses: "the user/host attached the clips". - 2025-05-07, @fxtech: argued for
kOfxChangePluginEdited, becausekOfxChangeUserEdited"implies that the user directly fiddled with something": a preset menu would otherwise trigger again on project load and override values. - 2025-05-07, @fxtech: for clips, "I don't think it would matter" which reason.
- 2025-05-08, @garyo: "let's go with kOfxChangeUserEdited since it's already out there in at least one host. I'll make that update in the PR." That update is ae64194, the same day.
- 2025-06-03, @fxtech: "I switched Silhouette to pass
kOfxChangeUserEditedfor clip hookups."
As shown above, and as in @fxtech's preset example, the reason does matter for clips too. The kOfxActionInstanceChanged doc (ofxCore.h L449-L454) and the release notes (release-notes-next.md L25, written later in #254) still say kOfxChangePluginEdited.
Proposal: change the kOfxActionCreateInstance doc (ofxCore.h L364) back to kOfxChangePluginEdited, so all three agree.
- Lenguaje dominante
- C++
- Estrellas
- 590
- Forks
- 160
- Merge medio
- 2 d 22 h
- PR fusionados (30 d)
- 3
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de AcademySoftwareFoundation/openfx
-
standard change
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
AcademySoftwareFoundation/openfx#286 · 3 comentarios ·
-
Metal texture rendering: `kOfxImageEffectPropMetalTextureSupported` / `kOfxImageEffectPropMetalTextureEnabled`Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertostandard change
Dificultad 5/5 Más de una semana Aptitud para principiantes 10/100
AcademySoftwareFoundation/openfx#283 · 1 comentario ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
AcademySoftwareFoundation/openfx#273 · 40 comentarios ·
-
Color Interop IDQuizá libre de nuevo @john-paulsmith la tomó hace 108 días y no hay ningún pull request abierto. Abiertostandard change
AcademySoftwareFoundation/openfx#261 · 1 asignado ·
Todos los issues de AcademySoftwareFoundation/openfx
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
needs-format
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Niko1221/Strata#6475 · 1 comentario ·
Los mantenedores suelen responder en 6 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 4 días
-
Refactor kinematic_links integration test to use EcmScopePosiblemente ocupada @patelshivani2283-lab la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100