Commit Graph

29912 Commits

Author SHA1 Message Date
Campbell Barton
35b85ff755 Style Cleanup 2012-02-11 03:34:57 +00:00
Campbell Barton
c1070b863b Style Cleanup 2012-02-10 18:09:19 +00:00
Campbell Barton
e25b59923b fix for smooth not working with mirror clip. 2012-02-10 15:25:12 +00:00
Campbell Barton
838abe1a8b Ykey is now separate again (as with trunk), use Jkey for Connecting verts. 2012-02-10 08:09:49 +00:00
Campbell Barton
953e50b9a5 fix [#30129] Sharp Edges select function inverted 2012-02-10 07:55:33 +00:00
Campbell Barton
2dda20a96e Style Edits only: use TRUE/FALSE rather then 1/0 2012-02-10 06:50:16 +00:00
Campbell Barton
3aeb7b3150 fix flushing issue when using linked selection picking in editmode.
- existing selections that should be un-effected would get incorrectly flushed
2012-02-10 06:26:16 +00:00
Campbell Barton
3453ec8fae reviewed selection flushing code, some of this was incorrect, checked all uses against trunk.
loop select also was incorrectly calling EDBM_select_flush() rather then EDBM_store_selection(), tsk tsk. (and strange nobody noticed this).
2012-02-10 06:16:21 +00:00
Campbell Barton
d7b8e7e9bc Code Cleanup: use less confusing names for selection flushing. 2012-02-10 03:03:42 +00:00
Campbell Barton
e57bb8081a fix for crash with recent edge dissolve/vertex option - when the entire grid was dissolved in edge mode.
this also simplifies the code.
2012-02-10 02:42:15 +00:00
Campbell Barton
0e89e2d6fb add option to dissolve resulting verts with 2 edges after dissolving faces/edges.
in some cases you want these, but many times they end up neededing dissolving too.
2012-02-10 01:40:37 +00:00
Campbell Barton
63c4c18269 dont recalc normals after applying modifiers, this is already checked in previous code. 2012-02-09 14:28:59 +00:00
Campbell Barton
4967e4f5b0 BMESH_TODO - Rewrite UV straighten tool for bmesh. (was commented out) 2012-02-09 03:13:29 +00:00
Campbell Barton
ac4484b239 svn merge ^/trunk/blender -r43976:43995 2012-02-09 01:53:14 +00:00
Brecht Van Lommel
8e81da423c Fix #30071: crash with cycles glsl, textures functions (which are stubs still)
got out of sync with node changes.
2012-02-08 16:48:26 +00:00
Campbell Barton
5a42ff381c correct 2 sphinx warnings. 2012-02-08 16:36:04 +00:00
Campbell Barton
acc6aead5c small speedup for BM_SelectMode_Flush()
- don't check selected vertices for hidden faces.
- rather then counting total selected verts for a face, break out of the for() loop when an unselected vert is found.
2012-02-08 15:00:03 +00:00
Campbell Barton
7f797d9c83 fix [#30103] Select vertex groups works only in vertex select mode
add selection flushing matching whats in trunk.
2012-02-08 14:29:14 +00:00
Campbell Barton
b228685e92 fix [#30101] Vertex colors disappear after leaving edit mode
this commit makes vertex paint check if it needs to rebuild the modifier stack when painting.
- when painting with no modifiers, do partial updates from polys to tessfaces while painting, skip re-tesselation.
- when painting onto a modified mesh, dont bother adjusting tessface colors - since the modifier stack will do this anyway.

both cases should be faster then before.
2012-02-08 11:52:44 +00:00
Sergey Sharybin
f0db5e8735 Fix for duplicated vertices in UV sphere when it's creating with large radius.
Issue was caused by not enough threshold limit used for removing doubles.
Switched to adoptive threshold value calculation based on smallest length
of segments in meridians and parallels.
2012-02-08 11:04:56 +00:00
Sergey Sharybin
65f454a160 Movie Clip Editor: manual calibration will now respect GP layer's hidden flag 2012-02-08 09:40:34 +00:00
Campbell Barton
a5eb673b4d use MPoly's rather then MFaces (since these don't necessarily exist) for drawing game engine bitmap font text.
minor edits to draw_tface_mapped__set_draw() to make it more efficient.
2012-02-08 09:07:24 +00:00
Campbell Barton
76ccd3d5ed Code Cleanup:
macro for copying polygon settings
2012-02-08 09:02:10 +00:00
Sergey Sharybin
32e0612bc3 Fix #30102: Vertex and edge incorrect selections
Select Linked operator was setting Limit by Seams property automatically
depending on current selection mode. But this property only used to be
set to truth if selection mode is set to Face, in other cases this property
is being reused from previous operator run. This leads to incorrect
behavior of selecting linked in vertex mode after this operator was
used in face selection mode.
2012-02-08 07:20:49 +00:00
Nicholas Bishop
9b57b2d9dc Code cleanup: remove duplicate OR'ing of CD_MASK_MDISPS. 2012-02-08 05:52:52 +00:00
Campbell Barton
19d0f93099 svn merge ^/trunk/blender -r43934:43976 2012-02-08 05:45:16 +00:00
Campbell Barton
054e10ac13 fix [#30090] Cloth modifier related crash when loading old file
own fault when adding int64 support. `void` type was being used to workaround a different bug in the ClothSimSettings struct.
2012-02-08 05:20:23 +00:00
Campbell Barton
1f74789d12 Correct mathutils documentation, also correct some python spelling errors and add makefile target check_spelling 2012-02-08 04:37:37 +00:00
Nicholas Bishop
873fe5cb59 Code cleanup: spelling fix, Tesselection->tesselation 2012-02-08 04:21:10 +00:00
Brecht Van Lommel
9467ddb903 Fix #30081: the fix for #30026 related to rendering indirect/environment light
with material ambient zero broke backwards compatibility too much. The behavior
to have ambient zero affect things even if it is not used as a factor does not
make much sense but keeps things compatible. Now instead fixed the use of
uninitialized memory.
2012-02-07 21:04:10 +00:00
Sergey Sharybin
2bfaade0ac Returned back maximal value of bitrate. Higher values are actually makes sense with DNxHD only. 2012-02-07 20:39:51 +00:00
Sergey Sharybin
67e32b4a7b Fix for wrong pixel format used for qtrle 2012-02-07 20:39:40 +00:00
Brecht Van Lommel
acb796c623 Fix #30089: crash with cycles viewport rendering while in text edit mode.
Cause was Object.to_mesh(), which could cause invalid memory access when
calling it on text objects in edit mode.
2012-02-07 18:08:15 +00:00
Campbell Barton
051cf6abf8 Style Cleanup:
replace 0/1 with TRUE/FALSE define.
2012-02-07 17:42:46 +00:00
Sergey Sharybin
dc72e79274 FFmpeg output fixes and small improvement
Most part of this commit fixes issues with FFmpeg output with
currently supported codecs:

- avcodec_encode_video might return zero which doesn't mean error
  happened, but blender will handle this as error and will stop
  rendering to video file.
- Changing output video codec wouldn't update "expert" options
  set for video output which leads to some sideeffects like
  ignored Lossless option for x264 codec.

This fixes allowed to add QTRLE codec easily.
2012-02-07 17:11:56 +00:00
Campbell Barton
3b57b343f9 remove BMFlagLayer.index, (saves 4 bytes of memory per vert/edge/face) 2012-02-07 17:10:50 +00:00
Sergey Sharybin
b49d257209 Fix #30076: RenderLayer area blocks mouse scrolling
In fact all list templates used to block mouse scroll. It's because mouse
scrolls list's scroll bar. But mouse scroll also used to be "eaten" even
if there's no scroll in list template.
This commit makes scroll even be ignored by list templates if there's
no scroll bar on list.
2012-02-07 16:53:14 +00:00
Campbell Barton
3cbdceb99e internal change to bmesh_jfke():
remove last use of BMFlagLayer.index, instead use a flag to tag the vertices.
this loops over face loops too less times as well.
2012-02-07 16:45:05 +00:00
Campbell Barton
6395d4057a Style Cleanup 2012-02-07 16:24:36 +00:00
Campbell Barton
f664680b70 speedup for edge split modifier/operator
- don't call 'del' operator now, expose the internal function instead.
- use the index values stored in the header rather then the operator.
2012-02-07 16:08:19 +00:00
Bastien Montagne
a7e6e5354b Fix [#30099] Wrong python path returned. "bpy.data.keys" instead of expected "bpy.data.shape_keys".
The "plural" name for ID_KE was wrong in idcode.c (bke), not matching the MainCollectionDef one used in rna_main.c.

Checked the others too, everything seems ok now.
2012-02-07 15:14:08 +00:00
Campbell Barton
883436de4c Code Cleanup:
rename BM_remove_tagged_* --> BMO_remove_tagged_*

also make the delete flag to check into an argument.
2012-02-07 15:11:34 +00:00
Campbell Barton
98ca003890 make clear_flag_layer() validate index arrays. 2012-02-07 14:45:18 +00:00
Sergey Sharybin
4cb9c2db86 Fix #30052: VSE: metastrips don't move with Extend (E)
Issue was caused by transformation tools weren't taking metastrip clips into
account, so strip inside of merastrips are placedon different from metastrip side
of time cursor, extension happened in unexcpected way.
2012-02-07 14:27:08 +00:00
Campbell Barton
51fecbd639 Code Cleanup:
BMesh  operator flag was being passed around as in int, but the value is infact a short. use short for all functions now.
2012-02-07 14:01:34 +00:00
Campbell Barton
1fd6088729 Code Cleanup:
- use 'oflag' for operator flag arguments.
- use TRUE/FALSE for some bool args
2012-02-07 13:54:16 +00:00
Sergey Sharybin
f282f39f53 Fix #30094: Subdivision Surfaces Modifier corrupts Copy Location
Issue was caused because of missed MDeformVert layer on subdivided cube.
If regular object is constrained to mesh object, extra customdata mask
is adding to such target. But armature bones are handling separately
and there was no such thing happens.
Ideally this code should be deduplicated to avoid such kind of issues,
but better not to do it so close before release.
2012-02-07 13:29:58 +00:00
Campbell Barton
e511993f9c Code Cleanup: remove unused operator flags 2012-02-07 13:10:01 +00:00
Sergey Sharybin
c4542acc8b Fix #30091: Shift-Ctrl-Alt-RMB problem in face mode
Select Edge Rings with extension policy wasn't working properly in
face selection mode because it's used to call Select Loop operator
because edge rings can be selected only in verts/edges mode.
On this call of another operator extension policy wasn't set to
newly calling operator.
Now Select Edge Rings still calls Select Loops (which is a bit nasty)
but properly sets extension flag.
2012-02-07 12:47:17 +00:00
Joerg Mueller
77ab18ebc3 Fix for [#29910] Crash on reading KX_SoundActuator.sound
aud is now imported automatically on BGE start.
2012-02-07 11:22:50 +00:00