[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #42083] Can't set "vertexnormals" to its facto
From: |
Pantxo Diribarne |
Subject: |
[Octave-bug-tracker] [bug #42083] Can't set "vertexnormals" to its factory default |
Date: |
Wed, 09 Apr 2014 22:11:39 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0 |
URL:
<http://savannah.gnu.org/bugs/?42083>
Summary: Can't set "vertexnormals" to its factory default
Project: GNU Octave
Submitted by: pantxo
Submitted on: mer. 09 avril 2014 22:11:39 GMT
Category: Plotting
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Regression
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
The following used to work in 3.6.4 and works in Matlab:
su = surface ();
set (su, "vertexnormals", get (0, "factorysurfacevertexnormals"))
## error: invalid value for array property "vertexnormals"
-verbatim+
Here the factory default is an empty matrix (as in matlab), but there is a
constraint on "vertexnormals" that prevent empty matrices. It was probably
introduced by changeset [1].
I attached a patch.
[1] http://hg.savannah.gnu.org/hgweb/octave/rev/94dd9bba06a0
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: mer. 09 avril 2014 22:11:39 GMT Name: allow_empty_vertexnormals.patch
Size: 727 o By: pantxo
<http://savannah.gnu.org/bugs/download.php?file_id=31147>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?42083>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #42083] Can't set "vertexnormals" to its factory default,
Pantxo Diribarne <=