blender.git
9 years agoBugfix #20935: Evaluation Time For Curves No Longer Accepts Input Over 1.0
Joshua Leung [Wed, 3 Feb 2010 06:30:16 +0000 (06:30 +0000)]
Bugfix #20935: Evaluation Time For Curves No Longer Accepts Input Over 1.0

Reverting the part of an earlier commit to show the Evaluation time in the Path panel that made the Evaluation Time setting a factor. This setting should not be a factor, since it gets divided by 'Path Length' to normalise it to the 0-1 range needed. When this setting isn't animated, the evaluation time setting is automatically set to the current frame number, so that when divided by Path Length, child objects still follow the curve.

9 years agoBugfix #20942: Unassigned Vertex Groups crash Blender on sort
Joshua Leung [Wed, 3 Feb 2010 02:31:29 +0000 (02:31 +0000)]
Bugfix #20942: Unassigned Vertex Groups crash Blender on sort

This commit fixes the crash, but it seems that the sorting doesn't work correctly with or without any vertices assigned.

9 years agoSpline IK Bugfix:
Joshua Leung [Wed, 3 Feb 2010 01:08:37 +0000 (01:08 +0000)]
Spline IK Bugfix:

Spline IK now takes curve-object transforms into account when the 'Chain Offset' option is not enabled, since the intention of that feature is to allow a chain of bones following the shape of a curve to be placed anywhere in the scene.

9 years agoAnimation Data Types - RNA Fixes:
Joshua Leung [Wed, 3 Feb 2010 00:54:26 +0000 (00:54 +0000)]
Animation Data Types - RNA Fixes:

* Fixed bug with Graph Editor that meant that after switching modes, driver F-Curves would often still be shown black until the curves were edited

* Added notifiers and missing flags for F-Curves and Actions

