Blender Git Loki

Git Commits -> Revision 9f79d8a

Revision 9f79d8a by Tamito Kajiyama (master)
July 27, 2009, 20:13 (GMT)
* freestyle_init.py: Removed all classes for wrapping extension types.
This allows users to test the types of those objects that are returned
by API functions, by means of usual Python idioms such as "type(I) is T"
and "isinstance(I, T)".

* Removed all occurrences of ViewVertex::castToTVertex() in the following
modules and rewrote the code segments using it by means of the "type(I)
is T" idiom mentioned above:

ChainingIterators.py
PredicatesU1D.py

* Replaced all occurrences of vector.Vec2, vector.Vec3, Vec2f and Vec3f
by Blender.Mathutils.Vector in the following modules:

anisotropic_diffusion.py
Functions0D.py
shaders.py
sketchy_topology_broken.py

* shaders.py: Fixed NameError's concerning math.pow().

* shaders.py: Added a Python equivalent of getFEdge function, defined
in sourceblenderfreestyleinternview_mapFunctions0D.cpp as follows:

FEdge* Functions0D::getFEdge(Interface0D& it1, Interface0D& it2) {
return it1.getFEdge(it2);
}

* shaders.py: Replaced fe.qi() by fe.viewedge().qi().

* contour.py: Fixed the import statement for freestyle_init.py.

Commit Details:

Full Hash: 9f79d8ae6766e6a8b155674ad1b9e747f4b70235
SVN Revision: 21947
Parent Commit: fe5b6a5
Lines Changed: +150, -619

8 Modified Paths:

/release/scripts/freestyle/style_modules/anisotropic_diffusion.py (+0, -1) (Diff)
/release/scripts/freestyle/style_modules/ChainingIterators.py (+16, -24) (Diff)
/release/scripts/freestyle/style_modules/contour.py (+1, -1) (Diff)
/release/scripts/freestyle/style_modules/freestyle_init.py (+1, -459) (Diff)
/release/scripts/freestyle/style_modules/Functions0D.py (+3, -3) (Diff)
/release/scripts/freestyle/style_modules/PredicatesU1D.py (+12, -12) (Diff)
/release/scripts/freestyle/style_modules/shaders.py (+115, -117) (Diff)
/release/scripts/freestyle/style_modules/sketchy_topology_broken.py (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021