9 years agoFix #28202: deactivating keymap items not saving properly.
Brecht Van Lommel [Mon, 15 Aug 2011 10:03:17 +0000 (10:03 +0000)]
Fix #28202: deactivating keymap items not saving properly.

9 years agopy api - optional sep argument for bpy_extra.io_utils.unique_name() since for some...
Campbell Barton [Mon, 15 Aug 2011 04:58:19 +0000 (04:58 +0000)]
py api - optional sep argument for bpy_extra.io_utils.unique_name() since for some formats '.' is an invalid char.

9 years agoworkaround [#28250] Append dialogue will ask to create new directory inside a .blend
Campbell Barton [Mon, 15 Aug 2011 04:11:55 +0000 (04:11 +0000)]
workaround [#28250] Append dialogue will ask to create new directory inside a .blend

directory button isnt library aware, for now disable it when a libraries loaded.

9 years agocomment unused lines.
Campbell Barton [Mon, 15 Aug 2011 03:41:31 +0000 (03:41 +0000)]
comment unused lines.

9 years agofix for bug where changing movie filepaths would reset the strip length.
Campbell Barton [Sun, 14 Aug 2011 14:43:11 +0000 (14:43 +0000)]
fix for bug where changing movie filepaths would reset the strip length.
also fixed possible & unlikely buffer overflow.

9 years agopatch [#28247] Fix for: [#28236] Separate By Materials fails when some materials...
Campbell Barton [Sun, 14 Aug 2011 12:02:01 +0000 (12:02 +0000)]
patch [#28247] Fix for: [#28236] Separate By Materials fails when some materials "available" to the mesh are unassigned
from Alex Fraser (z0r)

9 years agofix for fix r39388, this added checkboxes to buttons which are not supposed to have...
Campbell Barton [Sun, 14 Aug 2011 11:38:17 +0000 (11:38 +0000)]
fix for fix r39388, this added checkboxes to buttons which are not supposed to have them.
now only add checkboxes when the background is not emboss - which works for menus but will work in more general cases too.

9 years agoadd in asserts for when array/non array RNA funcions are used incorrectly, would...
Campbell Barton [Sun, 14 Aug 2011 10:28:18 +0000 (10:28 +0000)]
add in asserts for when array/non array RNA funcions are used incorrectly, would have made previous fix a lot easier to find.
also remove unused argument from RNA_property_array_check.

9 years agofix [#28245] Checkboxes in menu items fail for boolean arrays.
Campbell Barton [Sun, 14 Aug 2011 10:17:41 +0000 (10:17 +0000)]
fix [#28245] Checkboxes in menu items fail for boolean arrays.
2 bugs with displaying boolean arrays.

9 years agoFixing bug with editing keymaps when filter is enabled.
Sergey Sharybin [Sun, 14 Aug 2011 09:12:43 +0000 (09:12 +0000)]
Fixing bug with editing keymaps when filter is enabled.

9 years agopatch [#28246] Fix for [#28240]: selecting more than one object in the outliner with...
Campbell Barton [Sun, 14 Aug 2011 08:39:13 +0000 (08:39 +0000)]
patch [#28246] Fix for [#28240]: selecting more than one object in the outliner with "shift left mouse" doesn't work anymore
from Alex Fraser (z0r)

9 years agofix [#28225] Solidify Modifier creates wrong results when vertex group is attached
Campbell Barton [Sun, 14 Aug 2011 06:43:58 +0000 (06:43 +0000)]
fix [#28225] Solidify Modifier creates wrong results when vertex group is attached

infact this is not really a bug, irrespective zero vertex group weights gave overlapping geometry which isn't useful, add an option to set the thickness factor for zero weighted verts.

9 years agobugfix:[#25603] bad shadows in stereo mode - patch by Juha Maki-Kanto
Dalai Felinto [Sun, 14 Aug 2011 04:37:53 +0000 (04:37 +0000)]
bugfix:[#25603] bad shadows in stereo mode - patch by Juha Maki-Kanto

9 years ago- recently restored sequencer change data operator didnt reset the offsets after...
Campbell Barton [Sun, 14 Aug 2011 03:59:22 +0000 (03:59 +0000)]
- recently restored sequencer change data operator didnt reset the offsets after a hard cut, causing the new data to be trimmed.
- add change data operator to strip panel next to image file properties since editing every image manually isnt really usable.
- added new sequencer operator "Clear Offsets" (Alt+O), useful to reset the start/end frames around the strip data.

9 years ago2.6 UI Files:
Thomas Dinges [Sat, 13 Aug 2011 17:52:13 +0000 (17:52 +0000)]
2.6 UI Files:
* Code cleanup in the space_*.py files.
* Removed layout.column() statement in _MT_ panels, they are useless.
* Only define variables at the beginning of a function!

9 years agorunning bpy.ops.render.render('INVOKE_DEFAULT') would crash blender.
Campbell Barton [Sat, 13 Aug 2011 14:24:53 +0000 (14:24 +0000)]
running bpy.ops.render.render('INVOKE_DEFAULT') would crash blender.

9 years ago2.6 Release Cycle begin:
Thomas Dinges [Sat, 13 Aug 2011 13:45:03 +0000 (13:45 +0000)]
2.6 Release Cycle begin:

Idea is to set it to alpha for the first 3 weeks (B-Con1)
Beta for B-Con 2 and 3
RC for B-Con 4
Release for B-Con 5

9 years agoindex_to_framebuffer (used for mesh selection) was being called 3x times per call...
Campbell Barton [Sat, 13 Aug 2011 09:22:14 +0000 (09:22 +0000)]
index_to_framebuffer (used for mesh selection) was being called 3x times per call to WM_set_framebuffer_index_color(), because of the cpack define.

9 years agoNodes: make node set active function usable outside of node editor, and in doing
Brecht Van Lommel [Fri, 12 Aug 2011 18:27:48 +0000 (18:27 +0000)]
Nodes: make node set active function usable outside of node editor, and in doing
so fix a missing updating when activating a node with multiple node editors open.

9 years agoCode cleanup: fix wrong doxygen file name.
Brecht Van Lommel [Fri, 12 Aug 2011 18:24:17 +0000 (18:24 +0000)]
Code cleanup: fix wrong doxygen file name.

9 years agoCode cleanup: small glsl mesh drawing code changes, getting rid of an ugly macro.
Brecht Van Lommel [Fri, 12 Aug 2011 18:17:28 +0000 (18:17 +0000)]
Code cleanup: small glsl mesh drawing code changes, getting rid of an ugly macro.

9 years agoCode cleanup: remove seam drawing in face select mode, was left over from when
Brecht Van Lommel [Fri, 12 Aug 2011 18:13:55 +0000 (18:13 +0000)]
Code cleanup: remove seam drawing in face select mode, was left over from when
seams were edited there, now only needed in edit mode.

9 years agoModifiers: add callback to loop over each texture assigned to a modifier.
Brecht Van Lommel [Fri, 12 Aug 2011 18:11:22 +0000 (18:11 +0000)]
Modifiers: add callback to loop over each texture assigned to a modifier.

9 years agoCode cleanup: replace some manual setting of ob->recalc with DAG_id_tag_update,
Brecht Van Lommel [Fri, 12 Aug 2011 18:06:05 +0000 (18:06 +0000)]
Code cleanup: replace some manual setting of ob->recalc with DAG_id_tag_update,
is now just as fast anyway with delayed flush.

9 years agoimport common classes from bpy.types, saves ~1000 python getattrs on startup.
Campbell Barton [Fri, 12 Aug 2011 06:57:00 +0000 (06:57 +0000)]
import common classes from bpy.types, saves ~1000 python getattrs on startup.

9 years agoadd bpy.types as a module for convenient imports, eg:
Campbell Barton [Fri, 12 Aug 2011 06:31:39 +0000 (06:31 +0000)]
add bpy.types as a module for convenient imports, eg:
  from bpy.types import Menu

9 years agosequencer todo: change sequence added back (C key)
Campbell Barton [Fri, 12 Aug 2011 06:08:22 +0000 (06:08 +0000)]
sequencer todo: change sequence added back (C key)

split up into operators
- change effect input
- change effect type
- change file data

Change plugin is not ported back yet.

9 years agoadd WM_FILESEL_FILES to WM_operator_properties_filesel, sequencer was doing this...
Campbell Barton [Fri, 12 Aug 2011 03:53:26 +0000 (03:53 +0000)]
add WM_FILESEL_FILES to WM_operator_properties_filesel, sequencer was doing this on its own.

9 years agosoft limits for add object rotation value, without cont. grab it would get to very...
Campbell Barton [Fri, 12 Aug 2011 03:18:04 +0000 (03:18 +0000)]
soft limits for add object rotation value, without cont. grab it would get to very large numbers with a small drag.

9 years agoun-inline GHash functions r26206, these are quite large functions to inline and incre...
Campbell Barton [Fri, 12 Aug 2011 02:23:06 +0000 (02:23 +0000)]
un-inline GHash functions r26206, these are quite large functions to inline and increase binary size by 30kb, (tested on stripped, cmake release build).

Ran some speed tests and difference was close to the noise level, but inlining gives only ~2 - 3% speedup with build modifier which uses ghash a lot.

9 years agouse correct libdir for buildbot win64.
Nathan Letwory [Thu, 11 Aug 2011 16:43:36 +0000 (16:43 +0000)]
use correct libdir for buildbot win64.

9 years agoCommiting patch from jensverwiebe for NDOF support on OSX v2.59
Sergey Sharybin [Thu, 11 Aug 2011 15:59:19 +0000 (15:59 +0000)]
Commiting patch from jensverwiebe for NDOF support on OSX

9 years agoFix for crash when using undo during sketching session.
Sergey Sharybin [Thu, 11 Aug 2011 13:40:47 +0000 (13:40 +0000)]
Fix for crash when using undo during sketching session.

Currently, grease pencil conflicts with such operators
as undo and set object mode which makes behavior totally
unpredictable and crash for some cases.

The only way to solve this proper is to ger rid of pointers
to data which can chage stored in operator custom data.

9 years agoFix #28180: crash running"My Keymap").
Brecht Van Lommel [Thu, 11 Aug 2011 11:56:02 +0000 (11:56 +0000)]
Fix #28180: crash running"My Keymap").
There isn't much point in doing this at the moment, but shouldn't crash.

9 years agoAdding a readonly length_squared property to mathutils.Vector. This is simply vector...
Mitchell Stokes [Thu, 11 Aug 2011 09:40:14 +0000 (09:40 +0000)]
Adding a readonly length_squared property to mathutils.Vector. This is simply, so nothing new is really added, but it's nice for writing more intent revealing code. In other words:

if > some_distance*some_distance:

might not be quite as obvious looking as:

if vec.length_squared > some_distance*some_distance:

As to why you'd want to use length_squared over length is that length uses a square root, which isn't always necessary for simple distance checks (e.g., closest object, checks like the ones above, ect).

9 years agofix [#28213] Imperial unit for 0.001 inches inconsistently displayed as mils and...
Campbell Barton [Thu, 11 Aug 2011 08:24:56 +0000 (08:24 +0000)]
fix [#28213] Imperial unit for 0.001 inches inconsistently displayed as mils and thous

9 years agoSVN maintenance.
Guillermo S. Romero [Thu, 11 Aug 2011 06:40:04 +0000 (06:40 +0000)]
SVN maintenance.

9 years agouse ghash for operator and menu types, was doing string lookup in the operator list...
Campbell Barton [Thu, 11 Aug 2011 06:06:17 +0000 (06:06 +0000)]
use ghash for operator and menu types, was doing string lookup in the operator list (containing over 1000 items) for each button draw.

gives small speedup for UI drawing and overall startup time.

9 years agoifdef'd outliner code which is spesific to gsoc pepper with '// GSOC_PEPPER' so its...
Campbell Barton [Thu, 11 Aug 2011 05:50:05 +0000 (05:50 +0000)]
ifdef'd outliner code which is spesific to gsoc pepper with '// GSOC_PEPPER' so its obvious. this will keep merging pepper changes from conflicting and can be removed when its finally merged.

9 years agomerge outliner refactor so we dont have to keep outliner.c locked in trunk.
Campbell Barton [Thu, 11 Aug 2011 05:46:18 +0000 (05:46 +0000)]
merge outliner refactor so we dont have to keep outliner.c locked in trunk.

this wont build because of changes spesific to pepper, fix coming next.

svn merge source/blender/editors/space_outliner -r36830:38987

9 years agounlocking outliner.c and removing... (merging refactor from pepper but looks like...
Campbell Barton [Thu, 11 Aug 2011 05:43:20 +0000 (05:43 +0000)]
unlocking outliner.c and removing... (merging refactor from pepper but looks like this will take a few steps)

9 years agofix for regression for shape key UI, values are now editable again in the list, doubl...
Campbell Barton [Wed, 10 Aug 2011 20:12:27 +0000 (20:12 +0000)]
fix for regression for shape key UI, values are now editable again in the list, double checked this works for mesh/curve and lattice types.

9 years agoerror in own recent commit. set subversion to 0
Campbell Barton [Wed, 10 Aug 2011 16:05:20 +0000 (16:05 +0000)]
error in own recent commit. set subversion to 0

9 years ago2.59 Splash screen by tomket7. Congratulations!
Thomas Dinges [Wed, 10 Aug 2011 16:03:45 +0000 (16:03 +0000)]
2.59 Splash screen by tomket7. Congratulations!

Chosen by the jury Ben Simonds, Reynante Martinez and Hjalti Hjálmarsson.

9 years agoVersion bump for 2.59
Campbell Barton [Wed, 10 Aug 2011 16:02:02 +0000 (16:02 +0000)]
Version bump for 2.59

9 years agofix [#28206] Motion Paths shown in 3DView even when Only Render option is enabled
Campbell Barton [Wed, 10 Aug 2011 15:53:46 +0000 (15:53 +0000)]
fix [#28206] Motion Paths shown in 3DView even when Only Render option is enabled

9 years agoFix for incorrect parameter amount.
Nathan Letwory [Wed, 10 Aug 2011 09:30:45 +0000 (09:30 +0000)]
Fix for incorrect parameter amount.

9 years agofix for error in template
Campbell Barton [Wed, 10 Aug 2011 09:16:35 +0000 (09:16 +0000)]
fix for error in  template

9 years agofix [#28203] Misplaced string in bone constraints
Campbell Barton [Wed, 10 Aug 2011 07:49:18 +0000 (07:49 +0000)]
fix [#28203] Misplaced string in bone constraints

9 years agoFix [#28195] Particles objects disappear in viewport, and 90° rotation
Nathan Letwory [Wed, 10 Aug 2011 07:36:57 +0000 (07:36 +0000)]
Fix [#28195] Particles objects disappear in viewport, and 90° rotation
Reported by Jean Francois Sarazin

Lack of normal normalisation caused scaling issues. SIGGRAPH fix by jahka and jesterKing. Thanks to host dfelinto with entertainment provided by slikdigit.

9 years agofix for [#28201] blender crashes when "mpeg" selected
Campbell Barton [Wed, 10 Aug 2011 07:36:44 +0000 (07:36 +0000)]
fix for [#28201] blender crashes when "mpeg" selected

2 changes
- When writing OGG only allow Theora encoding, this fixes the crash.
- When setting the MPEG preset, dont allow the 'Codec' to be left as Theora, this is just confusing.

* note that this is highly confusing for users and devs - there are 4 places to set the codec/format, with both python and C presets :S.

9 years agofix for crash undoing grease pencil session, last action would free entire frame...
Campbell Barton [Tue, 9 Aug 2011 21:32:46 +0000 (21:32 +0000)]
fix for crash undoing grease pencil session, last action would free entire frame which the session held a reference to.

9 years agofix [#28197] Undoing Grease pencil removes last 2 strokes
Campbell Barton [Tue, 9 Aug 2011 20:33:35 +0000 (20:33 +0000)]
fix [#28197] Undoing Grease pencil removes last 2 strokes

9 years agofix [#28196] Unwrap tris in lightmap pack
Campbell Barton [Tue, 9 Aug 2011 20:00:53 +0000 (20:00 +0000)]
fix [#28196] Unwrap tris in lightmap pack

9 years agostyle change, harmless changes while looking into bug [#28196]
Campbell Barton [Tue, 9 Aug 2011 19:59:01 +0000 (19:59 +0000)]
style change, harmless changes while looking into bug [#28196]

9 years agofix [#28186] textboxes properties not animatable
Campbell Barton [Tue, 9 Aug 2011 14:50:40 +0000 (14:50 +0000)]
fix [#28186] textboxes properties not animatable

9 years agofix [#28191] Exception when enabling a script for a newer Blender build
Campbell Barton [Tue, 9 Aug 2011 14:16:22 +0000 (14:16 +0000)]
fix [#28191] Exception when enabling a script for a newer Blender build

9 years agonote to address issue raised by report [#28190].
Campbell Barton [Tue, 9 Aug 2011 13:50:27 +0000 (13:50 +0000)]
note to address issue raised by  report [#28190].

9 years agochange doxygen string to 2.59
Campbell Barton [Tue, 9 Aug 2011 07:48:40 +0000 (07:48 +0000)]
change doxygen string to 2.59

9 years agoBlender 2.59:
Thomas Dinges [Tue, 9 Aug 2011 07:33:51 +0000 (07:33 +0000)]
Blender 2.59:
* Update the readme file
* Update link to release logs, they point to now

9 years agooff by 1 error with number keys in ghost/sdl
Campbell Barton [Tue, 9 Aug 2011 07:09:49 +0000 (07:09 +0000)]
off by 1 error with number keys in ghost/sdl

9 years agofix [#28183] Wavefront OBJ import has no preset saving
Campbell Barton [Mon, 8 Aug 2011 14:50:10 +0000 (14:50 +0000)]
fix [#28183] Wavefront OBJ import has no preset saving

9 years agoreport error on installign keymaps rather then raising an exception.
Campbell Barton [Mon, 8 Aug 2011 09:09:44 +0000 (09:09 +0000)]
report error on installign keymaps rather then raising an exception.

9 years agoquiet harmless py resource warning - file opened but not closed.
Campbell Barton [Mon, 8 Aug 2011 09:01:09 +0000 (09:01 +0000)]
quiet harmless py resource warning - file opened but not closed.

9 years agofix [#28178] make single user copy of object data doesn't work
Campbell Barton [Mon, 8 Aug 2011 08:22:01 +0000 (08:22 +0000)]
fix [#28178] make single user copy of object data doesn't work

9 years agoadd missing keys for ghost/sdl
Campbell Barton [Mon, 8 Aug 2011 06:54:07 +0000 (06:54 +0000)]
add missing keys for ghost/sdl

9 years agoadd missing header to cmake files (else some IDE's wont index it)
Campbell Barton [Mon, 8 Aug 2011 05:43:04 +0000 (05:43 +0000)]
add missing header to cmake files (else some IDE's wont index it)

9 years agouse static sets rather then tuples, python optimizes this case.
Campbell Barton [Mon, 8 Aug 2011 05:21:37 +0000 (05:21 +0000)]
use static sets rather then tuples, python optimizes this case.
minor change to lightmap unpack collecting unique meshes.

9 years ago- update X3D and FBX testing checksums
Campbell Barton [Mon, 8 Aug 2011 03:31:25 +0000 (03:31 +0000)]
- update X3D and FBX testing checksums
- building with GHOST/SDL now adds the PREFIX
- image.external_edit operator errors out if the filepath isnt set (was annoying and loaded gimp while running tests)

9 years agoMac Compile fix for ndof, by jensverwiebe. Thanks!
Thomas Dinges [Sun, 7 Aug 2011 22:48:04 +0000 (22:48 +0000)]
Mac Compile fix for ndof, by jensverwiebe. Thanks!

9 years agofixed typo
Mike Erwin [Sun, 7 Aug 2011 18:57:39 +0000 (18:57 +0000)]
fixed typo

9 years agosimplify x11 path code, had unneeded NULL checks and std namespace
Campbell Barton [Sun, 7 Aug 2011 17:38:36 +0000 (17:38 +0000)]
simplify x11 path code, had unneeded NULL checks and std namespace

9 years agondof data change: operators can access values as vectors or components, as both are...
Mike Erwin [Sun, 7 Aug 2011 17:22:47 +0000 (17:22 +0000)]
ndof data change: operators can access values as vectors or components, as both are handy

9 years agoremoved old ndof transform code, to be replaced with modern stuff in 2.6
Mike Erwin [Sun, 7 Aug 2011 17:01:44 +0000 (17:01 +0000)]
removed old ndof transform code, to be replaced with modern stuff in 2.6

9 years agoscons patch from jensverwiebe
Campbell Barton [Sun, 7 Aug 2011 16:54:40 +0000 (16:54 +0000)]
scons patch from jensverwiebe
fix a silly bug in version detection, - added an OSX sdk-check

jensverwiebe, needs to get commit access!, but will apply his patches for now.

9 years agostricter WITH_INPUT_NDOF guards, general cleanup
Mike Erwin [Sun, 7 Aug 2011 16:44:10 +0000 (16:44 +0000)]
stricter WITH_INPUT_NDOF guards, general cleanup

9 years agofixed ndof library detect for Mac SCons, ndof enabled by default (disabled if lib...
Mike Erwin [Sun, 7 Aug 2011 16:29:05 +0000 (16:29 +0000)]
fixed ndof library detect for Mac SCons, ndof enabled by default (disabled if lib not found), minor cleanup

9 years agofix for building ndof with cmake on osx
Campbell Barton [Sun, 7 Aug 2011 15:06:35 +0000 (15:06 +0000)]
fix for building ndof with cmake on osx

9 years agoChanged do_version condition for noodle_curving.
Sergey Sharybin [Sun, 7 Aug 2011 14:57:25 +0000 (14:57 +0000)]
Changed do_version condition for noodle_curving.
It should be re-set to 5 for files saved in 2.58.1 release.

9 years agoFix #28169: keymap bug when using a preset configuration, e.g. object mode keymap
Brecht Van Lommel [Sun, 7 Aug 2011 11:01:55 +0000 (11:01 +0000)]
Fix #28169: keymap bug when using a preset configuration, e.g. object mode keymap
was also being used in edit mode.

9 years agofix [#28172] Cannot restore Add-ons tab in user preferences after a failed attempt...
Campbell Barton [Sun, 7 Aug 2011 04:55:58 +0000 (04:55 +0000)]
fix [#28172] Cannot restore Add-ons tab in user preferences after a failed attempt to install an add-on.

non utf8 addons would make the addon UI vanish, now give a message in the console and UI.

9 years agocomment unused vars
Campbell Barton [Sun, 7 Aug 2011 04:22:33 +0000 (04:22 +0000)]
comment unused vars

9 years agostricter NDOF guards for Windows (forgot in earlier commit)
Mike Erwin [Sat, 6 Aug 2011 23:13:36 +0000 (23:13 +0000)]
stricter NDOF guards for Windows (forgot in earlier commit)

9 years agofixed crash when NDOF operators were called without an NDOF_MOTION event
Mike Erwin [Sat, 6 Aug 2011 22:31:16 +0000 (22:31 +0000)]
fixed crash when NDOF operators were called without an NDOF_MOTION event

9 years agorna/ui: avoid duplicate property gHash lookups by passing the property when its alrea...
Campbell Barton [Sat, 6 Aug 2011 16:00:00 +0000 (16:00 +0000)]
rna/ui: avoid duplicate property gHash lookups by passing the property when its already been found.

added _prop suffix to ui functions which take a prop rather then a propname, may change this later since its not that nice but for gsoc branches this keeps existing UI functions working the same.

9 years agomake ui_def_but_rna into 2 functions, once which takes a prop, another which takes...
Campbell Barton [Sat, 6 Aug 2011 14:57:55 +0000 (14:57 +0000)]
make ui_def_but_rna into 2 functions, once which takes a prop, another which takes a propname, no functional change yet but lets us avoid duplicate hash lookups.

9 years agofor UI text drawing use BLF_ascender(fs->uifont_id) rather then BLF_height(fs->uifont...
Campbell Barton [Sat, 6 Aug 2011 06:38:18 +0000 (06:38 +0000)]
for UI text drawing use BLF_ascender(fs->uifont_id) rather then BLF_height(fs->uifont_id, "2"), while profiling draw noticed that the hash lookup on the character and utf8 next were being called on every text draw, use BLF_ascender since it doesn't do any lookups.

9 years agoremove copy modifiers function, now handled in link data operator.
Campbell Barton [Sat, 6 Aug 2011 04:19:30 +0000 (04:19 +0000)]
remove copy modifiers function, now handled in link data operator.

Brecht Van Lommel [Fri, 5 Aug 2011 20:45:26 +0000 (20:45 +0000)]

Diff Keymaps

User edited keymaps now no longer override the builtin keymaps entirely, but
rather save only the difference and reapply those changes. This means they can
stay better in sync when the builtin keymaps change. The diff/patch algorithm
is not perfect, but better for the common case where only a few items are changed
rather than entire keymaps The main weakness is that if a builtin keymap item
changes, user modification of that item may need to be redone in some cases.

Keymap Editor

The most noticeable change here is that there is no longer an "Edit" button for
keymaps, all are editable immediately, but a "Restore" buttons shows for keymaps
and items that have been edited. Shortcuts for addons can also be edited in the
keymap editor.


Addons now should only modify the new addon keyconfiguration, the keymap items
there will be added to the builtin ones for handling events, and not get lost
when starting new files. Example code of register/unregister:

km ="3D View", space_type="VIEW_3D")'my.operator', 'ESC', 'PRESS')

km = wm.keyconfigs.addon.keymaps["3D View"]


The changes made are not forward compatible, i.e. if you save user preferences
with newer versions, older versions will not have key configuration changes that
were made.

9 years agoMessed up char was causing problems on windows even though it was in the
Kent Mein [Fri, 5 Aug 2011 19:55:36 +0000 (19:55 +0000)]
Messed up char was causing problems on windows even though it was in the


9 years agofix for GHOST/SDL key input with uppercase keys.
Campbell Barton [Fri, 5 Aug 2011 17:39:44 +0000 (17:39 +0000)]
fix for GHOST/SDL key input with uppercase keys.

9 years agoifdef out support for for python owning and freeing BPy_StructRNA because this is...
Campbell Barton [Fri, 5 Aug 2011 16:29:38 +0000 (16:29 +0000)]
ifdef out support for for python owning and freeing BPy_StructRNA because this is only used for doc generation and it makes _every_ blender/python instance 4 bytes bigger - vertex/bezier point/object/scene/group etc.

9 years agopyrna - add own callable function type rather then using a standard python method...
Campbell Barton [Fri, 5 Aug 2011 16:21:37 +0000 (16:21 +0000)]
pyrna - add own callable function type rather then using a standard python method, gives small speedup drawing buttons since every layout.prop/col/operator/menu etc creates and throws away one of these.

9 years agomove the ndof menu into the userpref's since it adjusts preferences, also renamed...
Campbell Barton [Fri, 5 Aug 2011 14:53:13 +0000 (14:53 +0000)]
move the ndof menu into the userpref's since it adjusts preferences, also renamed VIEW3D_MT_ndof_settings -> USERPREF_MT_ndof_settings since it has no view3d specific settings.

9 years agopatch from jensverwiebe to scons to be compatible with gcc llvm. people who copy...
Campbell Barton [Fri, 5 Aug 2011 12:07:05 +0000 (12:07 +0000)]
patch from jensverwiebe to scons to be compatible with gcc llvm. people who copy the to their should update.

9 years agofix for icon scaling with the DPI setting
Campbell Barton [Fri, 5 Aug 2011 10:45:32 +0000 (10:45 +0000)]
fix for icon scaling with the DPI setting
- icons were scaling by the sqrt(dpi)/8.48528, but infact they only need to be scaled by (dpi/72).
- UI_icon_get_width value was being used without multiplying by dpi scale.

9 years agoget a tad more vertical space in the toolbar.
Campbell Barton [Fri, 5 Aug 2011 09:04:11 +0000 (09:04 +0000)]
get a tad more vertical space in the toolbar.

9 years agofix [#28160] Pressing Y on an image sequence to seperate the images takes them out...
Campbell Barton [Fri, 5 Aug 2011 06:26:54 +0000 (06:26 +0000)]
fix [#28160] Pressing Y on an image sequence to seperate the images takes them out of their meta strips

dont show a popup anymore, was silly because you had to change the value for before anything was done, can use f6 redo popup instead, sequencer should eventually have a view3d operator redo panel.

9 years agofix for possible uninitialized RNA strings, when RNA_string_get property is not found...
Campbell Barton [Fri, 5 Aug 2011 06:09:30 +0000 (06:09 +0000)]
fix for possible uninitialized RNA strings, when RNA_string_get property is not found, initialize the string to "".

9 years agofix [#28102] Typing 'C:' into the file selector's directory asks to make a new directory.
Campbell Barton [Fri, 5 Aug 2011 06:06:15 +0000 (06:06 +0000)]
fix [#28102] Typing 'C:' into the file selector's directory asks to make a new directory.