Blender Git Loki

Kaikki Blender Git kommitit.

Page: 6108 / 8462

December 21, 2012, 02:36 (GMT)
correct ed_view3d_project__internal() was unnecessarily casting (float -> short -> float).
December 21, 2012, 02:28 (GMT)
BGE: Adding a Python interface for handling joysticks without needing logic bricks. These new SCA_PythonJoystick objects can be accessed using bge.logic.joysticks, which is a list of joysticks. The length of the list is the number of maximum supported joysticks, and indexes that do not have a joystick available are set to None. This means joysticks can be checked for using something like:

if bge.logic.joysticks[0]:
activate_player_one()

if bge.logic.joysticks[1]:
activate_player_two()

etc..

The interface exposed by SCA_PythonJoystick is very similar to the joystick logic brick except for one key difference: axis values are normalized to a -1.0 to 1.0 range instead of -32767 to 32767, which is what the logic brick exposed.
December 21, 2012, 00:11 (GMT)
minor cleanup to ui_get_but_vectorf / ui_set_but_vectorf, change the vector with one function call if its size 3.
December 20, 2012, 19:40 (GMT)
Tomato: syncronize with changes in libmv branch with assorted fixes

- Biggest error was in cost functors used for F and H refirement,
they were just wrong.

- Use natural logarithms, since it's actually makes sense from
math papers point of view and error is somewhere else.

- Disabled rho for GRIC, for now use non-clamped error for tests.

- Made SymmetricEpipolarDistance returning non-squared distance
Keyframe selection is currently the only used of this function
and it seems using non-squared distance makes much more sense.

Also would think to append suffix "Squared" to functions which
returns squared distances.

- Removed templated version of SymmetricEpipolarDistance, since
it's not needed actually.

- Changed main keyframe selection cycle, so in cases there're no
more next keyframes for current keyframe could be found in the
image sequence, current keyframe would be moved forward and
search continues.

This helps in cases when there's poor motion in the beginning
of the sequence, then markers becomes occluded. There could be
good keyframes in the middle of the shot still.

- Moved correspondences constraint to the top, so no H/F estimation
happens if there's bad correspondence. Makes algorithm go a bit
faster.

Selection still behaves very much fuzzy and still working on this.
December 20, 2012, 19:26 (GMT)
Cycles: reduce memory usage of instanced objects by about 40%, as long as the
motion vector pass is not enabled.
December 20, 2012, 19:18 (GMT)
UI fixes, from the todo:

- Button panel animation didn't work for 3D View properties and similar regions.
- Akey on View3d overlapping panel: was accidentally passed on as event to the main window.

December 20, 2012, 18:18 (GMT)
Bugfix, irc collection:

Copy/Paste from and to color swatches now includes alpha.
Buttons without alpha have this value on '1' on copy.

December 20, 2012, 18:04 (GMT)
Restored old hack to open/close panels on A-key.
Notes in code:

- This has to become a decent handler
- Actually "A" should open/close all?

Currently, Enter key does open/close too, but only on headers.
This because Enter on a button gets handled by buttons... that's
why the Akey was proposed :)

December 20, 2012, 17:40 (GMT)
Small fix in drawing 'selection circle' in outliner. It wasn't circular.

December 20, 2012, 16:50 (GMT)
UI todo:

- Recoded soft shadow drawing for menus, giving better predictable results
(and round off nicer on top side, was looking bad still)
- Brought it under DPI control
- Added Theme setting to control size and strength for it.

Max size 24 pix:
http://wiki.blender.org/index.php/File:MenuShadow.png


December 20, 2012, 16:50 (GMT)
Tomato: added missing files to template generator
December 20, 2012, 16:46 (GMT)
Merging r53203 through r53211 from trunk into soc-2011-tomato

December 20, 2012, 16:37 (GMT)
Better cursor centering for text editor
December 20, 2012, 15:49 (GMT)
Fix #33630: DDS compressed textures were not actually using mipmaps for minification.
December 20, 2012, 15:45 (GMT)
Fix #33629: DDS DXT5 with alpha not loaded correctly, Y flipping code was wrong.
December 20, 2012, 14:45 (GMT)
Bug fix:

Laptop trackpad scroll was inverted for 3d window.
Now movement is consistent among editors and follows system prefs.

December 20, 2012, 13:29 (GMT)
Change region drawing callbacks to work much closer to how blender manages them internally.
- yes, this does break scripts, but the api is marked experimental.


ED_region_draw_cb_activate() adds a callback to a region type whereas the api made it look like the callback was being added to the region instance.
Use a class method on bpy.types.Space to manage region drawing, eg.

was:
self._handle = context.region.callback_add(draw_callback_px, args, 'POST_PIXEL')

is now:
self._handle = bpy.types.SpaceView3D.draw_handler_add(draw_callback_px, args, 'WINDOW', 'POST_PIXEL')
December 20, 2012, 12:56 (GMT)
Updated icon svg and bitmaps. Now has the movieclip editor again :)

December 20, 2012, 12:01 (GMT)
Bug fix #28915 and #33538

Mac OS X trackpad and 'mighty mouse' fix.

An old commit from Damien in 2010 tried to make mighty mouse touches work as if
this is a scrollwheel. The error in that code was that the "kinetic scrolling"
feature failed. When releasing your fingers, the events passed on to Blender
then switched from "trackpad pan" to "mousewheel zoom".

This commit makes trackpads and mighty mouse behave identical. Only difference
is that trackpad panning needs 2 fingers, mighty mouse only one.

Note that trackpad and mighty mouse 3d zoom works with holding ctrl!

All works nice with this kinetic feature now. Fun :)

December 20, 2012, 11:46 (GMT)
Merging r52895 through r53202 from trunk into soc-2011-tomato

Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021