Commit Graph

29923 Commits

Author SHA1 Message Date
Campbell Barton
83a8f4c19e another include cleanup 2012-02-11 10:50:48 +00:00
Campbell Barton
1dc3536268 mode bmesh include cleanup, remove unused file too. 2012-02-11 10:15:11 +00:00
Campbell Barton
acd568d751 include cleanup 2012-02-11 08:46:56 +00:00
Campbell Barton
91390b712a GPL Header Cleanup 2012-02-11 04:16:17 +00:00
Campbell Barton
5ea86e1e2b svn merge ^/trunk/blender -r43995:44024 2012-02-11 04:10:50 +00:00
Campbell Barton
758c228263 update gpl header in cmake files 2012-02-11 04:05:00 +00:00
Campbell Barton
dd2b4a05c3 Style Cleanup:
also remove editmesh/bmesh conversion files, these wont ever be used and dont contain anything useful as examples.
2012-02-11 04:00:18 +00:00
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
Brecht Van Lommel
18edbd103d Fix #30131: mac UI font corruption in release candidate, refined test for
ATI/Apple cards with broken non-power-of-two-textures missed some cards,
checked against list of GL_RENDERER values, hopefully complete now.
2012-02-10 17:12:44 +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
Dalai Felinto
6a598148a7 bge font objects: fix for difference in size when object has a parent
for after 2.62 I would like to try if using doubles would help to increase the precision here.

Also now that the mipmap patch is reverted we may want to look at this problem from a different perspective.
RES could be calculated taking the object size in relation to the camera (i.e. size and distance, ignoring rotation).
That may solve both problems of wrong resolution and lack of smoothness.

For the time being users still need to use object.resolution to fine tune the rendered text.
2012-02-10 07:52:21 +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
Dalai Felinto
17dadffd66 reverting commit [43876] Fix for aliased fonts in the game engine 2012-02-10 06:18:32 +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
Dalai Felinto
e90e522942 bugfix [#30127] alpha in FontObjects not working in blenderplayer 2012-02-10 05:10:52 +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