Commit Graph

49420 Commits

Author SHA1 Message Date
Brecht Van Lommel
5bb576e8e4 Fix #33417: add back GPU Mipmap Generation option, apparently with this disabled
it takes up less memory on some cards, still unclear why.
2012-12-05 11:46:13 +00:00
Campbell Barton
af51827dda add a message when solidify is used with only-edges, this isn't properly supported.
also minor edits to py-api-ref
-- This line, and those below, will be ignored--

M    doc/python_api/sphinx_doc_gen.py
M    doc/python_api/rst/include__bmesh.rst
M    source/blender/modifiers/intern/MOD_solidify.c
2012-12-05 01:02:41 +00:00
Tamito Kajiyama
724746dba2 A patch set by Bastien Montagne (many thanks!)
* Removed the ../include and ../src include directories from scons/cmake files.
These directories do not exist and are very noisy when building.

* Coding style clean-up in Python scripts: 'string' is used for enum values,
and "string" for usual stings.

* UILayout.active is used instead of UILayout.enabled to grey out "inactive"
settings.  This still allows users to edit them, which can be handy sometimes.

* Improved UI layout of the Line Style panel by means of:
- The standard “column” paradigm is used in more places;
- More compact layout where possible; and
- Tweaks to the modifiers' header.

* Improved UI layout of the Line Set panel by rearranging the "Selection by"
options into a compact row of toggle buttons.
2012-12-04 22:33:45 +00:00
Campbell Barton
5b9f30980a update parse_syntax_error() from python3.3 - this is an internal python function that isn't exposed to the api. 2012-12-04 20:09:07 +00:00
Campbell Barton
d0667c70dd fix for python button evaluation not restoring the __main__ module. 2012-12-04 19:58:13 +00:00
Campbell Barton
302856f4b1 operator spacebar search menu wasn't ignoring internal operators,
turns out there were copy-pasted functions for operator search popups which were identical except that one skipped internal ops.
de-duplicate so both work the same now.
2012-12-04 18:22:41 +00:00
Campbell Barton
677c712b58 fix [#33412] Jump to next frame broken in grease pencil mode
allow arrow keys while in grease pencil session, otherwise you can't change frames.

also correct out-of-date comments.
2012-12-04 17:38:55 +00:00
Campbell Barton
576bc2e6e4 bevel - use tri-fan filling in the special case when a bevel edge meets a non bevel edge at a valence 2 vert.
this is the topology tri-fan was intended to be used.
2012-12-04 15:28:34 +00:00
Campbell Barton
767bfba808 cmake was missing some header files. 2012-12-04 14:43:42 +00:00
Campbell Barton
41b6e700e0 bevel: re-order checks so angle checks are done after quick sanity checks. 2012-12-04 14:41:40 +00:00
Campbell Barton
1d0f005093 fix for WM_keymap_remove_item() writing to freed memory. 2012-12-04 12:41:59 +00:00
Campbell Barton
60cd5ee412 fix for typo when overwriting pythons stdout/stderr, also print errors if they happen here now. 2012-12-04 11:21:33 +00:00
Sergey Sharybin
46227675f3 Default PNG compression for new scenes is not 90% (same as default scene) 2012-12-04 09:45:38 +00:00
Sergey Sharybin
3fd153ab88 Fix for double-freeing image buffers when rendering opengl animation into movie file. 2012-12-04 09:07:44 +00:00
Sergey Sharybin
89d91f5a7d Fix #33402: Compositor crashes when drag-dropping multilayer exr
There was a missing image reload signal in node creation by drag-dropping,
which lead to incorrectly set image type.

Also fixed misusage of IMB_freeImBuf used to release buffer acquired by
BKE_image_acquire_ibuf.
2012-12-04 08:10:53 +00:00
Sergey Sharybin
a4e6da3580 Fix #33398: Missed undo push when script execution failed
Undo push was missed in cases when script failed to run with some error
when using Run Script in text editor. As far as i can see it makes sense
to skip undo push here only in cases live editing is enabled.

Otherwise it's indeed annoying to return to previous scene state when
debugging the script.
2012-12-03 16:47:38 +00:00
Brecht Van Lommel
81a762e79f Fix cycles viewport render getting stuck with driven/animated nodes, the updated
flag would not get cleared due to the nodetree not being a real datablock.
2012-12-03 16:21:43 +00:00
Sergey Sharybin
458131e395 Disable alpha pass for all painting modes
It's not actually supported and gives artifacts when tried to be used.
2012-12-03 16:19:38 +00:00
Campbell Barton
6ce73abde8 fix [#33400] Knife ortho floating point error
the green dot under the mouse would not draw under the mouse when clipping values were high (1000+) - which is common.
use a different method which doesnt give these problems.
2012-12-03 15:09:33 +00:00
Bastien Montagne
e33f9795fe Cleaning commented code in DM_update_weight_mcol (inactive since two releases at least...). 2012-12-03 14:12:40 +00:00
Campbell Barton
4a9c522125 quiet float -> double conversion warnings and do some osl style edits. 2012-12-03 13:58:08 +00:00
Bastien Montagne
582a9d1c45 Fix for [#33378] Grease pencil dopesheet fails on a few operations
Snapping operator in action editor for grease pencil and mask wasn't implemented. We could probably re-enabled/fix/cleanup more things in this area (e.g. use a custom poll func for operators not supporting gp/mask, instead of silently doing nothing), but this is for after 2.65 imho).
2012-12-03 13:07:43 +00:00
Campbell Barton
4f3fdb8d5a R/G/B icons in node space backgroud channel selector all had same color wheel icon which didnt make much sense. 2012-12-03 13:01:07 +00:00
Thomas Dinges
46d4d7559f Image Editor / UV:
* Bring back "Snap to Vertex", own regression introduced in r39460.

Patch by Brecht (DNA, Transform) and myself (RNA, Script).
2012-12-03 12:03:16 +00:00
Campbell Barton
4302cde8ff re-apply a workaround for [#31555] Username with special chars in Windows 7
this time keep the stderr/stdout so there FD's are not closed (causing [#32720]).

This workaround is ugly but saves us from using a patched python.
2012-12-03 10:01:09 +00:00
Bastien Montagne
1bcaeb3154 Tsss tsss... Copy-pasting! :P 2012-12-03 09:36:22 +00:00
Campbell Barton
3ec39706b4 fix [#33394] Skin modifier doesn't show generated skin mesh in EditMode with Texured Solid draw option 2012-12-03 09:08:53 +00:00
Bastien Montagne
1523fe0e11 Minor fix for "no mask keyframe copy" error message in dopesheet editor... 2012-12-03 08:37:43 +00:00
Brecht Van Lommel
94f85c3c72 Fix #33371: blender freezing in material draw mode.
When FBO failed in a particular way it could cause the opengl draw buffer to be
set wrong, effectively disabling all opengl drawing. The FBO error was caused
by cycles GLSL materials with no nodes that would still use blender internal
materials, which caused issues with lamp shadow buffers FBO.

This also fixes a GLSL refresh issue when switching render engines.
2012-12-03 08:31:16 +00:00
Campbell Barton
0526fcf13f revert part of r52720, Id rather leave these as-is, even if they give warnings under some configurations. 2012-12-03 08:11:04 +00:00
Campbell Barton
ca25fd0307 fix [#33389] Curve points restricted to 0..1 range,
also added note on python3.3's faulthandler module.
2012-12-03 07:10:31 +00:00
Campbell Barton
671b871e7f fix [#33392] In-dev freeway generation addon crashes on recent builds. 2012-12-03 05:40:48 +00:00
Campbell Barton
48aa356b7b use const for bm_mesh_allocsize_default, bm_mesh_chunksize_default 2012-12-03 05:38:28 +00:00
Campbell Barton
17c2621fd1 bridge tool - simple optimization, break early if edge loop length comparisons are worse then existing best loop test. 2012-12-03 05:02:32 +00:00
Campbell Barton
a490f4f7c4 fix [#33391] Bridge two Edgeloops fails in simple case 2012-12-03 04:53:30 +00:00
Campbell Barton
61da29996a fix own mistake with recent commit to skip calculating tessface. If you were already in editmode the tessfaces wouldn't get recalculated.
also minor edits to bmesh rst.
2012-12-03 02:26:13 +00:00
Howard Trickey
11e87d118e Bevel: fix for bulging part of bug 33280.
Bulging still happens, but fixed the cases where it was obvious
because it destroys an otherwise straight 'pipe' by snapping
the vertex mesh points to that pipe.
2012-12-03 01:46:37 +00:00
Daniel Genrich
e8331327e5 Bugfix [#33387] Smoke: Animating Smoke Type from Flow to None crashes blender
This property was never intended to be animatable. 
Workaround: Animate density.

TODO for 2.66: Introduce on/off property for flow and collision objects
2012-12-02 19:20:19 +00:00
Bastien Montagne
818a345be3 Silent a bunch of gcc warnings (usually dummy, but noisy!). 2012-12-02 16:01:06 +00:00
Campbell Barton
432193552c fix GhostSDL displaying text in multiple views.
add support for multi-sample.
2012-12-02 15:58:26 +00:00
Peter Schlaile
ecf89326e1 == FFMPEG ==
This fixes a memory leak caused by the last packet on stream EOF not freed.
(Memory leak occurs on ffmpeg heap managed by av_malloc / av_free, so it is
invisible to Blender)

Also: clean up the code a little bit (anim->next_packet was never really used,
so could be moved into a local variable)
2012-12-02 15:15:44 +00:00
Campbell Barton
d7960b8fd4 code cleanup 2012-12-02 15:15:00 +00:00
Thomas Dinges
bc3f34b4e8 Compositor:
* Change default blur type (Blur Node) to Gaussian. Feature Request by Sebastian König. 

Patch by Troy Sobotka, approved by Campbell, Sergey and myself.
2012-12-02 14:41:42 +00:00
Bastien Montagne
1d09d0a9c5 Silent some warnings (the one in bmesh_operator.c was even preventing build in -Werror mode). 2012-12-02 13:35:33 +00:00
Brecht Van Lommel
3d6bc1e1f4 Fix warning about missing BKE_idcode_to_name_plural. 2012-12-02 09:54:44 +00:00
Brecht Van Lommel
6b03e9bc47 Fix #33376: non-square DDS textures were mapped wrong in the viewport / game engine. 2012-12-02 08:25:53 +00:00
Campbell Barton
82fc331959 There was no way of knowing what ID type a property comes from by the tooltip, (since copying the Data-Path doesn't include the ID the user had to guess).
Now include the full python path to the property in the tool-tip.
2012-12-02 07:13:19 +00:00
Brecht Van Lommel
04c27843ea UI: revert the previous fix for middle click on button, conflicts with panning. 2012-12-02 05:27:03 +00:00
Campbell Barton
f7f4148b40 change uiButGetStrInfo() to use a trailing NULL arg rather then passing the number of args as an arg. 2012-12-02 04:51:15 +00:00
Brecht Van Lommel
807fd448a5 UI: allow middlemouse in addition to leftmouse for clicking on various buttons,
means that if you have emulate 3 button mouse enabled and still have alt pressed
when clicking, it works.
2012-12-01 19:14:55 +00:00