Blender Git Commits

Blender Git "master" branch commits.

Page: 4632 / 5574

July 26, 2009, 18:56 (GMT)
indentation error with some operators (strip the descriptions)
if 0'd the exec() workaround for running python scripts incase windows devs want to test.

theeth said the problem is when you compile a debug blender against a non debug python (or the ther way I assume), you can get a FILE struct mismatch.

A quick way to test this on windows is to run this from the command line.
blender -P somescript.py

Somescript.py can be anything
July 26, 2009, 18:52 (GMT)
2.5 file browser
* operator for create new directory activated (IKEY)
* operator for rename (works on files and directories so far) (CTRL+LMB)

Note: fail to rename is rather quiet, no message popup, just doesn't rename if it can't.
So far checked that (On Windows Vista) rename fails on system directories, which I think acceptable.

Note: I removed the code that (silently) deletes file if I rename file to an existing one. Considered harmful :)

July 26, 2009, 18:18 (GMT)
misc py/rna changes

- running a script from a file now uses the PyRun_File(FILE *, ...) rather then PyRun_String("exec(open(r'/somepath.py').read())"...), aparently FILE struct on windows could not ensured to be the same between blender and python, since we use our own python on windows now it should be ok.

- generating docs works again (operator update for py style syntax broke them)

- python operator doc strings was being overwritten

- added rna property attribute "default" to get the default value of a property, not working on arrays currently because variable length arrays are not supported.

July 26, 2009, 17:29 (GMT)
Reverted the change in revision 21877 in Interface0D___dealloc__().
July 26, 2009, 16:31 (GMT)
2.5 Layout files:

* Removed __idname__ from all panels.
Note: Operator classes still need that id. Don't remove it there.
July 26, 2009, 16:15 (GMT)
Made predicate and function types callable in the sense that
callable(I, T) returns True when I is an object of a type T or
of a subtype of T. Also implemented a measure to avoid an
infinite loop when user-defined predicate and function classes
do not properly overload the __call__ method (including the
cases of directly instantiating the base classes such as
UnaryPredicate0D and BinaryPredicate1D).
Revision 006937b by Joseph Eagar
July 26, 2009, 14:58 (GMT)
bmeshafied edge rotate.
Revision 22bd3c8 by Joseph Eagar
July 26, 2009, 13:26 (GMT)
revert part of this thing I was doing with ccgsubsurf
Revision 0b6066c by Joseph Eagar
July 26, 2009, 13:12 (GMT)
replaced use of bmesh tesselator with scanfill when leaving edtmode and generating the mface tesselation data. also fixed a normals problem.
July 26, 2009, 13:10 (GMT)
2.5 Space RNA:

* Added Key Map Editor to Outliner "display_mode" RNA.
July 26, 2009, 12:52 (GMT)
2.5

First step towards keymap editor!
Before getting too excited:
- doesn't save yet
- no rna properties can be defined
- no insert/remove keymap options yet
- no option yet to set 'key press/release'

But what does work;
- Keymap list is in outliner, new category
(Keymaps are listed in order as being created now)
- enable/disable a keymap entry: click on dot icon
- it displays python api names for ops
- browse new operator for keymap (menu button)
- set keymap to use other keys, mouse or tweak events
- four modifier key options

I first intent to test it all well, there are still
quite some modal map conflicts (like border select) and
there's problems assigning items to tweaks

Another issue is that a visual editor for keymaps might be
quite hard to use... the amount of data and options is just not
so fun for a buttons menu. There are ways to improve this though.
Maybe do this via a script?



July 26, 2009, 12:49 (GMT)
2.5 file browser
* enable large file size for WIN64 too.
July 26, 2009, 12:40 (GMT)
2.5 filebrowser
Bugfixes:
* crash when loading file that has filebrowser open
* file size over 2GB/4GB? shows negative number
Other:
* tried to improve drawing speed a bit by only drawing the files actually shown and improving refresh behaviour a bit.

Note: Solution I found so far is to use the non-standard _stat64, as far as I could see, WIN64 should work without that patch (Genscher, please check and if needed you can enable this too by removing the !defined(WIN64) )
This probably needs to be fixed in at least one other place (BLI_filesize), will look into this once this fix proves stable enough)
Revision 4e024a1 by Joshua Leung
July 26, 2009, 11:57 (GMT)
2.5 - 'Reset' buttons for Limit Distance and Stretch To Constraints
July 26, 2009, 11:19 (GMT)
Implemented Python wrappers of context functions (such as GetTimeStampCF).
Revision 812530a by Joshua Leung
July 26, 2009, 11:01 (GMT)
2.5 - More armature/bone operator tweaks

* Restored quick operators for moving bones between layers and switching visible armature layers. The popup used here (based on the layers template) is not optimal yet - you can click on multiple layer buttons to enable/disable them, but you need to move your mouse outside the area for it to confirm.

* Separate armatures works again. I've tweaked the arguments to ED_object_duplicate() to make this work (besides, the other users of this wouldn't have been affected).

* Added some missing special (transform) operators to the menus + keymaps
July 26, 2009, 09:35 (GMT)
blender 2.5 MSVC9 projectfiles
fix renamed rna_vpaint.c -> rna_sculpt_paint.c
July 26, 2009, 09:29 (GMT)
COLLADA importer:
- splitted code into separate classes: ArmatureImporter, MeshImporter
- commented out texture-to-mesh binding code which was difficult to comprehend, Chingiz will re-think/re-write
July 26, 2009, 08:53 (GMT)
2.5 Various fixes:

* Small code and layout cleanup in 3DView Side Panels.
* Added missing redraw notifier for changing world datablock and cursor location.
July 26, 2009, 07:45 (GMT)
Another small fix.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021