octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #57537] lighting exits with error when scatter


From: Hg200
Subject: [Octave-bug-tracker] [bug #57537] lighting exits with error when scatter combination is used
Date: Sat, 4 Jan 2020 05:09:14 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0

URL:
  <https://savannah.gnu.org/bugs/?57537>

                 Summary: lighting exits with error when scatter combination
is used
                 Project: GNU Octave
            Submitted by: hg200
            Submitted on: Sat 04 Jan 2020 10:09:12 AM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: other
        Operating System: Any

    _______________________________________________________

Details:

execution of

++
hold on;
h1 = scatter3 (1, 0, 0, 20);
h2 = scatter3 ([2,3], [0,0], [0,0], 20);
lighting gouraud;
--

returns with an error but shouldn't. it should be allowed to add scatter
objects also to patch plots when lighting is used. patch objects can be added
to the code above but it does not have an effect. tested with 5.1 on windows
and on linux with 2b78bc0ef3c5.

in lighting.m patch and surface handles are isolated to apply lighting on
those objects only. it looks like the code gets confused because get (parents,
"children") can return a cell but then get (kids, "type") exits with error
because it is not a graphics handle.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57537>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]