Campbell Barton
f02694f5a4
workaround for vertex bevel modifier failing since the BMesh update.
2012-04-24 05:02:53 +00:00
Campbell Barton
077cbaddf0
- remove unneeded len_v3v3 in bevel code
...
- remove dead assignments from vgroup-blend
2012-04-24 04:44:51 +00:00
Campbell Barton
4ff038c411
screenshot operator now adds file extension in the file selector and has its own save options rather then using the render options (works like image save a copy).
2012-04-24 02:01:23 +00:00
Campbell Barton
b374d9b20f
fix for CcdPhysicsController::RelativeRotate reading 2 values past the input.
...
note: this function isn't used but may as well fix.
2012-04-24 01:52:59 +00:00
Campbell Barton
6f1019e869
add inset and bridge to mesh specials menu (along side bevel) + typo fix.
2012-04-24 01:04:37 +00:00
Campbell Barton
c1c022342c
fix for invalid use of memset when loading tiff images
...
- memset(..., 1.0); // isnt valid
- memset(pointer, sizeof(pointer)) // was using the sizeof the pointer, not the size of the array, since this was to fill in alpha values it was obviously wrong.
2012-04-23 23:57:17 +00:00
Campbell Barton
03f451f2f1
fix own error with subdivision (broke icosphere), also noticed icosphere vanished at subd-5 which didnt happen before bmesh.
2012-04-23 23:01:03 +00:00
Antony Riakiotakis
7cc4353dff
Update knife tool header to reflect that spacebar can be used for confirm too.
2012-04-23 21:04:26 +00:00
Antony Riakiotakis
8b476d0275
First MinGW-w64 support for cmake has been added. To test I recommend this build:
...
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/ray_linn/GCC-4.7.0-with-ada/mingw-w64-gcc-4.7.0-runtime-2.0.1-static-ada-20120330.7z/download
Other builds may also work but due to the constantly changing nature of the compiler this cannot be guaranteed. I often had to change compilers while building the libraries and this one is the one that did the job for most of them.
This first support is experimental and considered "advanced". To enable pass -DWITH_MINGW64 during cmake configuration. Also make sure to extract the compiler on C:/MinGW and that MinGW/bin is in your path. To build check out lib/mingw64.
Initially the support is lacking until I get every library compiled correctly. For now you should disable WITH_CYCLES(sorry, I know some people are dying to do benchmarks, but still a few libs to go), WITH_IMAGE_OPENEXR, WITH_OPENCOLLADA, WITH_LIBMV and WITH_CODEC_FFMPEG(links but hangs on startup).
Still the tools are working, the memory limit is increased and due to the experimental nature of the setup, full optimization with SSE2 is available, which makes the build quite fast. Also the compiler and especially, the linker are way faster than regular MinGW.
The wiki docs have also updated. Happy testing!
2012-04-23 20:09:59 +00:00
Campbell Barton
b8c4c54ff0
corrected more issues from [ #31069 ] Analyzing the Blender project with PVS-Studio
2012-04-23 16:29:13 +00:00
Campbell Barton
bfcdd45245
corrections from an article about using PVS-Studio static checker with blender - http://www.viva64.com/en/b/0145/
2012-04-23 15:54:43 +00:00
Sergey Sharybin
9d40c3046b
Fix #31072 : Making texture single user was modifying textures of original material
2012-04-23 15:51:25 +00:00
Campbell Barton
f7a59fd1cf
rip tool again (this in infact an old bug), when selecting an edge to extend the splitting to, dont step over manifold edges. - would result in duplicate edges.
2012-04-23 15:35:07 +00:00
Campbell Barton
cccd4b72e5
fix memory leak in rip tool (again own fault).
2012-04-23 15:26:06 +00:00
Campbell Barton
eff325a98c
minor changes to rip internals
...
- check if vertex ripping has no effect.
- no need to flush selection for vertex rip.
2012-04-23 15:18:12 +00:00
Campbell Barton
cb91c5d7b2
rip was incorrectly giving an error when ripping a vertex from a face fan (own mistake).
2012-04-23 14:57:47 +00:00
Campbell Barton
4c873fec53
bmesh py api: functions to add/renmove customdata layers, eg.
...
bm.loops.layers.color.new("Testing")
2012-04-23 14:52:28 +00:00
Campbell Barton
f665c3cb00
py/rna api: remove selection and pin variable for texture faces - this is now stored in the loops.
2012-04-23 11:36:40 +00:00
Campbell Barton
aa09c5750e
add spacebar to confirm knife cut, space confirms - enter isnt so handy, This is consistent with fly mode and grab.
2012-04-23 11:19:39 +00:00
Sergey Sharybin
de07f51d9b
Merging r45810 through r45876 from trunk into soc-2011-tomato
2012-04-23 10:19:59 +00:00
Campbell Barton
7eaf3eb58e
fix [ #30937 ] Pose UI hack needed to be undone, alternate fix is needed.
...
rather then assigning the enum, default to the active pose when the property isnt set.
2012-04-23 09:17:37 +00:00
Bastien Montagne
b57861e90b
i18n: Re-enabling uk_UA, as we are going to have a nice mo in upcomming update.
2012-04-23 08:24:03 +00:00
Campbell Barton
b9a2741f68
code cleanup: remove unused defines
2012-04-23 08:05:02 +00:00
Campbell Barton
ceffa6e1fa
code cleanup: comment unused functions (removed one which isnt useful anymore).
2012-04-23 07:32:13 +00:00
Campbell Barton
f9ab956d53
py api:
...
bpy.data.scenes.tag() was missing.
2012-04-23 07:26:08 +00:00
Campbell Barton
bb17a6b8f8
fix [ #31064 ] Save confirmation stops showing
...
also comment unused functions.
2012-04-23 06:37:16 +00:00
Campbell Barton
8baa5fbde2
- fix for python freeing its own bmesh clearing the global mirror cache.
...
- fix for own mistake (Ctrl+T didnt set beauty peroperty).
- remove bad level includes in bmesh.
2012-04-23 04:24:11 +00:00
Campbell Barton
b51590d55d
code cleanup: bmesh subdivide code - BM_mesh_esubdivideflag() & "esubd" bmesh operator was passing a flag about in a fairly confusing way.
...
since we will eventually have python bmesh operator access better expose this as multiple booleans.
remove remaining editbutflag's
2012-04-23 03:43:02 +00:00
Campbell Barton
4c4389f6a4
code cleanup: remove editbutflag flag from toolsettings & related defines.
2012-04-23 02:48:05 +00:00
Campbell Barton
792f536b36
code cleanup: better use of BLI_array_* (grow in larger steps where possible), include BMO_iter_new in for loops.
2012-04-23 02:17:57 +00:00
Campbell Barton
16ff7e40e6
code cleanup: change C naming convention (so py and C api match), eg:
...
C: BM_face_calc_area(f), Py: BMFace.calc_area()
2012-04-23 01:19:50 +00:00
Campbell Barton
e26ef899c3
clear the FGON edge flag when updating old meshes to polygons. (we may wan't to reuse the flag later)
2012-04-23 00:58:17 +00:00
Campbell Barton
1642e2888c
rename Mesh.uv_loop_layers --> uv_layers
...
add filtering for document generator to support --partial bpy.types.SomeType
2012-04-22 23:51:50 +00:00
Campbell Barton
5c89138684
style cleanup: comments
2012-04-22 11:54:53 +00:00
Campbell Barton
49ff0eeec4
bmesh py api: expose BM_face_split_n() to the python api;
...
face_fill(..., coords=(v1, v2, ...))
This is the same function the knife tool uses. should be handy for dicing up geometry in py.
2012-04-22 10:19:24 +00:00
Campbell Barton
d5023f0e91
correction to py docs from mgschwan on IRC.
2012-04-22 08:36:39 +00:00
Campbell Barton
3508bf1b83
Ctrl+RMB to select an object in editmode didnt work in edge mode (which is not great usability imho and confusing),
...
now pass through if no edges can be tagged and select the object.
2012-04-22 05:30:34 +00:00
Mitchell Stokes
2912314838
Missed this file in my last commit.
2012-04-22 04:01:14 +00:00
Campbell Barton
cd2b142ba0
small speedup to VertDataMulN(av, n), when passed expressions to 'n' they were calculated 3 times, cuts 78 instructions from resulting assembly (gcc -O2).
2012-04-22 03:25:48 +00:00
Campbell Barton
ac5058b281
subsurf - avoid 'for' loop finding the edge index in a face multiple times when calling _face_getIFCoEdge. add asset so passing wrong value errors out in debug mode. gives small speedup to subsurf.
2012-04-22 03:07:21 +00:00
Mitchell Stokes
3b686116ea
Fix for bug #30219 : "Obstacle Simulation of Steering Actuator does not work with added objects"
...
The steering actuator was filling its m_obstacle member when it was created (i.e., conversion time), which meant it had the wrong pointer after the actuator was replicated. Now m_obstacle is reassigned when the actuator is replicated.
2012-04-22 02:16:33 +00:00
Tamito Kajiyama
f11926795f
Suppressed a compiler warning about an empty controlled statement.
...
Reported by flokkievids, thanks!
2012-04-22 01:23:02 +00:00
Tamito Kajiyama
4a63eb9321
Added operators for adding the data paths to Freestyle edge/face mark properties of
...
selected edges/polygons into the active keying set. This makes it easy to keyframe
a number of Freestyle edge/face marks.
2012-04-22 00:59:27 +00:00
Campbell Barton
e57d258169
- fix memory leak in mesh_strip_loose_polysloops(), occurred during 3ds import.
...
- updating normals in py/api's mesh.transform() wasn't working and gave annoying print, disable this, script authors can call calc_normals explicitly if they need.
2012-04-22 00:27:38 +00:00
Campbell Barton
126f766b4c
style cleanup
2012-04-22 00:20:58 +00:00
Campbell Barton
64fe7139ec
fix [ #31045 ]
...
the blender game engine could reference a freed texface or mcolor array.
2012-04-21 15:56:50 +00:00
Campbell Barton
b56aabf815
style cleanup: multi-line if statements.
2012-04-21 15:11:03 +00:00
Campbell Barton
8765dfccf7
style cleanup: correct typos
2012-04-21 14:14:58 +00:00
Campbell Barton
1c54eaecd8
fix [ #31049 ] New Faces (F) always solid shaded
2012-04-21 13:58:29 +00:00
Campbell Barton
1615b46963
style cleanup
2012-04-21 13:37:26 +00:00