Skip to content

Commit

Permalink
Fix: Build error
Browse files Browse the repository at this point in the history
  • Loading branch information
nutti committed Aug 13, 2023
1 parent 2e8a79e commit 4d78047
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/fake_bpy_module/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,10 +576,8 @@ def _analyze_by_rule(
# replace windows path separator
target_files = [f.replace("\\", "/") for f in rule.target_files()]
# analyze all .rst files
if self._config.target == "upbge":
rule.analyzer().enable_bge_support()
if self._config.blender_version is not None:
rule.analyzer().set_blender_version(self._config.blender_version)
rule.analyzer().set_target(self._config.target)
rule.analyzer().set_target_version(self._config.target_version)
result = rule.analyzer().analyze(target_files)

return result
Expand Down

0 comments on commit 4d78047

Please sign in to comment.