Campbell Barton [Tue, 9 Aug 2011 19:59:01 +0000 (19:59 +0000)]
style change, harmless changes while looking into bug [#28196]
Campbell Barton [Tue, 9 Aug 2011 14:50:40 +0000 (14:50 +0000)]
fix [#28186] textboxes properties not animatable
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
Campbell Barton [Tue, 9 Aug 2011 13:50:27 +0000 (13:50 +0000)]
note to address issue raised by report [#28190].
Campbell Barton [Tue, 9 Aug 2011 07:48:40 +0000 (07:48 +0000)]
change doxygen string to 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 http://www.blender.org/development/release-logs/blender-259/ now
Campbell Barton [Tue, 9 Aug 2011 07:09:49 +0000 (07:09 +0000)]
off by 1 error with number keys in ghost/sdl
Campbell Barton [Mon, 8 Aug 2011 14:50:10 +0000 (14:50 +0000)]
fix [#28183] Wavefront OBJ import has no preset saving
Campbell Barton [Mon, 8 Aug 2011 09:09:44 +0000 (09:09 +0000)]
report error on installign keymaps rather then raising an exception.
Campbell Barton [Mon, 8 Aug 2011 09:01:09 +0000 (09:01 +0000)]
quiet harmless py resource warning - file opened but not closed.
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
Campbell Barton [Mon, 8 Aug 2011 06:54:07 +0000 (06:54 +0000)]
add missing keys for ghost/sdl
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)
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.
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)
Thomas Dinges [Sun, 7 Aug 2011 22:48:04 +0000 (22:48 +0000)]
Mac Compile fix for ndof, by jensverwiebe. Thanks!
Mike Erwin [Sun, 7 Aug 2011 18:57:39 +0000 (18:57 +0000)]
fixed typo
Campbell Barton [Sun, 7 Aug 2011 17:38:36 +0000 (17:38 +0000)]
simplify x11 path code, had unneeded NULL checks and std namespace
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
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
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.
Mike Erwin [Sun, 7 Aug 2011 16:44:10 +0000 (16:44 +0000)]
stricter WITH_INPUT_NDOF guards, general cleanup
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
Campbell Barton [Sun, 7 Aug 2011 15:06:35 +0000 (15:06 +0000)]
fix for building ndof with cmake on osx
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.
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.
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.
Campbell Barton [Sun, 7 Aug 2011 04:22:33 +0000 (04:22 +0000)]
comment unused vars
Mike Erwin [Sat, 6 Aug 2011 23:13:36 +0000 (23:13 +0000)]
stricter NDOF guards for Windows (forgot in earlier commit)
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
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.
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.
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.
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)]
KEYMAP REFACTORING
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
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 = wm.keyconfigs.addon.keymaps.new("3D View", space_type="VIEW_3D")
km.keymap_items.new('my.operator', 'ESC', 'PRESS')
km = wm.keyconfigs.addon.keymaps["3D View"]
km.keymap_items.remove(km.keymap_items["my.operator"])
Compatibility
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.
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
comments.
Kent
Campbell Barton [Fri, 5 Aug 2011 17:39:44 +0000 (17:39 +0000)]
fix for GHOST/SDL key input with uppercase keys.
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.
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.
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.
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 darwin-config.py to their user-config.py should update.
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.
Campbell Barton [Fri, 5 Aug 2011 09:04:11 +0000 (09:04 +0000)]
get a tad more vertical space in the toolbar.
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.
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 "".
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.
Campbell Barton [Fri, 5 Aug 2011 05:26:19 +0000 (05:26 +0000)]
change BLO_library_append_begin to take a main argument rather then a context, means the BGE doesnt need to make a new empty context just to pass as an arg.
added doxygen description too.
this quiets the print when the BGE does linking.
Campbell Barton [Thu, 4 Aug 2011 13:22:38 +0000 (13:22 +0000)]
fix for building with clang. makesrna wasnt linking with sqrt
Jeroen Bakker [Thu, 4 Aug 2011 12:19:50 +0000 (12:19 +0000)]
Typo when reading line curving. The subversion is 1, so smaller than 1 should be converted
Campbell Barton [Thu, 4 Aug 2011 11:27:13 +0000 (11:27 +0000)]
remove append to cursor code, wasnt used and made some naive assumptions about object locations.
Jeroen Bakker [Thu, 4 Aug 2011 10:05:14 +0000 (10:05 +0000)]
UserPref/Node editor feature: Change the level of noodle curving.
Some people like curved lines, other hate them. This commit will let the user change the level of curving.
In UserPreferences=>Themes=>Node editor=>Noodle curving the level can be modified. Allowed range is 0-10 with the default on 5
The patch will default everything to the way blender works ATM.
File subversion has been increased otherwise older 258 files got straight lines.
The data is stored in the ThemeSpace.noodle_curving
the bezierdrawing is done in the drawnode. Also tested the Line cut tool
Dalai Felinto [Thu, 4 Aug 2011 09:47:40 +0000 (09:47 +0000)]
rst API doc fixes: literalincluding bge.texture and bge.constraints examples + bgl fixes
Campbell Barton [Thu, 4 Aug 2011 09:47:09 +0000 (09:47 +0000)]
when appending with a NULL context dont print warnigns about scene not being set - was annoying for BGE LibLoad.
Campbell Barton [Thu, 4 Aug 2011 08:46:17 +0000 (08:46 +0000)]
patch from jensverwiebe to disable ndof if header is not found.
Mike Erwin [Thu, 4 Aug 2011 03:14:00 +0000 (03:14 +0000)]
stricter guards for disabling NDOF code (will test in 3.. 2.. 1..)
Campbell Barton [Thu, 4 Aug 2011 01:56:36 +0000 (01:56 +0000)]
fix [#28114] Render Crash
existing check for driver to use GIL was not thread safe and could cause, details in the report.
This bug was caused by a check to avoid hanging, a fix for [#27683] that worked in 2.4x because the UI didn't use python to draw while rendering.
Apply a different fix for [#27683], when calling an operator, call PyEval_SaveThread(), then PyEval_RestoreThread() so the GIL can be aquired by threads started by the operator - in this case bake starting a thread that evaluates drivers.
Kent Mein [Wed, 3 Aug 2011 17:58:06 +0000 (17:58 +0000)]
Add .py extension if it is missing from keymap file.
This is for bug #28141
While not really a bug, it makes it a lot easyer to use if it
has the exension. (Isn't hidden from the user when they try to load it...)
Kent
Ton Roosendaal [Wed, 3 Aug 2011 14:21:49 +0000 (14:21 +0000)]
Crash in MMB moves (etc): commit of today was reading NULL pointer.
Campbell Barton [Wed, 3 Aug 2011 14:18:02 +0000 (14:18 +0000)]
enable NDOF by default with cmake again, but check if it can be found on OSX, if not disable.
I cant test this but at least if I made a mistake it will just not find the SDK and disable. an osx dev needs to test.
Nathan Letwory [Wed, 3 Aug 2011 14:04:48 +0000 (14:04 +0000)]
Default to False for WITH_BF_3DMOUSE, since needs separate package installed.
Ton Roosendaal [Wed, 3 Aug 2011 13:31:33 +0000 (13:31 +0000)]
Cmake: compile with NDOF default off. This is a dependency on code
that's not in our svn.
Nathan Letwory [Wed, 3 Aug 2011 13:00:11 +0000 (13:00 +0000)]
Add win64_scons builder
Nathan Letwory [Wed, 3 Aug 2011 12:57:38 +0000 (12:57 +0000)]
Add BF_BITNESS for win32/win64
Sergey Sharybin [Wed, 3 Aug 2011 12:20:07 +0000 (12:20 +0000)]
Fixing terrible typo.
Sergey Sharybin [Wed, 3 Aug 2011 11:47:03 +0000 (11:47 +0000)]
Switch slave_pack to use new FFmpeg for windows.
Sergey Sharybin [Wed, 3 Aug 2011 11:10:19 +0000 (11:10 +0000)]
Switch windows buildbot to new FFmpeg 0.8.1.
Hope it'll work because i haven't got buildbot slave by hand.
Sergey Sharybin [Wed, 3 Aug 2011 10:50:21 +0000 (10:50 +0000)]
- Move list of FFmpeg DLLs to be installed from SConstruct
to conficuration variable BF_FFMPEG_DDL.
This would allow to use different FFmpeg in buildbot.
- Added some 3DMOUSE variables to list of command line options.
Now 3dmouse related-settings can be set from command line.
Campbell Barton [Wed, 3 Aug 2011 09:28:16 +0000 (09:28 +0000)]
fix [#27965] VSE: no visual feedback on locked strips
added xpm -> opengl stipple conversion script.
Sergey Sharybin [Wed, 3 Aug 2011 09:07:30 +0000 (09:07 +0000)]
- Switch linux buildbot to FFmpeg-0.8.1
- Enable FFmpeg for blenderplayer for linux buildbot.
Campbell Barton [Wed, 3 Aug 2011 08:02:32 +0000 (08:02 +0000)]
fix [#28135] Edge slide changes UV
Sergey Sharybin [Wed, 3 Aug 2011 07:30:24 +0000 (07:30 +0000)]
- Do not add GHOST_NDOFManager.cpp to list of sources if
NDOF is disabled in CMake.
- Added "default" section to switch in sendMotionEvent.
It's what strict gcc rules don't like much and it's
And it's good practice in general, imo.
Nathan Letwory [Wed, 3 Aug 2011 07:08:28 +0000 (07:08 +0000)]
Debug print removed.
Mike Erwin [Wed, 3 Aug 2011 06:42:55 +0000 (06:42 +0000)]
removed attempted WITH_BF_3DMOUSE detection, fixed just one indention (left the others in their ugly new state)
Campbell Barton [Wed, 3 Aug 2011 06:30:19 +0000 (06:30 +0000)]
add note in scene.frame_current that frace_set() updates animation data.
Campbell Barton [Wed, 3 Aug 2011 06:27:44 +0000 (06:27 +0000)]
whitespace edits.
Campbell Barton [Wed, 3 Aug 2011 05:32:07 +0000 (05:32 +0000)]
fix [#28151] export OBJ don't save the extension
also correct some typos
Mike Erwin [Wed, 3 Aug 2011 05:01:55 +0000 (05:01 +0000)]
compensate for lack of 3D mouse calibration on Windows
Nathan Letwory [Tue, 2 Aug 2011 23:52:07 +0000 (23:52 +0000)]
typo fix.
Nathan Letwory [Tue, 2 Aug 2011 23:49:07 +0000 (23:49 +0000)]
Compile fix.
Mike Erwin [Tue, 2 Aug 2011 22:50:06 +0000 (22:50 +0000)]
ndof changes: turned off 3D mouse during transform, removed timing bug in image/uv, added option for zoom axis (up/down vs. forward/backward)
Thomas Dinges [Tue, 2 Aug 2011 18:56:03 +0000 (18:56 +0000)]
Patch by oenvoyage - olivier amrein, thanks a lot!
* Material Diffuse Ramp was not greyed out when shadeless was enabled.
Nathan Letwory [Tue, 2 Aug 2011 18:33:39 +0000 (18:33 +0000)]
Simple argument to be able to explicitely tell the bitness you want to build Blender in.
python scons\scons.py BF_BITNESS=32
python scons\scons.py BF_BITNESS=64
So from now on for Windows you don't have to run a specific win32 or win64 Python version
to get the Blender version you want. If you omit the BF_BITNESS flag the bitness as per
Python version will be used as before.
Note that this is an argument, so works *only* on the command-line, not in your user-config.py
Sergey Sharybin [Tue, 2 Aug 2011 18:16:48 +0000 (18:16 +0000)]
Changes for buildbot rules to use propper spnav library path.
Sergey Sharybin [Tue, 2 Aug 2011 17:59:43 +0000 (17:59 +0000)]
More flexible configuration for 3dmouse library for scons.
Needed for release environment and buildbot.
Buildbot rules would be updated with next commit after
environment will be tested.
Campbell Barton [Tue, 2 Aug 2011 17:40:27 +0000 (17:40 +0000)]
fix for xvid encoding preset giving a python error
Kent Mein [Tue, 2 Aug 2011 17:35:07 +0000 (17:35 +0000)]
Fixes an issue with OSX Lion
Also cleaned up the python detection for OSX
Kent
Kent Mein [Tue, 2 Aug 2011 17:00:44 +0000 (17:00 +0000)]
Fixed a few small typos.
Kent
Nathan Letwory [Tue, 2 Aug 2011 14:45:35 +0000 (14:45 +0000)]
typo fix
Campbell Barton [Tue, 2 Aug 2011 10:56:09 +0000 (10:56 +0000)]
unit arg for FloatVectorProeprty
Nathan Letwory [Tue, 2 Aug 2011 10:50:22 +0000 (10:50 +0000)]
Don't include NDOF files when disabled.
Nathan Letwory [Tue, 2 Aug 2011 10:39:46 +0000 (10:39 +0000)]
Some more silencing. Enable with BF_GHOST_DEBUG
Nathan Letwory [Tue, 2 Aug 2011 10:26:20 +0000 (10:26 +0000)]
Indentation changes
Campbell Barton [Tue, 2 Aug 2011 10:21:25 +0000 (10:21 +0000)]
fix [#28148] User Preferences Scripts Path not working
Nathan Letwory [Tue, 2 Aug 2011 10:20:47 +0000 (10:20 +0000)]
Properly disable NDOF code when WITH_INPUT_NDOF is not define.
Nathan Letwory [Tue, 2 Aug 2011 09:36:44 +0000 (09:36 +0000)]
whitespace
Nathan Letwory [Tue, 2 Aug 2011 09:18:21 +0000 (09:18 +0000)]
Debug print removed.
Nathan Letwory [Tue, 2 Aug 2011 09:12:58 +0000 (09:12 +0000)]
Don't show NDOF guide by default.
Nathan Letwory [Tue, 2 Aug 2011 09:09:07 +0000 (09:09 +0000)]
Turn off ndof button debug
Nathan Letwory [Tue, 2 Aug 2011 09:07:24 +0000 (09:07 +0000)]
tabs -> spaces
Nathan Letwory [Tue, 2 Aug 2011 09:06:55 +0000 (09:06 +0000)]
3D Mouse support on for windows/msvc by default.