9 years agopatch [#20889] Support "unit"s for FloatProperty
Campbell Barton [Tue, 2 Feb 2010 23:03:56 +0000 (23:03 +0000)]
patch [#20889] Support "unit"s for FloatProperty
from Martin B├╝rbaum (pontiac)
(with own minor changes)

9 years agovertex group sort operator, access from the vgroup panel, sintels mesh has 144 vertex...
Campbell Barton [Tue, 2 Feb 2010 21:43:26 +0000 (21:43 +0000)]
vertex group sort operator, access from the vgroup panel, sintels mesh has 144 vertex groups which got quite tedious to look through.

9 years agoBugfix #19970: auto-clamped / auto working strangly in f-curve editor
Joshua Leung [Tue, 2 Feb 2010 21:16:28 +0000 (21:16 +0000)]
Bugfix #19970: auto-clamped / auto working strangly in f-curve editor

Thanks to a great doc from Bassam (slikdigit) on the different types of handles (which should probably become/be part of future 2.5 docs), I've revised the code again so that this works well again.

The doc:
http://docs.google.com/View?id=dvgkxj6_1d8cpfw79

9 years agoPET Connectivity calculation. Adding threshold to take care of possible imprecisions.
Martin Poirier [Tue, 2 Feb 2010 19:51:56 +0000 (19:51 +0000)]
PET Connectivity calculation. Adding threshold to take care of possible imprecisions.

9 years ago[#20934] fbx export with armature results in 0bytes writen REV:26548
Campbell Barton [Tue, 2 Feb 2010 18:56:06 +0000 (18:56 +0000)]
[#20934] fbx export with armature results in 0bytes writen REV:26548

9 years agoFix semi-exit of particle edit mode after adding/removing hairs, when
Brecht Van Lommel [Tue, 2 Feb 2010 18:54:23 +0000 (18:54 +0000)]
Fix semi-exit of particle edit mode after adding/removing hairs, when
child particles were enabled, should only free edit in case the parent
particle amount changes.

9 years agolinking in mesh data with animation crashed blender. also fixed some warnings.
Campbell Barton [Tue, 2 Feb 2010 18:24:10 +0000 (18:24 +0000)]
linking in mesh data with animation crashed blender. also fixed some warnings.

9 years agoUpdates to mouth rig. Old method didn't work well in combination with shape keys...
Nathan Vegdahl [Tue, 2 Feb 2010 17:57:12 +0000 (17:57 +0000)]
Updates to mouth rig.  Old method didn't work well in combination with shape keys.  This new method (effectively just weighting directly to the lip control bones) is much simpler, but also requires more manual weight painting to get it to look right.

9 years agoFix #20926: 2d image paint was missing clone image, clone alpha, and wrap
Brecht Van Lommel [Tue, 2 Feb 2010 17:41:32 +0000 (17:41 +0000)]
Fix #20926: 2d image paint was missing clone image, clone alpha, and wrap
option in the UI, also fixes missing refresh when changing these and wrong
order in keymap for clone grabbing operator.

9 years agoFix #20932: add surface operator did not pop up type menu when invoked.
Brecht Van Lommel [Tue, 2 Feb 2010 17:38:56 +0000 (17:38 +0000)]
Fix #20932: add surface operator did not pop up type menu when invoked.

9 years agoGive border render coordinates a sane default, so enabling border in the
Brecht Van Lommel [Tue, 2 Feb 2010 17:28:53 +0000 (17:28 +0000)]
Give border render coordinates a sane default, so enabling border in the
render properties shows the render border in the 3d view.

9 years agoFix for a recent bugfix removing the wm* opengl function replacements,
Brecht Van Lommel [Tue, 2 Feb 2010 16:31:29 +0000 (16:31 +0000)]
Fix for a recent bugfix removing the wm* opengl function replacements,
broke drawing duplis.

9 years agorender simplify option to disable triangulation.
Campbell Barton [Tue, 2 Feb 2010 15:51:44 +0000 (15:51 +0000)]
render simplify option to disable triangulation.
- triangulating non planer quads is needed to resolve some artifacts however this also ends up triangulating most faces in - Suzzane subsurf level 4 for eg.
this check could be tuned for better performance but for now skipping it is useful for test renders.

9 years agoerror mirrorring weight group, wasnt checking if the mirror vert was the same
Campbell Barton [Tue, 2 Feb 2010 15:18:37 +0000 (15:18 +0000)]
error mirrorring weight group, wasnt checking if the mirror vert was the same

9 years ago- lamp bias of 0.0 was allowed when it should not be.
Campbell Barton [Tue, 2 Feb 2010 14:50:43 +0000 (14:50 +0000)]
- lamp bias of 0.0 was allowed when it should not be.
- enable floating point exceptions in debug mode on linux, makes nan's easy to track.

9 years agoadding back quotes, looks like well need to strip them some other way
Campbell Barton [Tue, 2 Feb 2010 13:58:42 +0000 (13:58 +0000)]
adding back quotes, looks like well need to strip them some other way

9 years agoBug in cmake broke vc build. Fixed by Jerome Lelong on ML.
Arystanbek Dyussenov [Tue, 2 Feb 2010 13:54:01 +0000 (13:54 +0000)]
Bug in cmake broke vc build. Fixed by Jerome Lelong on ML.

9 years agoUpdated OpenCollada section of cmake windows config.
Arystanbek Dyussenov [Tue, 2 Feb 2010 13:05:21 +0000 (13:05 +0000)]
Updated OpenCollada section of cmake windows config.

9 years agoerrors in arg parsing from yesterdays commit
Campbell Barton [Tue, 2 Feb 2010 12:10:13 +0000 (12:10 +0000)]
errors in arg parsing from yesterdays commit

9 years agoshape key transfer
Campbell Barton [Tue, 2 Feb 2010 12:04:03 +0000 (12:04 +0000)]
shape key transfer
- use the shape key basis for applying relative vertex locations

9 years agoediting the basis shape now updates others when relative is enabled.
Campbell Barton [Tue, 2 Feb 2010 11:10:02 +0000 (11:10 +0000)]
editing the basis shape now updates others when relative is enabled.

9 years agoPROP_ANIMATEABLE -> PROP_ANIMATABLE (more common spelling)
Campbell Barton [Tue, 2 Feb 2010 00:02:55 +0000 (00:02 +0000)]
PROP_ANIMATEABLE -> PROP_ANIMATABLE (more common spelling)

9 years agoobj export broke since api updates to mathutils
Campbell Barton [Mon, 1 Feb 2010 23:52:46 +0000 (23:52 +0000)]
obj export broke since api updates to mathutils

9 years agosubtype support for properties in bpy.props.
Campbell Barton [Mon, 1 Feb 2010 22:04:33 +0000 (22:04 +0000)]
subtype support for properties in bpy.props.

9 years agoProportional Edit Connected: Use connectivity distance for falloff (connectivity...
Martin Poirier [Mon, 1 Feb 2010 21:31:32 +0000 (21:31 +0000)]
Proportional Edit Connected: Use connectivity distance for falloff (connectivity distance now also calculated across inner face edges).

9 years ago(no commit message)
Tom Musgrove [Mon, 1 Feb 2010 19:53:51 +0000 (19:53 +0000)]

9 years agoFix part of #19858: texture node outputs don't work separately, the meaning
Brecht Van Lommel [Mon, 1 Feb 2010 19:35:32 +0000 (19:35 +0000)]
Fix part of #19858: texture node outputs don't work separately, the meaning
of node output indices was changed without a version patch.

9 years agoFix sculpt mode drawing performance regression, happened on at least
Brecht Van Lommel [Mon, 1 Feb 2010 19:22:54 +0000 (19:22 +0000)]
Fix sculpt mode drawing performance regression, happened on at least
NVidia/Linux. Disabling GL_MULTISAMPLE apparently makes things go much
slower even though we're not using it, why is a mystery to me.

9 years agolibpng.dll is not included in our libs on win64
Tom Musgrove [Mon, 1 Feb 2010 19:17:47 +0000 (19:17 +0000)]
libpng.dll is not included in our libs on win64

9 years agoSVN maintenance.
Guillermo S. Romero [Mon, 1 Feb 2010 19:01:57 +0000 (19:01 +0000)]
SVN maintenance.

9 years agothis restores building on mingw with Collada support, also it restores cross compilin...
Tom Musgrove [Mon, 1 Feb 2010 18:39:41 +0000 (18:39 +0000)]
this restores building on mingw with Collada support, also it restores cross compiling, thanks to Sergey Sharybin for the patch.  Note that the icons for linux cross might not be committed here, if not i'll add them in another commit

9 years agobugfix for reading invalid id prop lengths from python.
Campbell Barton [Mon, 1 Feb 2010 18:38:33 +0000 (18:38 +0000)]
bugfix for reading invalid id prop lengths from python.

9 years agoMesh Extrude menu
Martin Poirier [Mon, 1 Feb 2010 18:30:00 +0000 (18:30 +0000)]
Mesh Extrude menu

Todo for Campbell:
- Make menu context sensitive
- Make menu automatically run the operator if there is only one option

Note: Saved configurations and keymaps with references to "Extrude and Move" operator needs to be updated to either call the menu or one of the new extrude macros.

9 years agoRemove NO_CONTEXT flag from enum when copying operator properties to the operator...
Martin Poirier [Mon, 1 Feb 2010 18:26:45 +0000 (18:26 +0000)]
Remove NO_CONTEXT flag from enum when copying operator properties to the operator itself.

9 years agoWrong include path in revision 26519 (missing space when concatenating includes)
Martin Poirier [Mon, 1 Feb 2010 18:23:24 +0000 (18:23 +0000)]
Wrong include path in revision 26519 (missing space when concatenating includes)

9 years agoQuicktime/QTKit : fix too dark images conversion issue
Damien Plisson [Mon, 1 Feb 2010 17:46:19 +0000 (17:46 +0000)]
Quicktime/QTKit : fix too dark images conversion issue

9 years agoCocoa/DND : give feedback to user of drop possibility before actual drop
Damien Plisson [Mon, 1 Feb 2010 17:38:44 +0000 (17:38 +0000)]
Cocoa/DND : give feedback to user of drop possibility before actual drop

The '+' in the cursor during the DND operation is displayed only if drop is accepted.
(through a previous call to GHOST_setAcceptDragOperation(window, TRUE); )

9 years agoCocoa/DND : added bitmap data type handling in drag'n'drop operations
Damien Plisson [Mon, 1 Feb 2010 17:33:41 +0000 (17:33 +0000)]
Cocoa/DND : added bitmap data type handling in drag'n'drop operations

Conversion of OS type to ImBuf is done inside ghost.

9 years agoFix for problem drawing second level popup menus due to recent commit,
Brecht Van Lommel [Mon, 1 Feb 2010 16:50:23 +0000 (16:50 +0000)]
Fix for problem drawing second level popup menus due to recent commit,
should find a better way to get this matrix for the UI.

9 years agoFix #20891: opengl animation render could mess up the view.
Brecht Van Lommel [Mon, 1 Feb 2010 15:32:55 +0000 (15:32 +0000)]
Fix #20891: opengl animation render could mess up the view.

The problem was that wmPushMatrix/wmOrtho/.. and similar functions did not
work well for offscreen rendering. It would have been possible to make a
fake subwindow for this, but I decided to just remove this extra layer as
it does not seem to have much purpose and has been quite confusing when
trying to fix other bugs. The relevant matrices are already stored in
RegionView3D so there will be no increase in calls to glGetFloat, which may
have been a performance reason to use this system in the past.

9 years agoBGE: fix for [#20684] Game Render blanks screen on Anaglyph Stereo view
Dalai Felinto [Mon, 1 Feb 2010 15:13:05 +0000 (15:13 +0000)]
BGE: fix for [#20684] Game Render blanks screen on Anaglyph Stereo view

The problem was: the Blender default camera has DOF distance as 0.0. Since we are using this as Focal Length for the stereo calculation we had terrible stereo by default.

Fix: whenever DOF == 0.0 we use focal length as eye separation * 30.0 (known to be a reasonable value)

9 years agoshape key transfer fix.
Campbell Barton [Mon, 1 Feb 2010 15:09:35 +0000 (15:09 +0000)]
shape key transfer fix.
workaround for the vert locations not being relyable, use the base shape key rather then the verts to calculate the offsets.

9 years agoopengl render wasnt using the right stamp flag
Campbell Barton [Mon, 1 Feb 2010 14:42:23 +0000 (14:42 +0000)]
opengl render wasnt using the right stamp flag

9 years agoremove workaround thats not needed anymore and could cause a python error when linkin...
Campbell Barton [Mon, 1 Feb 2010 14:25:38 +0000 (14:25 +0000)]
remove workaround thats not needed anymore and could cause a python error when linking a mesh with keys to an object.

9 years agoadded extrude enum function, cant be used yet because macros have no way to expose...
Campbell Barton [Mon, 1 Feb 2010 13:48:13 +0000 (13:48 +0000)]
added extrude enum function, cant be used yet because macros have no way to expose in a way that lets transform run after.

9 years agoBugfix #19970: auto-clamped / auto working strangly in f-curve editor
Joshua Leung [Mon, 1 Feb 2010 11:45:24 +0000 (11:45 +0000)]
Bugfix #19970: auto-clamped / auto working strangly in f-curve editor

Fixed the operators for DopeSheet/Graph Editors responsible for setting the "auto-clamped". This option is actually per F-Curve instead of per handle, and the code here should function like it did in 2.4x

However, despite this, it still appears to work oddly IMO. Any comments Bassam or animators familiar with the intentions of this?

9 years agoFix #20420: grab brush + subsurf modifier crash. Previously the PBVH nodes
Brecht Van Lommel [Mon, 1 Feb 2010 11:36:22 +0000 (11:36 +0000)]
Fix #20420: grab brush + subsurf modifier crash. Previously the PBVH nodes
were cached once at the start, but these can change when modifiers are
executed, now it simply doesn't cache them anymore, that was only really
a performance bottleneck when it was caching individual vertices.

9 years agoCocoa : fix mouse cursor hang when RMB-dragging in a not frontmost window
Damien Plisson [Mon, 1 Feb 2010 11:20:01 +0000 (11:20 +0000)]
Cocoa : fix mouse cursor hang when RMB-dragging in a not frontmost window

With continuous grab on, in 2+ window setup, when RMB-dragging an object in a 3D view of a not active (not frontmost) window, mouse cursor was stuck, with no escape.
Cursor grab must be done by the window that is key (able to receive mouse move events).

9 years agoFix #20502: add constraint (with targets) menu has no last used memory.
Brecht Van Lommel [Mon, 1 Feb 2010 11:13:55 +0000 (11:13 +0000)]
Fix #20502: add constraint (with targets) menu has no last used memory.

The last click button memory can now deal with menus with varying amounts
of menu entries and multi column layouts.

9 years agobpy.props.IntVectorProperty & BoolVectorProperty
Campbell Barton [Mon, 1 Feb 2010 10:51:34 +0000 (10:51 +0000)]
bpy.props.IntVectorProperty & BoolVectorProperty

9 years agoFix automatic draw method detection not clearing things properly
Brecht Van Lommel [Mon, 1 Feb 2010 10:39:36 +0000 (10:39 +0000)]
Fix automatic draw method detection not clearing things properly
on e.g. resizing windows.

9 years agoOSX : fix OpenCollada build for 10.4 targets with scons
Damien Plisson [Mon, 1 Feb 2010 10:14:22 +0000 (10:14 +0000)]
OSX : fix OpenCollada build for 10.4 targets with scons

9 years agoGPU type detection tweaks for unix/mac software rendering.
Brecht Van Lommel [Mon, 1 Feb 2010 10:04:37 +0000 (10:04 +0000)]
GPU type detection tweaks for unix/mac software rendering.

9 years agoWM Draw Method added to do Overlap assuming swap exchange / flipping,
Brecht Van Lommel [Mon, 1 Feb 2010 10:02:53 +0000 (10:02 +0000)]
WM Draw Method added to do Overlap assuming swap exchange / flipping,
and made that the default for windows software opengl because that
seems to be working better at least on XP. Previously this could only
be specified from the command line.

9 years agostub additions for building the game engine
Tom Musgrove [Mon, 1 Feb 2010 09:33:32 +0000 (09:33 +0000)]
stub additions for building the game engine

9 years agoNLA Editor Bugfix:
Joshua Leung [Mon, 1 Feb 2010 09:26:50 +0000 (09:26 +0000)]
NLA Editor Bugfix:

Operator to add action-clips now takes names without needing the "AC" prefix. The previous way was non-obvious for scripting usage, but did not cause too much trouble to replace.

9 years agoCocoa : implement opening .blend file by double-clicking on it in OSX Finder
Damien Plisson [Mon, 1 Feb 2010 09:11:18 +0000 (09:11 +0000)]
Cocoa : implement opening .blend file by double-clicking on it in OSX Finder

When the user double-clicks on a document file in the Finder, OSX doesn't simply give the filename as a command-line argument when calling Blender, as it is done in other OSes.
Instead, it launches the app if needed, and then sends an "openFile" event.

The user can also open a document file by dropping its icon on the app dock icon. But as this is not real Drag'n'drop, I've renamed the Ghost event to a less confusing "GHOST_kEventOpenMainFile" name.

DND Ghost wiki page updated : http://wiki.blender.org/index.php/BlenderDev/Blender2.5/DragnDrop

9 years agoFinished some todos for the Export KeyingSet operator:
Joshua Leung [Mon, 1 Feb 2010 04:07:43 +0000 (04:07 +0000)]
Finished some todos for the Export KeyingSet operator:
- Keyframing and other KeyingSet-level settings are now included in the exported script too
- A table of lookups for ID-block shorthands is built and included to make running the exported script more efficient and less confusing

9 years agoNew argument parsing library supporting multiple passes, case sensitive and insensiti...
Martin Poirier [Mon, 1 Feb 2010 01:43:31 +0000 (01:43 +0000)]
New argument parsing library supporting multiple passes, case sensitive and insensitive arguments, default handlers and other features that were hacked in the previous ugly switch system. Very simpler system for adding new arguments, easier to see conflicts and no more replication between BG and non BG mode arguments.

I've tested pretty much everything except GE options (-g options), but some small bugs could have sneaked in.

9 years agoFix loading python modules (like netrender)
Martin Poirier [Mon, 1 Feb 2010 01:33:40 +0000 (01:33 +0000)]
Fix loading python modules (like netrender)

9 years agoKeying Sets: Export to File
Joshua Leung [Mon, 1 Feb 2010 01:08:45 +0000 (01:08 +0000)]
Keying Sets: Export to File

This commit adds an operator which saves the active Keying Set in a form which can be used to regenerate the Keying Set again in another file using the Keying Sets API.

This could be made smarter by caching the ID-blocks used, and writing aliases for those, but that can be done later.

9 years agoSVN maintenance.
Guillermo S. Romero [Mon, 1 Feb 2010 00:04:28 +0000 (00:04 +0000)]
SVN maintenance.

9 years agoFixed a few lingering compiler warnings with the bpy_app stuff
Joshua Leung [Sun, 31 Jan 2010 23:49:04 +0000 (23:49 +0000)]
Fixed a few lingering compiler warnings with the bpy_app stuff

9 years agoWM Draw Methods now has a new option Automatic (default). This will
Brecht Van Lommel [Sun, 31 Jan 2010 23:45:51 +0000 (23:45 +0000)]
WM Draw Methods now has a new option Automatic (default). This will
set the draw method to triple buffer or overlap depending on the
configuration. Ideally I could get all cases working well with triple
buffer but it's hard in practice. At the moment there are two cases
that use overlap instead:

* opensource ATI drives on linux
* windows software renderer

Also added a utility function to check GPU device/os/driver.

9 years agough!, missed this file too
Campbell Barton [Sun, 31 Jan 2010 23:41:46 +0000 (23:41 +0000)]
ugh!, missed this file too

9 years agoAdded 'Evaluation Time' setting access to Path Animation panel.
Joshua Leung [Sun, 31 Jan 2010 23:41:38 +0000 (23:41 +0000)]
Added 'Evaluation Time' setting access to Path Animation panel.

This was previously only available from the datablocks viewer, but this is the direct replacement to the badly named 'speed' ipo-curve in the past ('speed' implies a rate that must be integrated/added to the results of past frame, rather than a factor).

Also, tweaked the RNA definition so that this shows as a slider (i.e. a factor), since the valid values for this are clamped to the [0, 1].

9 years agoFix #19888: tooltip would stay visible when starting e.g. panning the
Brecht Van Lommel [Sun, 31 Jan 2010 23:33:04 +0000 (23:33 +0000)]
Fix #19888: tooltip would stay visible when starting e.g. panning the
view, and be stuck there permantenly when leaving the region. Now the
button interaction is cancelled when starting a modal operator, not too
happy about this, but couldn't think of another way to detect this well.

9 years agoFix #20830: only rendering Z pass did not give correct Z values.
Brecht Van Lommel [Sun, 31 Jan 2010 23:27:40 +0000 (23:27 +0000)]
Fix #20830: only rendering Z pass did not give correct Z values.

9 years agoFix missing redraw in image window when changing render pass.
Brecht Van Lommel [Sun, 31 Jan 2010 23:25:57 +0000 (23:25 +0000)]
Fix missing redraw in image window when changing render pass.

9 years agomissed this file
Campbell Barton [Sun, 31 Jan 2010 23:21:33 +0000 (23:21 +0000)]
missed this file

9 years agoRenamed the FILE_OPEN option for the file browser to FILE_OPENFILE to cleanup compile...
Joshua Leung [Sun, 31 Jan 2010 23:07:32 +0000 (23:07 +0000)]
Renamed the FILE_OPEN option for the file browser to FILE_OPENFILE to cleanup compiler warnings about redefined definitions (mingw)

9 years agosetting invalid vector swizzle attributes (from blender2.4x docs for instance), could...
Campbell Barton [Sun, 31 Jan 2010 22:50:07 +0000 (22:50 +0000)]
setting invalid vector swizzle attributes (from blender2.4x docs for instance), could crash blender.
 - disallow setting swizzle's that have duplicate values: vec.xxx = [1,2,3]
 - raise an error if the list setting a swizzle's longer.
 - mathutils write callback was running on the wrong vector, which could crash blender.

9 years agoMathutils doc improvements + other small things
Campbell Barton [Sun, 31 Jan 2010 21:52:26 +0000 (21:52 +0000)]
Mathutils doc improvements + other small things
- bpy.app moved into PyStructSequence (used by sys.float_info)
- added buildinfo into bpy.app.build_*
- bpy.ui removed (wasnt used)
- include external example files in Mathutils docs (only Mathutils and Vector are currently written)
- added support to auto document PyStructSequence's
- CMake had "'s inside all its strings.

9 years agoFix [#20901] OPENEXR: Incorrect gamma from colour management
Matt Ebb [Sun, 31 Jan 2010 20:53:04 +0000 (20:53 +0000)]
Fix [#20901] OPENEXR: Incorrect gamma from colour management

Was working correctly on float render buffers, but not 8bpc render buffers
(only generated from sequence editor)

9 years ago-setaudio argument to force an audio device.
Martin Poirier [Sun, 31 Jan 2010 18:32:19 +0000 (18:32 +0000)]
-setaudio argument to force an audio device.

This also means that only -s and -S are accepted to set start frame and scene (before, it would accept anything that started with s or S, you could have done blender -b file.blend -super 1 -Science "scene 2").

We really need better argument parsing...

9 years ago2.5: quick fix to make 10-timer menu appear again. It's a debug tool, is
Ton Roosendaal [Sun, 31 Jan 2010 18:06:50 +0000 (18:06 +0000)]
2.5: quick fix to make 10-timer menu appear again. It's a debug tool, is
allowed to show menus in end. But, report API doesn't have a type for this
yet... has been noted, and will be checked soon.

9 years agoTemporary work around for [#20768] Project Snap Broken
Martin Poirier [Sun, 31 Jan 2010 17:50:42 +0000 (17:50 +0000)]
Temporary work around for [#20768] Project Snap Broken

Don't snap to editmesh when project is on (that means you can't retopo to the same mesh). Again, that's a temporary work around.

9 years agoFix snap to grid not taking the current grid resolution into
Brecht Van Lommel [Sun, 31 Jan 2010 16:59:21 +0000 (16:59 +0000)]
Fix snap to grid not taking the current grid resolution into
account in quad split 3d view. Now WM_OP_EXEC/INVOKE_REGION_WIN
context stays in the current region if it is already a region
of type window, so the operator gets executed in the right context.

9 years agoFix #20879: crash when add textures brush in sculpt mode. Drawing
Brecht Van Lommel [Sun, 31 Jan 2010 15:06:20 +0000 (15:06 +0000)]
Fix #20879: crash when add textures brush in sculpt mode. Drawing
the texture would crash because the VBO was still bound. As I
understand it this is not necessarily against the opengl spec,
but might as well unbind it, the driver bug seems to have been
fixed but has not trickled down everywhere yet.

http://bugs.freedesktop.org/show_bug.cgi?id=23859

9 years agopep8 changes
Campbell Barton [Sun, 31 Jan 2010 14:46:28 +0000 (14:46 +0000)]
pep8 changes

9 years agopep8 changes to rigify (minor warnings still there)
Campbell Barton [Sun, 31 Jan 2010 14:33:27 +0000 (14:33 +0000)]
pep8 changes to rigify (minor warnings still there)
also found quite a few cases where variables were used that hadnt been defined.

9 years agowhite space commit, so the actual changes in the next commiy wont be so hard to find
Campbell Barton [Sun, 31 Jan 2010 14:30:21 +0000 (14:30 +0000)]
white space commit, so the actual changes in the next commiy wont be so hard to find

9 years agoFix #20696: shape keys with vertex groups showing in edit mode did
Brecht Van Lommel [Sun, 31 Jan 2010 11:15:51 +0000 (11:15 +0000)]
Fix #20696: shape keys with vertex groups showing in edit mode did
not update immediately when editing the vertex groups.

9 years agoVarious tweaks to View2D code for handling of scrollbar interactions in relation...
Joshua Leung [Sun, 31 Jan 2010 11:13:31 +0000 (11:13 +0000)]
Various tweaks to View2D code for handling of scrollbar interactions in relation to bug 19881:

* Clearly labelled the way that the scrollbar hiding works. Also see the report comments for an overview
* Added another pair of flags for another one of the cases in which scrollbars should also get ignored; when the entire contents of the view are visible, a pair of flags is now set in the view2d data (instead of for the scrollers tempdata only) for detecting this case too
* Fixed the potential for scrollbars without zoom handles shown to have those handles still considered. This still happened in the User Preferences window, but has now been disabled.

--

These changes still don't solve the bug though. Currently after the scrollbar operator passes through, the Outliner's activate-selection operators still fail to start.

9 years agoFix #20897: ctrl + click extrude now works again with "select with"
Brecht Van Lommel [Sun, 31 Jan 2010 11:01:13 +0000 (11:01 +0000)]
Fix #20897: ctrl + click extrude now works again with "select with"
set to left mouse, using the right mouse button, same as in 2.4x.

9 years agoFix #20896: FSAA wasn't disabled properly and still enabled for 3d view
Brecht Van Lommel [Sun, 31 Jan 2010 09:49:46 +0000 (09:49 +0000)]
Fix #20896: FSAA wasn't disabled properly and still enabled for 3d view
drawing, which apparently still slows things down even if you don't have
the window set up to do this.

9 years agoFix compile error in qtkit_export.m on mac.
Brecht Van Lommel [Sun, 31 Jan 2010 09:42:50 +0000 (09:42 +0000)]
Fix compile error in qtkit_export.m on mac.

9 years agoArmature RNA: Removed old properties for armature-only bone paths
Joshua Leung [Sun, 31 Jan 2010 05:36:57 +0000 (05:36 +0000)]
Armature RNA: Removed old properties for armature-only bone paths

9 years agobugfix [#20579] Context pinning error (pose mode)
Campbell Barton [Sat, 30 Jan 2010 23:48:49 +0000 (23:48 +0000)]
bugfix [#20579] Context pinning error (pose mode)

9 years agomissed these last commit
Campbell Barton [Sat, 30 Jan 2010 22:50:32 +0000 (22:50 +0000)]
missed these last commit

9 years agochanges to get MingW compiling and cross compiling working, patch by Sergey Sharybin
Tom Musgrove [Sat, 30 Jan 2010 22:46:25 +0000 (22:46 +0000)]
changes to get MingW compiling and cross compiling working, patch by Sergey Sharybin

9 years ago- hash characters in the path would confuse the output file name and not add numbers...
Campbell Barton [Sat, 30 Jan 2010 22:33:47 +0000 (22:33 +0000)]
- hash characters in the path would confuse the output file name and not add numbers to it (when rendering animations).
- added an option to BLI_convertstringframe and BLI_convertstringframe_range to add digits if not found.
- removed BLI_convertstringframe where its obviously not needed - such as loading movies and sounds.

9 years agorename game object obcolor to color
Campbell Barton [Sat, 30 Jan 2010 21:59:20 +0000 (21:59 +0000)]
rename game object obcolor to color

9 years agobugfix [#20878] Filtering for keymaps became useless [26389]
Campbell Barton [Sat, 30 Jan 2010 21:48:07 +0000 (21:48 +0000)]
bugfix [#20878] Filtering for keymaps became useless [26389]

9 years agoBugfix #20870: Local rotation drivers behave weird
Joshua Leung [Sat, 30 Jan 2010 21:21:36 +0000 (21:21 +0000)]
Bugfix #20870: Local rotation drivers behave weird

Use euler rotations for local rotation drivers if the object/bone uses euler rotations. Otherwise, fall back to matrix-based conversions again.

9 years agoBugfixes:
Joshua Leung [Sat, 30 Jan 2010 21:11:46 +0000 (21:11 +0000)]
Bugfixes:
* Old files imported to 2.5 with curves that got cycles FModifiers added during version patching, would not have their keyframes shown for editing.

* #20893: Can't see/show the Properties area in the NLA
I don't know why this worked on a few of my test files several months ago, and yet now fails for many files today.