Campbell Barton
f795e1cfd2
style cleanup
2012-12-09 05:15:21 +00:00
Campbell Barton
78c7951463
patch [ #33452 ] Double click select does not work properly + patch
...
from Tobias Johansson (mutze)
with some minor edits (don't treat '!' as an operator - python centric)
2012-12-09 03:57:10 +00:00
Campbell Barton
231d1a3ddd
bmesh toolflags would use BLI_MEMPOOL_SYSMALLOC when reducing layers only (would use MEM_mallocN in one case but malloc in another). better use blenders MEM_mallocN for both.
2012-12-08 13:15:04 +00:00
Campbell Barton
a3ce9408a2
fix [ #33438 ] Bevel modifier "angle" mode is broken
...
bevel modifier was making zero area faces & edges that made scanfill fail (since it no longer removes doubles when filling ngons)
2012-12-08 07:35:54 +00:00
Campbell Barton
adf7bfa8bb
ifdef out dynstr so mathutils can be compiled as an external module again.
2012-12-08 01:16:59 +00:00
Howard Trickey
0bca862e9c
Bevel: fix 'causing artifacts' bug 33245.
...
Really was caused by a previous bevel making
a two-edged face, which caused other faces to
be dropped when copying a bmesh.
The quadstrip code needed to be more careful
to avoid creating two-edge faces.
2012-12-07 18:45:52 +00:00
Brecht Van Lommel
369b9fcf0f
Fix missing mapping and influence panel for particles when cycles is selected
...
as render engine. Still missing is colors and texture slots, but that's too
tricky to fix this close to release.
2012-12-07 11:30:40 +00:00
Benoit Bolsee
d261d65bda
Fix bug #33176 : Deactivating both position and rotation target from iTaSC IK-Solver crashes Blender. No constraint is created for target in that case, just needed to add a check.
2012-12-06 22:23:58 +00:00
Campbell Barton
bf0102ffa4
fix for texture_slot path, would give incorrect path when used with brushes which only have one texture slot.
...
also quiet float/double warning.
2012-12-06 21:59:16 +00:00
Sergey Sharybin
759e96164a
Fix #33433 : Importing video files into movie clip editor crashes Blender
...
This was a regression in svn rev52718 caused by the fact that we can not
free packet fun until we've finished all manipulation with decoded frame
since frame and packet could share same pointers.
For now restored old behavior of next_packet which seems to be well
tested and better not do bigger refactoring here so close to release.
Memory leak fixed by that revision was fixed by calling av_free_packet
just before avcodec_decode_video2 in cases we're at the end of file.
Tested with valgrind and could not see any memory leaks in ffmpeg
area.
2012-12-06 21:08:24 +00:00
Campbell Barton
8274848fa1
fix [ #31084 ] Dynamic Paint Blender File Crashes Blender.
...
was incorrect assert which didnt consider having no faces.
2012-12-06 08:10:24 +00:00
Brecht Van Lommel
ad394949db
Fix #33421 : collada import of a mesh with loose edges did not draw the edges in the viewport.
2012-12-06 06:13:43 +00:00
Campbell Barton
c9dd1b0f2c
fix playanim - up/down keys were not stepping 10 frames as intended.
2012-12-06 06:01:15 +00:00
Brecht Van Lommel
e85935dddf
Fix #33423 : a few operators still allowed changing current frame during
...
animation render, like cursor set in the graph editor, disabled that now.
2012-12-06 05:48:51 +00:00
Campbell Barton
7c2e4e28ba
bpy.ops module/caller classes incorrectly had __keys__ rather then __slots__.
...
also added comments about texface drawing when theres no origindex.
2012-12-06 03:09:06 +00:00
Campbell Barton
a864259d50
bump python requirement to 3.3
2012-12-06 02:42:42 +00:00
Campbell Barton
4b102e93fb
fix [ #33422 ] Change Path/Files problem - selected strip directory doesn't work
2012-12-06 02:38:39 +00:00
Sergey Sharybin
5db4682e93
Fix #33419 : incorrect color with projection painting in cases strength != 1.0
2012-12-05 19:04:29 +00:00
Sergey Sharybin
4742dc3fd7
Fix for crop operation using uninitialized bounds in cases input image resolution is zero.
2012-12-05 14:27:51 +00:00
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
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