Revision 0054e6d by Campbell Barton December 26, 2008, 03:56 (GMT) |
* added RNA_property_as_string to rna_access.c - can print most types except for pointers and collections. * WM_operator_pystring to print the python func+args for an operator * call WM_operator_print(op) in wm_operator_invoke(), simple echo mode should be moved later. |
Revision 27d0394 by Nathan Letwory December 26, 2008, 02:06 (GMT) |
2.5 / RNA * two more small warning fixes. |
Revision 1d36704 by Nathan Letwory December 26, 2008, 02:02 (GMT) |
2.5 / RNA * assorted fixes for resolving compile warnings * in rna_armature setting for envelope weight was bug, since it was setting dist instead. |
Revision 2a2e720 by Nathan Letwory December 26, 2008, 01:37 (GMT) |
2.5 / RNA / Nodes * some work on node types. |
Revision 9104f67 by Nathan Letwory December 26, 2008, 00:12 (GMT) |
2.5 / SCons * Silence warning - there's no blc lib anymore :) Player won't build now anyway, as some bad level calls need to be cleaned up. |
Revision d464148 by Nathan Letwory December 26, 2008, 00:10 (GMT) |
2.5 / RNA / Material * Flare settings * some code reorganisation for readability. |
Revision 161e491 by Nathan Letwory December 25, 2008, 22:00 (GMT) |
2.5 / RNA: Material * Ray Transparency settings |
Revision ab369c2 by Nathan Letwory December 25, 2008, 20:41 (GMT) |
2.5 / Nodes * almost all header menu drawing is back, no real actions yet, though. |
Revision b917e1a by Nathan Letwory December 25, 2008, 20:14 (GMT) |
2.5 / Nodes * fix warnings for msvc |
Revision d438a86 by Nathan Letwory December 25, 2008, 18:29 (GMT) |
2.5 / Nodes * header menu drawing |
Revision 00fd6c5 by Nathan Letwory December 25, 2008, 16:02 (GMT) |
2.5 / SCons Make sure we can build WITH_BF_PYTHON=False |
Revision de9437e by Campbell Barton December 25, 2008, 14:17 (GMT) |
* temporary PKey in the script and 3D view runs "./test.py" (for testing PyOperators that need to run in the user interface context atm) * added ED_SCRIPT_OT_run_pyfile that takes a filename argument. * RNA_property_string_set didn't add a value to ID props if the prop wasnt there (like ints, floats and bools do) * bpy_operator.c - raise an error when unknown keyword args are passed to any operator . Examples of bpy operator api... bpyoperator.ED_VIEW3D_OT_viewhome(center=1) bpyoperator.ED_SCR_OT_frame_offset(delta=10) bpyoperator.ED_VIEW3D_OT_make_parent(type='OBJECT') At the moment there is no way to stop the operators .invoke() function from running so ED_VIEW3D_OT_make_parent still opens the menu even though it doesn't need to. |
Revision d7e8bec by Joshua Leung December 25, 2008, 11:09 (GMT) |
View2D: Border-Zoom tool From the Christmas goodie-bag, I've added the border-zoom tool (also known as 'Zoom to Border'). This can be activated using the Shift-ZKEY hotkey (Note: this probably won't be the final hotkey choice, but I'm trying to keep Shift-BKEY free for data-editing tools). With this method of zooming, you define a border for the current viewable area to 'fit' into. * drawing the region with LMB will zoom in the view by focussing in on the defined region * drawing the region with RMB will zoom out of the view by shrinking the view into the defined region |
Revision 46d5051 by Campbell Barton December 25, 2008, 10:48 (GMT) |
* PyOperators now parse args using the PyRNA api (wraps ID props internally), this means it can reuse the function for converting python to RNA types - giving more useful errors. * Incorrect enum args lists valid values in their exception message (used for PyRNA and PyOperators). * remove bpy_idprop.c and bpy_idprop.h PyOperators are not usable since they run outside the UI loop atm. |
Revision aa56346 by Campbell Barton December 24, 2008, 21:53 (GMT) |
* disable back buffer selection drawing while projection painting (was redoing for every update while painting) * remove unneeded return from game engines py api - ConvertPythonToGameObject |
Revision 0d7027e by Nathan Letwory December 24, 2008, 21:33 (GMT) |
2.5 / SCons / BGE * this should bring back BGE with scons building. Tested on scons/msvc, will test scons/gcc in a bit NOTE: this is not WITH_BF_PLAYER yet. |
Revision 13e8e93 by Nathan Letwory December 24, 2008, 21:23 (GMT) |
2.5 BGE * dna property types had define names renamed for RNA, do that here too. |
Revision febb2c2 by Ton Roosendaal December 24, 2008, 18:06 (GMT) |
2.5 Further simplifying making operators with menus; now you can add an 'invoke' callback: WM_menu_invoke which will automatically generate a menu with choices and assign it to the property 'type'. What also helps typing is the new RNA_enum_is_equal() function. Here's a paste of the now committed 'clear parent'. Note the undo push will become a flag too. http://pasteall.org/3660 (Brecht; fixed small bug in RNA_enum_is_equal!) To evaluate: solving dependencies for multipe scenes... probably will make a more generic flush call. |
Revision cbebe4a by Campbell Barton December 24, 2008, 15:46 (GMT) |
* bpy curve api wouldn't give correct errors for bad arguments when appending nurbs. * the radius on the curves first point was ignored. * mesh_edges2curves.py was giving all points a tilt of 1.0 |
Revision 3c612bc by Ton Roosendaal December 24, 2008, 14:52 (GMT) |
2.5 Fix: popup menus were not freeing operators. Made a new Popup menu call for this case: uiPupmenuOperator(C, maxrow, op, propname, menustr); It will set enum "propname" to the menu item and call operator, register it optionally and free it. Use it in "invoke" calls. Next: automatic menu generating for enum properties! |
|
|
|


Master Commits
MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021