Commit Graph

29904 Commits

Author SHA1 Message Date
d7b8e7e9bc Code Cleanup: use less confusing names for selection flushing. 2012-02-10 03:03:42 +00:00
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
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
63c4c18269 dont recalc normals after applying modifiers, this is already checked in previous code. 2012-02-09 14:28:59 +00:00
4967e4f5b0 BMESH_TODO - Rewrite UV straighten tool for bmesh. (was commented out) 2012-02-09 03:13:29 +00:00
ac4484b239 svn merge ^/trunk/blender -r43976:43995 2012-02-09 01:53:14 +00:00
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
5a42ff381c correct 2 sphinx warnings. 2012-02-08 16:36:04 +00:00
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
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
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
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
65f454a160 Movie Clip Editor: manual calibration will now respect GP layer's hidden flag 2012-02-08 09:40:34 +00:00
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
76ccd3d5ed Code Cleanup:
macro for copying polygon settings
2012-02-08 09:02:10 +00:00
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
9b57b2d9dc Code cleanup: remove duplicate OR'ing of CD_MASK_MDISPS. 2012-02-08 05:52:52 +00:00
19d0f93099 svn merge ^/trunk/blender -r43934:43976 2012-02-08 05:45:16 +00:00
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
1f74789d12 Correct mathutils documentation, also correct some python spelling errors and add makefile target check_spelling 2012-02-08 04:37:37 +00:00
873fe5cb59 Code cleanup: spelling fix, Tesselection->tesselation 2012-02-08 04:21:10 +00:00
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
2bfaade0ac Returned back maximal value of bitrate. Higher values are actually makes sense with DNxHD only. 2012-02-07 20:39:51 +00:00
67e32b4a7b Fix for wrong pixel format used for qtrle 2012-02-07 20:39:40 +00:00
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
051cf6abf8 Style Cleanup:
replace 0/1 with TRUE/FALSE define.
2012-02-07 17:42:46 +00:00
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
3b57b343f9 remove BMFlagLayer.index, (saves 4 bytes of memory per vert/edge/face) 2012-02-07 17:10:50 +00:00
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
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
6395d4057a Style Cleanup 2012-02-07 16:24:36 +00:00
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
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
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
98ca003890 make clear_flag_layer() validate index arrays. 2012-02-07 14:45:18 +00:00
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
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
1fd6088729 Code Cleanup:
- use 'oflag' for operator flag arguments.
- use TRUE/FALSE for some bool args
2012-02-07 13:54:16 +00:00
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
e511993f9c Code Cleanup: remove unused operator flags 2012-02-07 13:10:01 +00:00
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
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
f552164c71 Style Cleanup: whitespace and some formatting. 2012-02-07 08:50:24 +00:00
aae52ef635 Documentation: add missing info about the fileselectior using hard coded property names. 2012-02-07 06:07:02 +00:00
04e0c16bb6 Style Cleanup: capitalize struct names 2012-02-07 03:56:35 +00:00
f9a6cb15e8 fix for remesh (infact any modifier that uses tessface's) not displaying geometry in editmode.
the bug was in CDDM_from_BMEditMesh which would create tessfaces even when use_tessface==FALSE.
2012-02-07 03:03:09 +00:00
3a361f83bd BMesh: Bugfix for infinite loop in r43937.
Infinite loop occured when quad-to-triangles operator.

The iterator increment in the do/while conditional gets executed after
the continue, so the iterator was getting double-incremented and thus
could skip past the first loop.
2012-02-07 01:50:25 +00:00
542dfd94a5 Style Cleanup, use TRUE/FALSE defines. 2012-02-07 01:46:47 +00:00
6ee4451a9e BMesh remesh modifier: create MPolys/MLoops directly rather than MFaces.
This is also a bugfix, face normals were not showing correctly for the
remesh output.
2012-02-07 01:20:49 +00:00
5f6395d69e Code cleanup for BMesh CDDM access functions, no functional changes.
Renamed CDDM_get_face() to CDDM_get_poly() to match array access
functions. Added function definitions for CDDM_get_loop() and
CDDM_get_poly().
2012-02-07 01:13:04 +00:00