Blender Git Commits

Blender Git "master" branch commits.

Page: 3023 / 5574

November 25, 2013, 21:00 (GMT)
i18n module cleanup: remove hack used during svn -> git transition phase!
Revision 20d9676 by Thomas Beck
November 25, 2013, 20:44 (GMT)
Code cleanup: As Sergey stated on bf-committers one should use id_us_min() if the user counter has to be decremented and not decrement the counter by hand.
November 25, 2013, 20:13 (GMT)
Correct fix for T37617, (own recent regression)
November 25, 2013, 20:01 (GMT)
Fix T37617: "Add plane" was adding a 2*2 grid

Was a regression from rBaa3c06b41ca9, hope this time all things are OK again (note the X/Y subdivision values still are different than before (-1 for same result), but imho they make more sense this way).
November 25, 2013, 19:39 (GMT)
Code Cleanup: rename vars for detecting change to be more consistent

rename change/is_change/is_changed/modified -> changed
also use bools over int/short/char and once accidental float.
November 25, 2013, 18:14 (GMT)
Fix: jump to next/previous marker shortcut keys conflicted with others in clip editor.

Disable them for now and leave to for keymap revamp to assign them shortcut keys or not.
November 25, 2013, 16:42 (GMT)
UIList: add proper support for ctrl-c/v (copy/paste) of names.

Dev notes: Another hack in ui_do_button(), to add a specific handling of LISTROW in case of copy/paste event, which fixes the same 'not working if no mouse mouve' issue for those actions as well. Also added an helper func to switch from listrow to text button, as we now do that in two different places.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D40
November 25, 2013, 13:26 (GMT)
UI: fix errors in screen edge drawing, moving and region hiding.

Summary:
- Fixes an off-by-one error in screen_test_scale() which causes the areas and
regions to draw one pixel bigger on the right and top side of the window,
therefor hiding one line of pixels.
- Fixes an off-by-one error in rct_fits() which causes regions to incorrectly
hide even though it would fit inside the area.
- Correctly set the limits for the screen edge move operator so it will always
go up to AREAMINX and headery.
- Change screen_find_active_scredge() so it doesn't show the arrows cursor on
the screen edges along the window border.

The import thing to understand is how integer rects are used in this part of the
code. They are constructed as a lower left and top right point and are INCLUSIVE.
Meaning that if you have a rect's xmin = 10 and xmax = 30 then the total number
of pixels is 21. So to get the size of a rect you have to do xmax - xmin + 1,
which is easy to forget and result in off-by-one errors.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D41
November 25, 2013, 13:19 (GMT)
Blender Internal: Add "Lamp Data" shader node that allows shaders to acquire information such as light vector from specified Lamp.

For now this provides the following outputs:

- Color
- Light Vector
- Distance
- Shadow
- Visibility Factor

Note: Color output is multiplied by the lamp energy. Multiplication of
color*max(dot(light_vector,normal_vector),0)*shadow*visibility_factor
produces the exact same result as the Lambert shader.

Many thanks to Brecht for code review and discussion!
November 25, 2013, 13:18 (GMT)
T37247 - Modifier "Mask" not updated correctly when switching from objects
November 25, 2013, 11:21 (GMT)
Fix build warning in release mode with clang.
November 25, 2013, 11:21 (GMT)
UI: hide internal properties of radial control operator from user.

Ref T37438 for the associated design task.

Reviewed By: brecht, dingto

Differential Revision: https://developer.blender.org/D37
November 25, 2013, 11:21 (GMT)
UI: remove unnecessary confirmation popups

This makes a number of operators no longer ask for confirmation, rather it will
show an info message after performing the operation. Ref T37422 for decision. In
particular, these were changed:

* Delete objects, bones, keyframes, masks, mask curves, motion tracks, markers.
* Clear and delete keyframes in the 3D view.
* Align bone to parents.
* Separate bones from armature.
* Group/ungroup metastrips in sequencer.
* Copy/paste objects to/from buffer.

Reviewed By: brecht, dingto

Differential Revision: https://developer.blender.org/D35
November 25, 2013, 11:21 (GMT)
UI: change hard limits on a few camera and image properties to infinite, soft limits stay the same.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D33
November 25, 2013, 11:01 (GMT)
Fix addons submodule hash

It was proken in rB41a90077608898accebd08653d064fe309325a17.

Again, plase NEVER use neither `git add .` nor `git commit .`
and use -a command line argument instead.

And NEVER push changes to blender.git BEFORE pushing changes
to submodules.
November 25, 2013, 10:25 (GMT)
Show hash from latest pushed commit in buildinfo

Before this hash of latest local commit was used,
which is not so much useful since nobody can access
that commit hash.
November 25, 2013, 10:24 (GMT)
Tweaks to PNG file output

- Made tooltip for compression a bit more clear.
- Use default compression of 15%. Gives around
two times boost on export movie file here in
test with only 10% increased file size.

Reviewers: Jonathan Williamson
November 25, 2013, 10:14 (GMT)
fix for regression with own recent commit
November 25, 2013, 09:56 (GMT)
OSX: Fix T37602, quitting from the File Menu does not ask
November 25, 2013, 09:35 (GMT)
Fix T37573: Adding grid primitive slow for many subdivisions
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021