Skip to content

Commit

Permalink
[3D_View] Avoid using the interposer with KiCad 5
Browse files Browse the repository at this point in the history
  • Loading branch information
set-soft committed Jul 15, 2022
1 parent 8f44962 commit 0780822
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pcbnew_do
Original file line number Diff line number Diff line change
Expand Up @@ -1302,7 +1302,7 @@ if __name__ == '__main__':
cfg.video_name = 'pcbnew_'+args.command+'_screencast.ogv'
# Name of the interposer library
interposer_lib = os.path.abspath(os.path.join(os.path.dirname(kiauto.misc.__file__), 'interposer', 'libinterposer.so'))
if not os.path.isfile(interposer_lib):
if cfg.ki5 or not os.path.isfile(interposer_lib):
interposer_lib = None
else:
os.environ['LD_PRELOAD'] = interposer_lib
Expand Down

0 comments on commit 0780822

Please sign in to comment.