1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/xde/bug27701
dpasukhi ea86bfe2fa Testing - Removing direct DCAF loading #147
DCAF require VISUALIZATION for correct work.
  In some scenario DRAWEXE can generate a dublicates of the
  internal static singletons. This means each dynamic library
  will have their own instance of the static singleton.
Update all direct library loading to use the DCAF plugin
  mechanism. This will ensure that the DCAF plugin is loaded
  only once and that the correct instance is used.
Originally issue is reproduced only Linux with dlopen with "RTLD_LAZY".
Can be resolved additionally adding "RTLD_LAZY | RTLD_GLOBAL" for dlopen
2024-11-05 17:00:06 +00:00

17 lines
309 B
Plaintext

puts "========"
puts "OCC27701: C r a s h when export empty solid to STEP"
puts "========"
puts ""
pload OCAF
restore [locate_data_file bug27701.brep] s
NewDocument D
XAddShape D s
XSetColor D 0:1:1:1 1 0 0 s
set aTmpFile ${imagedir}/${casename}_tmp.stp
WriteStep D $aTmpFile
file delete -force $aTmpFile