Joerg Mueller
697b494a30
Fix for #30336 : Couldn't playback from Python without having played back via logic bricks once.
...
Thanks Colin Nickerson for reporting.
2012-02-24 19:34:29 +00:00
Jens Verwiebe
2377bfe32f
OSX: set ffmpeg back in darwin-config according librenaming
2012-02-24 18:31:09 +00:00
Campbell Barton
fbd6d4488e
bmesh bridge - copy UVs and face data whem available.
2012-02-24 17:47:51 +00:00
Brecht Van Lommel
cf092e5a2f
Python: add MeshLoop.index, same as already existed for vert/edge/face/poly.
2012-02-24 15:53:26 +00:00
Brecht Van Lommel
f4bb31f26b
Cycles: tweak for AMD opencl compile of advanced shading, from Daniel Genrich,
...
still does not work correct but should compile if you have enough memory.
2012-02-24 15:53:19 +00:00
Sergey Sharybin
ae38adbf55
Blender should now compile fine with older FFmpeg libraries used.
2012-02-24 15:34:57 +00:00
Sergey Sharybin
e04f32a153
More consistent variable naming.
2012-02-24 14:03:18 +00:00
Sergey Sharybin
baf485918b
TODO item: zoom to mouse location in image editor
2012-02-24 14:01:42 +00:00
Campbell Barton
aca448f0b6
bmesh py api - fix for error creating a new face
2012-02-24 13:50:36 +00:00
Sergey Sharybin
3151ff825b
Code clean-up and make zoom in/out operator store mouse coordinate
...
so exec() callback will zoom in/out properly.
2012-02-24 13:44:45 +00:00
Sergey Sharybin
826cb60731
CLIP_OT_view_zoom (Ctrl-MMB) now takes into account Zoom to Mouse Position setting
2012-02-24 13:31:18 +00:00
Campbell Barton
f7c9485605
bmesh python api:
...
bm.verts.get(verts) / bm.faces.get(verts)
- use to find an edge or face from a vertex list passed.
2012-02-24 12:57:05 +00:00
Sergey Sharybin
aff0c6c0f4
Fixed crash in UV project modifier.
2012-02-24 12:30:49 +00:00
Campbell Barton
73e73ed1e0
change default name of Texture face layer to UVMap, while we fake UV's and texface as being the same.
2012-02-24 12:10:41 +00:00
Campbell Barton
c839ff3acb
bmesh py api - bmesh.utils.face_flip
2012-02-24 11:04:09 +00:00
Campbell Barton
8c501c2248
bmesh: minor speedup, use 1 iterator rather then 2 when normalizing verts.
2012-02-24 10:40:32 +00:00
Campbell Barton
068566f985
bmesh py api - normal_update() functions for vert/edge/face.
2012-02-24 10:35:52 +00:00
Campbell Barton
c8d6b7759e
bmesh py api, minor change - edges now take a seq of 2: bm.verts.new((v1, v2), example=None)
2012-02-24 10:17:30 +00:00
Campbell Barton
edb04d1461
bmesh docs now written in sphinx doc generator.
...
* http://www.blender.org/documentation/blender_python_api_2_62_0/bmesh.types.html
* http://www.blender.org/documentation/blender_python_api_2_62_0/bmesh.utils.html
2012-02-24 09:53:29 +00:00
Sergey Sharybin
dd0f151ba9
Changes in FFV1 codec settings
...
Since FFmpeg 0.10 release FFV1 codec supports alpha channel which is getting
enabled when using PIX_FMT_RGB32 pixel format. This leads to incompatibility of
videos rendered in Blender with almost all external players (especially in OSX).
Seems that PIX_FMT_BGR0 is recommended to be used to make videos compatible with
older players which doesn't support alpha channel in FFV1.
Also added an option to switch to RGBA rendering if FFV1 codec is used and if RGBA
rendering is used FFV1 will be using PIX_FMT_RGB32 format which supports alpha channel.
2012-02-24 09:49:44 +00:00
Campbell Barton
1fbd91b8a1
typo cleanup, no functional changes.
2012-02-24 06:44:04 +00:00
Campbell Barton
6b85b96952
bmesh py api (some api changes and doc additions)
...
* remove 'select' and 'hide' from BMLoop
* remove BMesh.update
* add BMesh.normal_update(skip_hidden=False)
* add BMElemSet.index_update(), eg: bm.verts.index_update()
bmesh api
* BM_mesh_normals_update() now takes skip_hidden as an argument
(previously this was default behavior), however this isnt good when
using BMesh modifiers, where you want all normals to be recalculated.
* add bm_iter_itype_htype_map[], to get the iter type from a BMesh
iterator.
2012-02-24 05:56:06 +00:00
Campbell Barton
b9b0c3dfb4
bmesh python api - add/improve rst docstrings.
2012-02-24 04:59:13 +00:00
Brecht Van Lommel
8aa569b52e
Fix #30325 : bmesh edges were marked as sharp by default, after recent
...
refactor to reuse BM_ELEM_SMOOTH flag for sharp flag.
2012-02-23 21:23:49 +00:00
Brecht Van Lommel
f39c149391
Fix #30268 : cloth collision and springs not working after bmesh merge,
...
these cloth and collision modifiers require tesselation still.
2012-02-23 21:07:22 +00:00
Brecht Van Lommel
d7155295bb
Fix #30326 : calling e.g. bpy.ops.object.proxy_make(object = 'Lamp') would
...
not pick the right object. This operator had two properties "object" and
"type", but the latter was used while the former had the right description.
Now changed it to have only an "object" property, so that the above code works.
2012-02-23 20:31:51 +00:00
Brecht Van Lommel
0cf38faea4
Fix #30140 : cycles multi GPU rendering with one device supporting full
...
shading and the other not can't work correct, disabled that now.
2012-02-23 20:27:17 +00:00
Brecht Van Lommel
c4b64343d0
Fix #30246 : rendering multiple render layers with CUDA still not working,
...
should really be fixed now.
2012-02-23 19:48:18 +00:00
Sergey Sharybin
2254d2bdca
Fix #30323 : Graph view in the Movie Clip Editor does not stay open
...
In fact, Graph View wasn't been supposed to be opened in Clip show editor mode.
Made curves view unavailable from Clip view mode and store it's alignment in
a runtime flag in SpaceClip structure.
2012-02-23 18:51:24 +00:00
Campbell Barton
6871860cfe
bmesh py api - ensure data layers to store bmesh pointers exist - removing all elements could free them for eg.
2012-02-23 17:22:37 +00:00
Campbell Barton
310af7d73f
bmesh py api
...
bmesh.utils.face_join(faces)
added a utility function for converting a list of python BMesh elements into a C array.
use for this face_join as well as BMesh.faces.new()
2012-02-23 17:14:53 +00:00
Brecht Van Lommel
fdc01b49c2
Fix #30306 : crash duplicating object with action actuator but no animation data.
2012-02-23 16:12:36 +00:00
Campbell Barton
107795af49
bmesh split tool (Ykey), was only splitting off faces, unlike EditMesh which could also split edges.
...
make this behavior optional and default to off (match EditMesh).
2012-02-23 16:00:53 +00:00
Campbell Barton
c6f340e6b0
previous fix wasnt working in edge mode, now selection +/- works in vert/edge/face modes.
2012-02-23 15:47:18 +00:00
Campbell Barton
668297c8b8
fix [ #30318 ] increase/decrease selection won't work (select-more/less)
...
This was a problem with bmesh merge, now it works as expected again.
2012-02-23 15:22:29 +00:00
Brecht Van Lommel
75f3ff0534
Fix #30298 : fluid simulation from older files not working when loaded into 2.62,
...
this was due to a wrong version patch which leaves simulation speed to 0.
2012-02-23 15:10:26 +00:00
Brecht Van Lommel
334416bdaf
Cycles: fix cuda kernel not getting rebuilt correctly after changes, due to
...
refactoring that changed variable names, also fixed OpenCL compile issue with
advanced shading.
2012-02-23 15:10:10 +00:00
Campbell Barton
6cfb67b549
fix for meshes not showing up in the game engine.
2012-02-23 14:24:45 +00:00
Campbell Barton
2fd226abe7
bmesh py api, added: bmesh.utils.edge_rotate(edge, ccw=False)
...
also improved docstrings.
2012-02-23 14:15:26 +00:00
Campbell Barton
bc5c5bbddc
quiet error message when saving (WM_OT_save_as_mainfile.use_mesh_compat not found).
2012-02-23 13:14:59 +00:00
Campbell Barton
2673966678
elsyiun theme
...
* too light unselected vertex color.
* active color was darker then selected color (make active a lighter tint of selected).
2012-02-23 13:08:42 +00:00
Sergey Sharybin
13e778893b
Fix #30320 : Shading issue with boolean modifier
...
Seems that after converting tessfaces into faces normals should be re-calculated.
At least that's what happening in some other modifiers and what makes boolean
work fine with smooth normals.
2012-02-23 12:28:18 +00:00
Campbell Barton
e164cddc43
adding icosphere was broken with own recent commit
2012-02-23 12:11:27 +00:00
Sergey Sharybin
edc1dde20d
Segments and rings for UV Sphere were swapped.
2012-02-23 12:06:49 +00:00
Campbell Barton
7bc306c947
bmesh py api, new elements now take optional 'example' arguments, so the new data copies from the existing.
2012-02-23 11:27:22 +00:00
Campbell Barton
b8e019d839
use __ prefix on header guards to avoid mixing up defines with api functions / classes.
2012-02-23 10:41:31 +00:00
Nicholas Bishop
3dd449ae4f
Bugfix: don't read from a write-only VBO when updating grid buffers.
2012-02-23 10:35:23 +00:00
Campbell Barton
3034971520
bmesh py api functions:
...
bmesh.utils.vert_collapse_edge, vert_collapse_faces, vert_dissolve, face_split
2012-02-23 10:29:04 +00:00
Campbell Barton
c3e192dcae
bmesh api cleanup, remove unused header.
2012-02-23 10:24:20 +00:00
Sergey Sharybin
4662e40bfa
Fix #30315 : Temporary proxy files are not erased and old proxys are not updated if the proxy is built more then once (windows)
...
Two issues are fixed here:
- On windows rename() doesn't actually renames file if destination file is already exist.
Solved by ulinking previously built proxy/timecode.
- IMB_TC_MAX_SLOT was set to incorrect value leading to record run timecode calculating
several times.
2012-02-23 10:18:10 +00:00