Blender Git Commits

Blender Git "master" branch commits.

Page: 4642 / 5574

July 18, 2009, 19:42 (GMT)
missed this file in last commit.
July 18, 2009, 19:40 (GMT)
initialize keymaps after python so python keymaps, solves the problem of keymaps complaining about python operators not existing, but at the expense of some annoying init flags/functions. :/
Brecht/Ton you may want to check that C->data.py_init is a good place to store this.
July 18, 2009, 18:33 (GMT)
Fixed a bug that the parameter panel did not correctly work when
a new file was created or an existing file was loaded.
July 18, 2009, 16:27 (GMT)
fixes for errors on startup and compiler errors and draw speedup.

* Drawing the console text now skips all lines outside the view bounds.

* Added dummy C operators for console.exec and console.autocomplete so blender wont complain at startup, its not really a problem but people testing reported it a few times. Eventually we should have some way python operators are initialized before the spaces operators are checked.

* reordered the imports so the "ui" dir is imported before "io", for now this means bpy.ops is defined before exporters and importers need to use it, was causing a python error on startup.

* fixed all compiler warnings for the console (gcc4.4)

* stopped operators were printing out the return flag.

* removed references to ACT_OT_test, TEXT_OT_console_exec and TEXT_OT_console_autocomplete
Revision 75b8bad by Elia Sarti
July 18, 2009, 15:14 (GMT)
2.5 / RNA Fix for render layers' rendering options
Was using same flag for all options
July 18, 2009, 15:02 (GMT)
Second round of transform mouse buttons experiment.

Confirm on LMB up but cancel on RMB down.

This works well with hotkeys, manipulator, RMB+drag and gesture (when they are added back).

The question is do we stick with one scheme for all or have separate keymaps for different "calling mode".
July 18, 2009, 14:55 (GMT)
Use verb for operator names

Translation -> Translate
Rotation -> Rotate
July 18, 2009, 13:29 (GMT)
2.5/Sculpt:

* Fixed the NKEY panel not updating when switching to sculpt mode
* Removed some old XXX'd code for testing textures, can replace that now with proper brush-texture UI

Revision 3a32411 by Joshua Leung
July 18, 2009, 11:39 (GMT)
2.5 - Removing quick test operator that I added by mistake

It was used to quickly test that the red-black tree was being built correctly, but was really an incomplete operator...
July 18, 2009, 11:32 (GMT)
2.5

Fix for Makefile to use GLEW in console editor

Revision 169a87c by Joshua Leung
July 18, 2009, 07:11 (GMT)
2.5 - Optimisations for Keyframe Drawing in DopeSheet

Keyframes are now prepared for drawing by being added to a binary-tree structure instead of using insertion-sort on a Double-Linked List. This gives rather significant improvements on a few bad cases (*).

I've implemented a basic Red-Black Tree whose nodes/data-structures can also be used as a simple Double-Linked List (ListBase) for this purpose. The implementation of this tree currently does not have support for removing individual nodes, since such capabilities aren't needed yet.

Stats (using keyframes from an imported .bvh animation file):
* When only the keyframes are drawn (i.e. long keyframes are not identified), the time needed to draw the DopeSheet region 10 times went down from 4000ms to about 300ms.
* When long keyframes are considered as well, the same test has gone from 6000ms to 3000ms. There is still a bottleneck there that I haven't been able to remove yet (an attempt at this made the runtimes go through the roof - 32000 ms for the test done here).

Assorted Notes:
* Added missing headers for some files
* Fixed profiling flags for mingw. There was an extra space which prevented the sound-code from compiling.
July 18, 2009, 07:01 (GMT)
worked for me but broke building for eman, this fixes (both on linux which is confusing).
July 18, 2009, 05:26 (GMT)
removed BeOS dirs (BeOS isn't supported anymore)
removed unneeded includes for the console.

Revision d1bafa0 by Joshua Leung
July 18, 2009, 04:16 (GMT)
2.5 - Quick fix for NLA drawing

When some object had materials that may have been driven/animated, a crash could sometimes occur if some material-slot had no material.
July 18, 2009, 04:09 (GMT)
patch from oxben (Benjamin)
* fixes two typos in the material buttons: "Recieve" -> "Receive"
* adds a missing preference in the User Preferences view: "Rotate Around Selected"
Revision ab06180 by Joseph Eagar
July 18, 2009, 00:57 (GMT)
fix link problem
July 17, 2009, 19:09 (GMT)
Another try with building better trees (this should never make worst trees)
Expected number of BB tests should reduce a bit (depending on the scene)
Revision 4fb2035 by gsr b3d
July 17, 2009, 18:35 (GMT)
Source code with executable property, manual fix. *sigh*
July 17, 2009, 12:35 (GMT)
patch from William, adds some rna user prefs and adjusts prefs UI.
July 17, 2009, 12:26 (GMT)
python access to operators now hides the _OT_ syntax, eg. SOME_OT_operator -> some.operator
this works for the calling operators from python and using the RNA api.

bpy.ops.CONSOLE_exec() is now bpy.ops.console.exec()

eg.
split.itemO("PARTICLE_OT_editable_set", text="Free Edit") becomes... split.itemO("particle.editable_set", text="Free Edit")

For now any operator thats called checks if its missing _OT_ and assumes its python syntax and converts it before doing the lookup.

bpy.ops is a python class in release/ui/bpy_ops.py which does the fake submodules and conversion, the C operator api is at bpy.__ops__

personally Id still rather rename C id-names not to contain the _OT_ text which would avoid the conversion, its called a lot since the UI has to convert the operators.

By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021