Skip to content

Commit

Permalink
bugfix release 0.233.2
Browse files Browse the repository at this point in the history
  • Loading branch information
gisogrimm committed Oct 23, 2024
1 parent 626c90c commit bb38f5e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
1 change: 1 addition & 0 deletions changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
0.233.2: bugfix of tascar_spkcalib
0.233.1:
- add layer property for faces/facegroups (fholzm)
- improve search paths on Windows
Expand Down
2 changes: 1 addition & 1 deletion config.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# variables:
VERSION=0.233.1
VERSION=0.233.2

ARCH=$(shell uname -m)

Expand Down
7 changes: 6 additions & 1 deletion libtascar/src/calibsession.cc
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,13 @@ calibsession_t::calibsession_t(const std::string& fname, const calib_cfg_t& cfg)
// validate scene:
if(scenes.empty())
throw TASCAR::ErrMsg("Programming error: no scene");
if(scenes[0]->source_objects.size() != 2)
if(scenes[0]->source_objects.size() != 2) {
DEBUG(scenes.size());
for(const auto& scene : scenes) {
DEBUG(scene->source_objects.size());
}
throw TASCAR::ErrMsg("Programming error: not exactly two sources.");
}
if(scenes[0]->receivermod_objects.size() != 3)
throw TASCAR::ErrMsg("Programming error: not exactly three receivers.");
scenes.back()->source_objects[0]->dlocation = pos_t(1, 0, 0);
Expand Down
8 changes: 2 additions & 6 deletions libtascar/src/session.cc
Original file line number Diff line number Diff line change
Expand Up @@ -416,9 +416,6 @@ TASCAR::session_t::session_t()
profilermsg = lo_message_new();
pthread_mutex_init(&mtx, NULL);
read_xml();
if(scenes.empty()) {
add_scene(NULL);
}
try {
add_output_port("sync_out");
jackc_transport_t::activate();
Expand Down Expand Up @@ -460,9 +457,6 @@ TASCAR::session_t::session_t(const std::string& filename_or_data, load_type_t t,
pthread_mutex_init(&mtx, NULL);
// parse XML:
read_xml();
if(scenes.empty()) {
add_scene(NULL);
}
try {
add_output_port("sync_out");
jackc_transport_t::activate();
Expand Down Expand Up @@ -706,6 +700,8 @@ void TASCAR::session_t::add_module(tsccfg::node_t src)

void TASCAR::session_t::start()
{
if(scenes.empty())
add_scene(NULL);
started_ = true;
try {
for(auto scene : scenes) {
Expand Down

0 comments on commit bb38f5e

Please sign in to comment.