Skip to content

Use blender executable instead of blender directory#74409

Open
CharlieQLe wants to merge 3 commits intogodotengine:masterfrom
CharlieQLe:blend
Open

Use blender executable instead of blender directory#74409
CharlieQLe wants to merge 3 commits intogodotengine:masterfrom
CharlieQLe:blend

Conversation

@CharlieQLe
Copy link
Copy Markdown

This is an implementation of my proposal here.

In my very limited testing, it works, but there may be errors that occur on other systems since I'm running Godot in a Fedora 37 container. There may also be files that need to be corrected too, but this should be a good place to start.

@CharlieQLe CharlieQLe requested a review from a team as a code owner March 5, 2023 01:36
Copy link
Copy Markdown
Contributor

@RedMser RedMser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On Windows, there is also a second .exe file in the Blender folder blender-launcher.exe. Need to make sure picking either of those works fine (passing along launch parameters, possibly keep stdin/stdout for the future).

Better solution: You can add a filter to the file picker. If you can filter by filename in there, doing a filter for blender / blender.exe would negate my concerns.

Comment thread modules/gltf/editor/editor_scene_importer_blend.cpp Outdated
@fire
Copy link
Copy Markdown
Member

fire commented Mar 11, 2023

Are you able to push the changes to fix the whitespace error?

@CharlieQLe
Copy link
Copy Markdown
Author

Haven't had time to continue working on this, especially since I found a workaround to the PR for the Godot Flatpak. I would still like to get this to select the Blender executable however, for consistency.

@YuriSizov YuriSizov modified the milestones: 4.1, 4.x Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants