Revision 8584507 by Joshua Leung July 28, 2009, 03:54 (GMT) |
2.5 - Start of Make Proxy Operator The code has been ported to the operator+rna system, however, there are currently issues related to how the pointer-rna's work for use as operator properties. (NOTE: RNA_property_pointer_set only takes into account builtin props for now, but not id-props, while the corresponding get method seems to take them into account) The alternative to using pointer-properties for the operator, is to store strings and look up the relevant objects later, but there should be a nicer way... |
Revision ddb09d3 by Campbell Barton July 28, 2009, 01:48 (GMT) |
[#19036] blender should use 'static inline' in BKE_cloth.h to work with C99 Török Edwin (edwintorok) this was the only thing stopping blender being compiled with clang |
Revision fe881aa by Campbell Barton July 28, 2009, 01:06 (GMT) |
- lamp UI was missing y samples for rectangle area lamps - returned ID types from RNA funcs didnt get their ID's assigned which crashed in some cases (still not working for members of ID types). - ob.create_remder_mesh() wasnt assigning any materials. |
Revision 993ded0 by Tamito Kajiyama July 28, 2009, 00:34 (GMT) |
Revision bf0365c by Tamito Kajiyama July 28, 2009, 00:29 (GMT) |
* BPy_IntegrationType.cpp: Added a Python wrapper of integrate function. * Fixed uninitialized fields in the "__init__" methods of UnaryFunction0D types. Also added missing argument validation codes to some of the types, and removed redundant validation error messages. |
Revision 396ebf0 by Campbell Barton July 27, 2009, 22:41 (GMT) |
better loading partially written TARGA's, dont read over the end of the buffer and set the remaining pixels 0. |
July 27, 2009, 22:15 (GMT) |
* scons changes for mac osx intel / precompiled python 3.1 Feedback (especially on < 10.5) would be most appreciated! |
July 27, 2009, 22:02 (GMT) |
* cmake / mac - unzip python modules from /lib/release into .blender/python on build This last commit should make everything right for compiling out of the box with python 3.1 on Mac OS X intel. I've been testing/developing this on 10.5 and I'd be very interested to hear feedback from people on other OS versions! Scons and PPC to go... |
Revision 09fd0a5 by Thomas Dinges July 27, 2009, 20:39 (GMT) |
2.5 Part 1 of Layout Code Cleanup: * Again, some layout code cleaning. * Made assignments more consistent. I started to write code guidelines in the wiki: http://wiki.blender.org/index.php/LayoutFiles-Code_Guidelines Matt/William: You are welcome to change them or add new infos, I will continue on improving them as well in the next few days. |
Revision 9f79d8a by Tamito Kajiyama 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. |
Revision fe5b6a5 by Tamito Kajiyama July 27, 2009, 19:34 (GMT) |
* Fixed compiler errors in UnaryFunction0DVectorViewShape::__call__() and UnaryFunction1DVectorViewShape::__call__(). * Added a Python wrapper of ViewEdge::qi(). |
Revision 793324e by Shaul Kedem July 27, 2009, 19:33 (GMT) |
small msvc fix |
Revision fcba277 by Tamito Kajiyama July 27, 2009, 19:31 (GMT) |
Changed DIR_SEP for WIN32 from "\\" (double backslashes) to "\" (single backslash). |
Revision a869bdc by Andrea Weikert July 27, 2009, 19:06 (GMT) |
2.5 file browser New: * added filter and display to some operator properties. Now file browser opens showing only .blend files and folders on file->open and on image->open changes to image display and only shows images and movies. Fixes: * fixed stupid removal of wrong prototype in last commit * fixed a few warnings |
Revision eb40d8e by Campbell Barton July 27, 2009, 18:50 (GMT) |
render api utility function to initialize a render layer from an image rather then loading through python. lay = result.layers[0] lay.rect_from_file("somefile.png", part.x, part.y) If the source image is bigger then the render layer x/y offsets can be used to choose the part of the image use. |
Revision 324187b by Elia Sarti July 27, 2009, 18:26 (GMT) |
2.5 / Drag & Drop Small tweak for MOUSEDRAG/DROP event generation |
Revision 9dc819a by Campbell Barton July 27, 2009, 18:17 (GMT) |
readonly face normal option eg. me.faces[0].normal |
Revision a5d8e6e by Chingiz Dyussenov July 27, 2009, 17:43 (GMT) |
Changed textures import. Although code is still difficult to understand. |
Revision 52f6392 by Tamito Kajiyama July 26, 2009, 20:20 (GMT) |
Second attempt to fix a null pointer reference in deallocators of built-in types (the first was in revision 21877). When an exception has raised within from the __init__ method of a user-defined class derived from a built-in type (e.g., UnaryPredicate0D and BinaryPredicate1D), some member variables of the base type are left uninitialized, leading to a null pointer reference in the "__dealloc__" function in the base type. To avoid this, pointer checking was added in the deallocators of those built-in types that can be used to define a subclass by a user. |
Revision d0422de by Andrea Weikert July 26, 2009, 19:23 (GMT) |
2.5 file browser * fix some notifiers, so directory is correctly shown |
|