Blender Git Commits

Blender Git "master" branch commits.

Page: 3346 / 5574

December 30, 2012, 01:26 (GMT)
add syntax highlighting color for symbols
December 30, 2012, 01:12 (GMT)
code cleanup: enum for formatting char (avoid confusion when '#' is a comment for // in OSL)
December 30, 2012, 00:46 (GMT)
code cleanup: text editor formatting enums were named crypticly, also add asserts if the continuation values are wrong (which can happen with buffer overflows on formatting).
Revision 1fd0520 by Dan Eicher
December 29, 2012, 22:06 (GMT)
Infinite loop caused by using an uninitialized variable in a compairison statement
Revision 76fd28c by Dan Eicher
December 29, 2012, 20:16 (GMT)
Missing NULL check which crashes on opening the Text Editor without an active Text object
December 29, 2012, 19:51 (GMT)
OSX: fix magic mouse swipes compiling on with MAC_OS_X_VERSION_MIN_REQUIRED by checking address not value
December 29, 2012, 19:43 (GMT)
fix bug #33275: iTaSC ignores location of disconnected bones when they are changed in pose mode.

Disconnected bones can be translated in pose mode but this translation
cannot be applied to the iTaSC representation of the armature because
there is no joint associated with it. As a result, moving disconnected
bones had no effect. The bug fix is in two parts:
1) manual or rna change in the armature pose will cause automatic
rebuilding of the iTaSC scene
2) the iTaSC scene is now built from the current pose instead of
armature rest pose
December 29, 2012, 18:25 (GMT)
patch [#33609] Syntax highlighting for OSL in Text Editor
from Patrick Boelens (senshi). with modifications to split it into its own function.

also added C style multi-line comment support /* ... */

I've left out the part of this patch that sets the language in the space, since I think this might be better stored in the text block.

For now it simply uses OSL syntax highlighting when the extension is '.osl'.
December 29, 2012, 18:20 (GMT)
fix for 2 errors in python syntax highlighting, no space was allowed in decorators and decorators where being skipped.
December 29, 2012, 17:49 (GMT)
Long ago we used to be able to bake physics from negative frames, feature that got lost at some point. Now we can do it again.

Example is for physics like Cloth or Hair Dynamics that start on a shaky state for a few frames until they settle (for say baking subtle grass or hair movement).

Reviewed on IRC by kaito, Uncle_Entity and DingTo.

December 29, 2012, 16:18 (GMT)
code cleanup: text editor syntax highlighting - avoid loops using memset()
December 29, 2012, 16:04 (GMT)
text editor: replace strncmp() and hard coded size with STR_LITERAL_STARTSWITH() macro that gets the size from sizeof().
December 29, 2012, 15:55 (GMT)
style cleanup
December 29, 2012, 15:25 (GMT)
And another NDOF fix:

The dolly factor (fly in/out) now correctly scales for distance to view center.
This allows working on details or huge scenes.

December 29, 2012, 15:17 (GMT)
Fixes for NDOF device:

User preference "Rotate around selection" now works for all input operators.
(Didnt for new default)

Note: the default will only rotate around selection, zooms remain to view center.
Our view pivot methods are not well definied at all...

December 29, 2012, 13:21 (GMT)
Trackpad fixes & changes:

- UV Image editor and other 2d views didn't zoom for CTRL+swipe yet.
(2 finger trackpad, 1 finger mighty mouse)

- Switched defaults for 3D window swiping...
- default rotate view
- SHIFT for translate
- CTRL for zooms

This makes all editors use 'swipe' like 'middle mouse', and not
like scrollwheel (as in releases).

This is nice for consistancy, but it still feels a bit weird...

Of course users can config this in keymaps. We need a sensible
default though, and to make a 2D input input device behave like
middle mouse seeems more sensible than like a 1D wheel...

Proposal therefore for defaults:

- 1D scrollwheels: zoom in 3d, zoom in 2d, but scroll for list views.

- 2D trackpads: pan for all 2d views, rotate for 3D

I'll check with frequent trackpad users about this and we can freeze it
before release. Give it a try :)

December 29, 2012, 12:33 (GMT)
Bug fix #32806

In 2.64, input for using an NDOF device included all 6 DOFs - including panning.
That makes using it for many people (including beginners like me) too hard, you
very quickly lose the 3d view rotation pivot, as if you are in free fly mode.

Fredrik provided an updated patch, which restores the 2.63 method to only
dolly and rotate by default. The new "all dof" operator is hidden in the keymaps
behind modifier keys SHIFT + CTRL. Users can set this in their configs of course.

As usual, we should be careful changing accepted defaults, and provide new
options as additional choice only.

A useful todo is to make user preference "around selection" work well.
Will check on this now too.

December 29, 2012, 11:07 (GMT)
example use of addon preferences.
December 29, 2012, 11:03 (GMT)
add include missing from last commit
December 29, 2012, 11:00 (GMT)
Mac OS X 10.7 supports new trackpad (and mighty mouse) events with nice seamless
scrolling and inertia.

Now Blender uses this - if you have 10.7. Otherwise it just falls back on the
old code.

Try it, makes a huge difference :)

Next todo: how to configure this well, so you can have trackpad (or mighty mouse)
zoom as default in 3d views.


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