Blender Git Loki

Kaikki Blender Git kommitit.

Page: 4773 / 8462

July 7, 2015, 11:25 (GMT)
Remove redundant lists, link instead
July 7, 2015, 11:17 (GMT)
Remove unnecessary constant info

Noting every constant as an int isnt helping,
this is only meant to be passed to only.
July 7, 2015, 10:49 (GMT)
GPencil Sculpt: Redraw the view on mousemove even if none of the strokes was affected

The active viewport needs to get redrawn, or else the brush circle will not move
when "selection mask" is enabled and the user is trying to paint over non-selected
areas.
July 7, 2015, 10:45 (GMT)
GPencil Sculpt: MMB can now be used for viewport manipulations while the sculpt operator is active
July 7, 2015, 10:29 (GMT)
Fix for recent error, ngons now flipped correctly
July 7, 2015, 09:59 (GMT)
Using proper subtype in game object velocity clamping properties.

The game.velocity_{min,max} and game.angular_velocity_{min,max} object
RNA properties did not use a subtype, and thus velocity was always
displayed as radians or blender units instead of the configured units.

Reviewed by: campbellbarton
July 7, 2015, 09:40 (GMT)
CMake support
July 7, 2015, 09:40 (GMT)
GPencil Sculpt: Code Cleanup

* Removed inlined math in favour of mathlib functions
* Simplified arguments to some functions/callbacks by reusing passsed-in coords
(as vectors/arrays instead of as separate values)
July 7, 2015, 06:57 (GMT)
Gooseberry: Hopefully fix compilation of BGE stubs
July 7, 2015, 06:55 (GMT)
Gooseberry: Fix someone's bad merge conflict resolve in BGE stubs
July 7, 2015, 05:52 (GMT)
GP Smooth Brush: Affect endpoints by a reduced amount instead of not at all

Endpoints can't be handled normally, as they tend to easily "shrink",
reducing the length of the stroke. However, we still want some smoothing
to take place, as it looks odd without anything happening.
July 7, 2015, 05:08 (GMT)
Minor simplification for uv edge drawing
July 6, 2015, 19:48 (GMT)
BGE: bge.texture API documentation enhancement

This patch attempts to improve and review the documentation of bge.texture, as requested in the [[ http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/GameEngine#Video_Texture | TODO list ]].

More specifically, it

- fixes the rst syntax, including titles of the examples bge.texture.py and bge.texture.1.py;

- adds, standardizes and reviews description of the API elements, particularly signatures, types, etc.

- adds SOURCE_* constants to the doc

- splits the doc into thematical parts (Video, Image, Texture, and Filter Classes, Functions, Constants).

Notes:

- The parameter "mode" of ImageBuff.plot has to be described better. Actually, the whole set of IMB_BLEND_* constants (from IMB_imbuf.h) should be exposed to Python. I'll do that in a future diff, and complete the doc at the same moment (adding those IMB_BLEND_* constants to the Constants part of this doc).

- The option of using webcams in VideoFFmpeg is still particularly not well documented. I am planning to make a proposal about fixing T18634 (and its corresponding TODO in the list) by integrating OpenCV in the BGE (and Blender?). The idea would then probably be to add a new class, f.ex. ImageWebcam, making this functionnality more specialized. So for now I don't think it is worth to document that part much.

This patch fixes T44284 too.

Reviewers: moguri, kupoman, campbellbarton, panzergame, lordloki

Reviewed By: panzergame, lordloki

Subscribers: hg1

Projects: #game_engine, #game_python, #documentation

Maniphest Tasks: T44284

Differential Revision: https://developer.blender.org/D1352
July 6, 2015, 18:31 (GMT)
BGE: bge.texture API documentation enhancement

This patch attempts to improve and review the documentation of bge.texture, as requested in the [[ http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/GameEngine#Video_Texture | TODO list ]].

More specifically, it

- fixes the rst syntax, including titles of the examples bge.texture.py and bge.texture.1.py;

- adds, standardizes and reviews description of the API elements, particularly signatures, types, etc.

- adds SOURCE_* constants to the doc

- splits the doc into thematical parts (Video, Image, Texture, and Filter Classes, Functions, Constants).

Notes:

- The parameter "mode" of ImageBuff.plot has to be described better. Actually, the whole set of IMB_BLEND_* constants (from IMB_imbuf.h) should be exposed to Python. I'll do that in a future diff, and complete the doc at the same moment (adding those IMB_BLEND_* constants to the Constants part of this doc).

- The option of using webcams in VideoFFmpeg is still particularly not well documented. I am planning to make a proposal about fixing T18634 (and its corresponding TODO in the list) by integrating OpenCV in the BGE (and Blender?). The idea would then probably be to add a new class, f.ex. ImageWebcam, making this functionnality more specialized. So for now I don't think it is worth to document that part much.

This patch fixes T44284 too.

Reviewers: moguri, kupoman, campbellbarton, panzergame, lordloki

Reviewed By: panzergame, lordloki

Subscribers: hg1

Projects: #game_engine, #game_python, #documentation

Maniphest Tasks: T44284

Differential Revision: https://developer.blender.org/D1352
July 6, 2015, 17:27 (GMT)
Fix T45331, a bevel regression for 2.75.

Got bad results when two beveled edges form straight line
and there are two or more unbeveled edges attached to either
side of the connecting vertex.
July 6, 2015, 14:51 (GMT)
Fix T45237: Dither does not work
July 6, 2015, 14:48 (GMT)
Merge branch 'master' into GPencil_Editing_Stage3
July 6, 2015, 14:46 (GMT)
Code cleanup

* Remove all mention of the complicated way of implementing smoothing for now
* Disable debug print
July 6, 2015, 14:43 (GMT)
GP Stroke Sculpting: Initial implementation of a "Smooth" Brush

This commit introduces a basic "smooth" brush tool for sculpting Grease Pencil
strokes (i.e. for getting rid of wobbles or kinks in the stroke). The current
implementation is still quite rough (with quite a few points noted about how it
could be better).

Usage Notes:
* It is highly recommended to have the "Use Falloff" option enabled. Doing so
allows you to have quite a bit more subtlety to how well you can control the
effects of this brush (i.e. this option can be used to prevent the brush from
"shrinking" the strokes too much, if you use the edge of the brush)

* A radius of 25 px, and strength = 0.5 are also good starting points


Implementation Notes:
* This currently only affects the stroke coordintes. Whether pressure values should
be handled by this brush (with/without an option to turn this on/off), or whether
it should be handled as a separate brush remains to be seen.

* This isn't exactly the most efficient implementation. It also suffers from the
fact that because its effects are applied from the first point in the stroke
to the last (and in a single pass), you can get unwanted accumulated smoothing
effects.

* Currently all points in the neighbourhood are given equal priority. We could
investigate different weighting schemes here.

* This is currently hardcoded to consider 2 points before and 2 points after the
current one. This could be improved by offering control over how many on either
side to consider...
July 6, 2015, 14:34 (GMT)
GP Stroke Sculpting: Fix bug with falloff calculation

Falloff calculation was incorrect as it could produce invalid values if the
distance to a point exceeeded the radius of the brush, resulting in "large
negative values".
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021