I’m changing components .ts files in VS Code and saving them but they don’t update public serializable field types in Blender. Is this by design?
Hello Robyer1,
It appears from the files you’ve shared that changes to TypeScript components in Visual Studio Code might not automatically update the components in Blender. This behavior is likely related to how Needle Engine interacts with Blender and might necessitate some manual steps or configuration adjustments to ensure that changes are properly reflected within Blender.
-
File Watchers: Ensure that the file watchers are set up correctly within Blender’s Needle Engine extension. The
startFileWatcher()
function should be initiated to automatically trigger file changes and regenerate types (see the documentation). -
Component Schemas: Check if there are specific schemas or additional setup required for the components, as indicated in the file structure under
component_registry
or similar files . -
Regenerate Types: You may need to manually trigger regeneration through Blender’s interface or by calling a specific method. Look for any available operators in Blender’s interface related to regenerating components or reloading scripts (see the documentation).
-
Project Configuration: Ensure that your project path and configurations are valid and up-to-date. Any discrepancies in configuration might prevent automatic updates from reflecting properly .
-
Check Latest Addon Version: Verify if you’re working with the latest version of Needle Engine Blender addon, as changes and fixes are regularly added .
For further troubleshooting, consider checking the Needle Engine documentation or accessing Needle-specific community forums for any similar issues experienced by other users. If necessary, you can also contact Needle support for more targeted assistance.
If you continue experiencing issues, you might need to share specific logs or error messages encountered in Blender to better diagnose the problem. Let me know if you have further information or additional specifics on the procedures followed!
17 replies left
thread_3B930f3zCjZCXyEFsnW5Axl1
Reply to this message to continue the conversation
Hi, no this should generally work. Can you share more information and perhaps log files?