← Back to team overview

hugin-devs team mailing list archive

[Bug 1531567] [NEW] Crashes when merging projects with line control points

 

Public bug reported:

(Hugin 2015.0.0 on Windows 7).

I'm trying to merge two projects, one of which contains line control
points (not horizontal or vertical lines). It has more than 1 type of
these line control points (eg, "Line 3", "Line 4", etc. in the control
point "mode" dropdown or the "alignment" column of the control points
table). The merge crashes every time. If I remove the "Line 4+" control
points (Line 3 is fine, horizontal and vertical line is fine), the
projects merge okay.

How to reproduce:

1) Create a new project, import one picture, and save it.
2) Create another new project, import one picture, and go into the Control Points tab. This should show the one image in both the left and right views.
3) Click in the left image, then click in the right image to add a line control point. This will default to horizontal or vertical.
4) If you open the 'mode' dropdown at lower right, you can pick "Add new Line" down at the bottom. When you do this, the control point's "Alignment" will now be "Line 3".
5) Repeat 3) and 4) to create another line control point. This time when you do "Add new Line" it will have alignment "Line 4".
6) Save the project.
7) Go to File>Merge Project, and merge with the other project you created in 1).
8) Hugin crashes.

If I had to guess, I would say the bug has to do with pto_merge not
understanding how to merge control points in the project where the type
is > "t3" (if you open up the project file in a text editor you can see
each control point has one of these, t0= normal, t1 = horizontal, t2 =
vertical, t3+ = "Line 3+".

Obviously this won't be fixed soon, so I'll have to code my own merge
for now, but just thought I'd report it.

Thanks!

** Affects: hugin
     Importance: Undecided
         Status: New


** Tags: control line merge point project

** Description changed:

+ (Hugin 2015.0.0 on Windows 7).
+ 
  I'm trying to merge two projects, one of which contains line control
  points (not horizontal or vertical lines). It has more than 1 type of
  these line control points (eg, "Line 3", "Line 4", etc. in the control
  point "mode" dropdown or the "alignment" column of the control points
  table). The merge crashes every time. If I remove the "Line 4+" control
  points (Line 3 is fine, horizontal and vertical line is fine), the
  projects merge okay.
  
  How to reproduce:
  
  1) Create a new project, import one picture, and save it.
- 2) Create another new project, import one picture, and go into the Control Points tab. This should show the one image in both the left and right views. 
+ 2) Create another new project, import one picture, and go into the Control Points tab. This should show the one image in both the left and right views.
  3) Click in the left image, then click in the right image to add a line control point. This will default to horizontal or vertical.
  4) If you open the 'mode' dropdown at lower right, you can pick "Add new Line" down at the bottom. When you do this, the control point's "Alignment" will now be "Line 3".
  5) Repeat 3) and 4) to create another line control point. This time when you do "Add new Line" it will have alignment "Line 4".
  6) Save the project.
  7) Go to File>Merge Project, and merge with the other project you created in 1).
  8) Hugin crashes.
  
  If I had to guess, I would say the bug has to do with pto_merge not
  understanding how to merge control points in the project where the type
  is > "t3" (if you open up the project file in a text editor you can see
  each control point has one of these, t0= normal, t1 = horizontal, t2 =
  vertical, t3+ = "Line 3+".
  
  Obviously this won't be fixed soon, so I'll have to code my own merge
  for now, but just thought I'd report it.
  
  Thanks!

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1531567

Title:
  Crashes when merging projects with line control points

Status in Hugin:
  New

Bug description:
  (Hugin 2015.0.0 on Windows 7).

  I'm trying to merge two projects, one of which contains line control
  points (not horizontal or vertical lines). It has more than 1 type of
  these line control points (eg, "Line 3", "Line 4", etc. in the control
  point "mode" dropdown or the "alignment" column of the control points
  table). The merge crashes every time. If I remove the "Line 4+"
  control points (Line 3 is fine, horizontal and vertical line is fine),
  the projects merge okay.

  How to reproduce:

  1) Create a new project, import one picture, and save it.
  2) Create another new project, import one picture, and go into the Control Points tab. This should show the one image in both the left and right views.
  3) Click in the left image, then click in the right image to add a line control point. This will default to horizontal or vertical.
  4) If you open the 'mode' dropdown at lower right, you can pick "Add new Line" down at the bottom. When you do this, the control point's "Alignment" will now be "Line 3".
  5) Repeat 3) and 4) to create another line control point. This time when you do "Add new Line" it will have alignment "Line 4".
  6) Save the project.
  7) Go to File>Merge Project, and merge with the other project you created in 1).
  8) Hugin crashes.

  If I had to guess, I would say the bug has to do with pto_merge not
  understanding how to merge control points in the project where the
  type is > "t3" (if you open up the project file in a text editor you
  can see each control point has one of these, t0= normal, t1 =
  horizontal, t2 = vertical, t3+ = "Line 3+".

  Obviously this won't be fixed soon, so I'll have to code my own merge
  for now, but just thought I'd report it.

  Thanks!

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1531567/+subscriptions


Follow ups