Commit Graph

30245 Commits

Author SHA1 Message Date
Sergey Sharybin
283ab431a5 Cleanup of 3D viewport header in painting modes:
- Hide Manipulate center points in sculpt and particle edit modes
- Hide 3D manipulators and orientation from sculpt mode
- Hide snap buttons in sculpt, weight, texture, vertex and particle painting modes

All this options weren't make sense in this modes and might only confuse user.

This will resolve issue #30180: 3D View header buttons and modes
2012-02-17 06:59:32 +00:00
Campbell Barton
02987fd5e1 fix [#30220] Knife Tool Leaks memory
both crash and leak are fixed now.
2012-02-17 05:33:23 +00:00
Campbell Barton
8a2bf0ba54 fix [#30220] Knife Tool Crashes Blender
though there is still a memory leak, but it looks like the leak may be in BLI_smallhash.c, not knife code.
2012-02-17 02:06:30 +00:00
Campbell Barton
ad22305137 fix for error found while looking into #30221
macro needed parentheses.
2012-02-17 00:08:52 +00:00
Campbell Barton
020ec22114 correct for bad assumption in recent commit. angle_v3v3v3 was working as intended. 2012-02-16 20:17:45 +00:00
Thomas Dinges
a56eeb7024 Release Cycle for 2.63:
* BCon1, alpha.
2012-02-16 20:04:33 +00:00
Campbell Barton
d8c2e2ce99 fix for bug with adding icosphere in editmode (was normalizing the verts _after_ translating them away from 0,0,0) 2012-02-16 19:58:40 +00:00
Campbell Barton
19d47c0efd fix [#30208] Bmesh Edit Mode: Add Primitive keeps old verts selected.
cone depth was also incorrectly defaulting to 1.0
2012-02-16 19:33:46 +00:00
Campbell Barton
0e3537e374 fix [#30141] Add primitive sets only the default name "Mesh" 2012-02-16 19:13:04 +00:00
Campbell Barton
b653ebc62c fix for bug when dissolving faces.
When removing an edge between 2 dissolved faces there was no check that a 3rd face was using the edge.
This way dissolving 2 faces could remove faces connected to the removed edges.
2012-02-16 19:00:31 +00:00
Campbell Barton
e67ba3d9df fix [#30209] "Tris to Quad" fails in some cases
dont join 2 triangles if the edge thet share has more then 2 face users.
2012-02-16 17:43:23 +00:00
Campbell Barton
49ab580143 more knit-picky memory saving
don't store a flag array, (or pointer to a flag array) per BMLoop.
saves 4 pointers per quad - obviously, so this can add up a bit.
2012-02-16 16:44:10 +00:00
Sergey Sharybin
eb44d1d0e8 Typo in previous own commit. 2012-02-16 15:55:23 +00:00
Sergey Sharybin
251822126c Clear PROP_TRANSLATE flag for Macro Operator's bl_label as well. 2012-02-16 15:53:44 +00:00
Sergey Sharybin
ec7498ce0b Reverting changes in commit r43458.
That was intended change to clear PROP_TRANSLATE flag from bl_label property of
operators, panels and menus (see rev40570)

If this flag leads to another issues it should be fixed in another way.

This fixes #30210: International Font Problem
2012-02-16 15:53:30 +00:00
Campbell Barton
f286061b39 ifdef out support for holes in faces.
this can be added back easily but currently this cant be saved into DNA and most likly support wont be added soon.

saves memory in editmode: 20 bytes per face or 40 on 64bit systems (5 pointers).
2012-02-16 15:38:16 +00:00
Campbell Barton
300bfd23e4 minor style cleanup, use macros for first loop and far name changes. 2012-02-16 15:13:29 +00:00
Sergey Sharybin
62d09c9103 Tomato: configurable filter type for 2d stabilization 2012-02-16 15:03:37 +00:00
Sergey Sharybin
14a92fc3a2 Tomato: run aspect correction before stabilizing shot. 2012-02-16 15:03:18 +00:00
Sergey Sharybin
aa747f5889 Tomato: fixed issue when track used for rotation stabilization points to a freed memory after re-tracking this track. 2012-02-16 13:15:01 +00:00
Sergey Sharybin
7274bea74d Tomato: fixed default value for pixel aspect. 2012-02-16 13:14:49 +00:00
Sergey Sharybin
fedb95da23 Tomato: fixed incorrect auto-scale calculation for 2d stabilization 2012-02-16 13:14:28 +00:00
Campbell Barton
008f0e73ee bmesh todo. making an image local wasn't dealing with mesh polygon texface data. 2012-02-16 12:19:02 +00:00
Jens Verwiebe
42e50719df ffmpeg: take back 44142, conditional was wrong 2012-02-16 11:52:02 +00:00
Campbell Barton
f241451d17 some minor refactoring for edge disk link's, typedef their own struct type. 2012-02-16 11:48:09 +00:00
Campbell Barton
5fe525a6f6 style cleanup for code relating to BMLoop next/prev checks. 2012-02-16 09:44:22 +00:00
Jens Verwiebe
f047d90a0e ffmpeg: only suppress loopfilter for .mov ( compatibility ), but keep for .avi (quality ) 2012-02-16 08:48:28 +00:00
Sergey Sharybin
da69173269 Tomato: fix for missing cache invalidation when disabling/enabling channels for stabilized shot 2012-02-16 07:45:01 +00:00
Sergey Sharybin
b5628b45ff Merging r44129 through r44139 from trunk into soc-2011-tomato 2012-02-16 07:11:50 +00:00
Campbell Barton
30dddb9840 fix for replacing a generated image with a file, the image would stay generated.
not a show-stopper but confusing.
2012-02-16 04:21:40 +00:00
Campbell Barton
78f9bb6e91 svn merge ^/trunk/blender -r44118:44136 2012-02-15 18:32:08 +00:00
Dalai Felinto
93526b4c72 readfile update after version/subversion bump
Note, there is no need to leave doversion code outside a version/subversion nest.
e.g. having if version < 262   in a 2.61 file will make the code to double-run.
however this is the same case for the code nested outside the if versions ...
with the advantage of making ahoys/version bumping easier.

Ton himself was unaware of how we were doing this and suggested to get rid of the /* put subversion code here */ practise.
2012-02-15 18:17:31 +00:00
Sergey Sharybin
9251d64e2b Tomato: fixed incorrect behavior of textures buffer used in MCE together with 2d stabilization. 2012-02-15 18:11:10 +00:00
Thomas Dinges
048ede5080 Set BLENDER_VERSION_CYCLE to release. 2012-02-15 17:19:26 +00:00
Ton Roosendaal
18371f792d The traditional release commit, 2.62!
Special thanks to splash committee:
Kevin Hays, Per Gantelius and Wray Bowling.

Splash by Alexey Lugovoy.
2012-02-15 16:44:44 +00:00
Sergey Sharybin
bd249c3bff Camera tracking: animation datablock for MovieClip
Added AnimData block to MovieClip datablock which allows to animate different
properties in clip. Currently supports animation of stabilization influence only.
2012-02-15 16:06:48 +00:00
Sergey Sharybin
7985ae700c Merging r44109 through r44128 from trunk into soc-2011-tomato 2012-02-15 16:04:57 +00:00
Campbell Barton
576ce5928f * correct bad pointer check in expand_local_mesh()
* check total polygons rather then faces in draw_mesh_object()
2012-02-15 14:40:45 +00:00
Campbell Barton
bc6bbcccc9 went over all uses of mesh->mface and added BMESH_TODO comments for
areas that need to be updated.
2012-02-15 14:39:18 +00:00
Sergey Sharybin
47d1c813d0 FFmpeg settings can't be animated. Clear animation flag to prevent confusing
warnings appear on the screen.
2012-02-15 14:05:28 +00:00
Sergey Sharybin
9d32f5dcd6 Movie clip: comment what magic constant 768 means in DNA structure 2012-02-15 13:41:33 +00:00
Campbell Barton
c0b2363358 fix [#30153] Crash in outline datablock display after switch to edit mode 2012-02-15 13:25:54 +00:00
Campbell Barton
1eb48de199 fix [#30186] Crash in execute the "Operator Cheat Sheet" 2012-02-15 12:39:18 +00:00
Campbell Barton
119993f88b quiet some warnings from commented code. 2012-02-15 12:27:45 +00:00
Campbell Barton
428f031237 svn merge ^/trunk/blender -r44076:44118 2012-02-15 12:08:06 +00:00
Sergey Sharybin
3ac1ad5378 CMake: determine if python should be bundled into "lib" or "lib64" folder.
Needed to deal with OS like openSUSE where Python is installed to /usr/lib64
and don't work if it's getting bundled into <blender_version>/python/lib.

Thanks to Campbell to making this patch cleaner :)
2012-02-15 08:53:28 +00:00
Dalai Felinto
91058355cc font objects in blenderplayer fail when object with alpha is rendered
the embed bge has its own DisableForText() routine which prepares the GL flags for the text render.

For some reason blenderplayer is taking a slim approach and going straight for the rendering. This routine helps to address this bug/case (non reported, foundin my own project files). If need arises we should move this to its own routine incorporating the other GL tests the embed bge performs.
2012-02-14 18:23:58 +00:00
Antony Riakiotakis
77223492fd Subsurfed uv unwrap tool ported to bmesh. 2012-02-14 17:48:05 +00:00
Sergey Sharybin
5bff557744 Camera tracking: corrected default values for some reconstruction-related properties. 2012-02-14 17:03:06 +00:00
Sergey Sharybin
4eb006f6f5 Merging r44070 through r44108 from trunk into soc-2011-tomato 2012-02-14 15:19:49 +00:00