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

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

[Octave-bug-tracker] [bug #47791] "surface" and "patch" do not support "


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #47791] "surface" and "patch" do not support "FaceNormals" and "*NormalsMode"
Date: Thu, 2 Jun 2016 18:17:32 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0

Follow-up Comment #5, bug #47791 (project octave):

That patch had an unexpected side effect: When "reset" is called on a patch or
surface, the warning that "normalmode" was deprecated is issued. That warning
could possibly confuse unaware users. (Or it might throw an error for "reset"
if the warning state of "Octave:deprecated-property" was set to "error".)

Steps to reproduce:

hp = patch;
reset (hp)

hs = surface;
reset (hs)


Attached please find a patch that skips "normalmode" for patch and surface
objects when reset.
As "normalmode" is always shadowed from "vertexnormalmode", there is no need
to reset it anyway.

(file #37361)
    _______________________________________________________

Additional Item Attachment:

File name: normalmode_reset.patch         Size:2 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47791>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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