Commit Graph

32112 Commits

Author SHA1 Message Date
Campbell Barton
a189b71a28 some speedup for drawing mesh in texture mode.
- only pass if the mesh has vertex colors to drawParams() rather then the mcol its self, this saves a lookup on the color.
- drawing textures in editmode with no vertex colors would still lookup vertex colors on each face, instead cache this info for all faces.
2011-09-23 18:29:45 +00:00
Bastien Montagne
120895fd24 Fix [#28729] World units not used for new object creation.
Setting PROP_DISTANCE subtype for "size" properties of add mesh operators.
2011-09-23 17:44:57 +00:00
Campbell Barton
c658442c65 - move animsys update operator into the anim.py
- move the data into animsys_refactor.py module so its not loaded on blender start.
2011-09-23 17:38:52 +00:00
Campbell Barton
c658b74db5 minor edits to recent fix for addons 2011-09-23 13:47:29 +00:00
Thomas Dinges
f7c8ea702f * Some more fixes for recent move operator commit. 2011-09-23 13:29:28 +00:00
Jens Verwiebe
a7891da84b Fix fluid openMP not baking with some threadcounts 2011-09-23 09:26:03 +00:00
Bastien Montagne
ccdf99de53 Minor: Other UI strings typos and tweaks. Also updated french po & mo. 2011-09-23 08:33:32 +00:00
Thomas Dinges
728cf26ee4 * Fix for the Operator move commit, missed includes.
* import os at the beginning of file
2011-09-23 05:20:15 +00:00
Campbell Barton
458b920abb remove bl_operators/nla.py, move bake_action function into bpy_extras.anim_utils and bake operator into bl_operators/anim.py 2011-09-22 22:51:54 +00:00
Guillermo S. Romero
ea32492dd5 SVN maintenance. 2011-09-22 20:37:22 +00:00
Thomas Dinges
e17ee1b415 2.6 Python UI files:
* Moved Operators from bl_ui into bl_operators.
* Renamed HELP_OT_operator_cheat_sheet to WM_OT_operator_cheat_sheet.
2011-09-22 19:50:41 +00:00
Campbell Barton
48918130a1 remove redundant code & use GL_LINE_STRIP for object spiral drawing. 2011-09-22 18:42:16 +00:00
Sergey Sharybin
bf7f88566c Remove checks for voxel data when texture type is known. 2011-09-22 17:52:27 +00:00
Sergey Sharybin
2eb1339e3f Corrected fix for #28722: Segfault when reading volumetric clouds example
Looks like with current implementation voxeldata should always be created
for voxel textures. Remove recently added NULL check and allocate
voxel data when linking a texture.
2011-09-22 17:52:21 +00:00
Sergey Sharybin
799afc1aa4 Fix #28226: Selection highlighting is wrong when Solidify Modifier is used
Set origindices for edges/faces created for rim to ORIGINDEX_NONE.
Also discovered error in recent editmode VBO fix -- it used to crash
when comparing faces with ORIGINDEX_NONE original index.
2011-09-22 16:57:16 +00:00
Sergey Sharybin
9ea32d34c4 Fix #28722: Segfault when reading volumetric clouds example
Added checking for voxel data isn't NULL.
2011-09-22 16:28:38 +00:00
Brecht Van Lommel
d3a76bc507 Fix #28549: file browser recent directories could include directory that
doesn't exist after cancelling make directory. Patch by Sergey.
2011-09-22 15:46:43 +00:00
Sergey Sharybin
1ca02a8d29 Fix rest of #28693: Proportional edit hangs on mesh object with high scale
Patchy by Juha Maki-Kanto
2011-09-22 15:46:34 +00:00
Brecht Van Lommel
402f583abd Fix warnings about operator descriptions ending with "." 2011-09-22 15:44:35 +00:00
Sergey Sharybin
49b518eff8 Fix #28489: Wacom Intuos 4 tablet doesn't work with outliner
Stylus can produce slight movements when it touches tablet,
so CLICK event wasn't triggering. Do not store INBETWEEN_MOUSE
as previous event to make CLICK events triggered correct.

Thanks to Brecht to pointing on short way to fix this problem.
2011-09-22 15:39:31 +00:00
Brecht Van Lommel
dd7f52defa Fix #28365: some macro operators were missing descriptions. 2011-09-22 15:35:25 +00:00
Brecht Van Lommel
232da3741e Fix #28593: F6 operator redo could crash when editing buttons that use unit
settings, these could get freed with the scene on undo/redo, make a copy now.
2011-09-22 14:55:39 +00:00
Campbell Barton
a20bcb4613 clear up some warnings. 2011-09-22 14:42:29 +00:00
Brecht Van Lommel
1445ed9f11 Fix #28651: dopesheet crash when configuring keymap to use translate tool.
This doesn't work, needs to be time translate, but we can avoid the crash.
2011-09-22 14:29:15 +00:00
Brecht Van Lommel
3833cb2e76 Fix #28585: read full sample layers not working in compositor. 2011-09-22 12:45:25 +00:00
Sergey Sharybin
780be0d918 Fix #28695: path/beziercirlce defined surface dissapears when deleting subdv of path until toggling end point option
Clamp order when deleting points from nurb curve.
Also fixed incorrect free caused by non-initialized knots array
when deleting segment from non-cyclic nurb.
2011-09-22 12:07:02 +00:00
Bastien Montagne
aa809e6f78 Minor: Bah, doxygen file's doc comments were also missing from warp and navmesh modifiers... 2011-09-22 12:00:24 +00:00
Bastien Montagne
b6bf57e2b0 Minor: Added doxygen file's doc comments in weightvg modifiers. 2011-09-22 11:52:42 +00:00
Bastien Montagne
9166e1ae2f Minor: Other UI strings typos and tweaks. 2011-09-22 11:16:04 +00:00
Campbell Barton
cf46edfcbc correction for removal of _("") 2011-09-22 07:01:28 +00:00
Morten Mikkelsen
68a9450dd1 addendum to prev bugfix on texture space bump 2011-09-22 05:36:52 +00:00
Campbell Barton
dc09774fb6 use bli math functions for vgroup_fix operator. 2011-09-22 05:05:26 +00:00
Campbell Barton
7aa14fdbb9 use the systems number of processes for running static checks - multiple jobs. 2011-09-22 04:41:12 +00:00
Campbell Barton
86d528afa7 comment some unused vars / assignments. 2011-09-22 03:14:50 +00:00
Campbell Barton
0bc5fef976 correct fix for armature selection, also remove international define from generic python C funcs. 2011-09-22 02:33:58 +00:00
Bastien Montagne
b2a43f5e8c One of the two latest commits in this file broke the multi-bone selection in pose mode (shift-selection)... 2011-09-21 21:17:38 +00:00
Sergey Sharybin
922dadf6ea buildbot: point python to a symbolic link. Helps when updating libs is happening. 2011-09-21 19:10:06 +00:00
Sergey Sharybin
ad1d1bd818 Added misses INTERNATIONAL definition in scons rules. 2011-09-21 18:05:01 +00:00
Campbell Barton
f1a227cf43 check that descriptions dont end with a '.', for non release builds.
this is annoying for translators so rather then correct along the way which gives merge conflicts for branches - print a complaint message.
2011-09-21 17:52:51 +00:00
Bastien Montagne
49f87edf4e Minor: Other UI strings typos and tweaks. 2011-09-21 17:31:16 +00:00
Campbell Barton
280684c35d remove blf.gettext, add blf.unload(font) 2011-09-21 16:06:47 +00:00
Campbell Barton
f4c56a879d remove use of gettext: _("...") style translation now its handled by rna. 2011-09-21 15:18:38 +00:00
Brecht Van Lommel
ae0124157f Translation: reload font on enabling/disabling use international fonts. 2011-09-21 15:15:30 +00:00
Brecht Van Lommel
a12e06dc35 Blenfont: add BLF_unload function to unload/reload fonts. 2011-09-21 15:14:47 +00:00
Sergey Sharybin
2dbfa5a3e4 Attempt to fix #28709: change language to simplified Chinese: sequencer -> add image strip crashes Blender
Crash was caused by sprintf which tried to parse bytes sequence belongs to chinese letter.
Using codepage 1252 for LC_ALL seems to fix this issue, but needs further testing.
2011-09-21 15:07:19 +00:00
Campbell Barton
c589dec2ea add missing define for last commit and tag bl_label & bl_descriptions for translating too 2011-09-21 14:10:26 +00:00
Campbell Barton
943a026c60 py/rna string subtypes for strings which should be automatically translated:
layout.prop("blah", text="Translate Me!")
2011-09-21 13:53:35 +00:00
Antony Riakiotakis
f56759bb20 Fix compilation for MinGW. 2011-09-21 13:30:52 +00:00
Campbell Barton
9d68dc0668 update_msg.py now extracts strings from UI files, eg:
layout.prop("some_prop", text="Some Other Name")

So the text argument can be listed for translation.
2011-09-21 13:16:42 +00:00
Sergey Sharybin
b3c6a2383a Tweak for unifont: use droid with glyphs from default bfont.
Would make interface look like it used to be before garlic merge until
we're working on making font configurable.
2011-09-21 13:04:58 +00:00