Commit Graph

31300 Commits

Author SHA1 Message Date
Campbell Barton
cad6ed9bc6 fix for fix r39388, this added checkboxes to buttons which are not supposed to have them.
now only add checkboxes when the background is not emboss - which works for menus but will work in more general cases too.
2011-08-14 11:38:17 +00:00
Campbell Barton
540f0c64b5 add in asserts for when array/non array RNA funcions are used incorrectly, would have made previous fix a lot easier to find.
also remove unused argument from RNA_property_array_check.
2011-08-14 10:28:18 +00:00
Campbell Barton
62fdee3d8a fix [#28245] Checkboxes in menu items fail for boolean arrays.
2 bugs with displaying boolean arrays.
2011-08-14 10:17:41 +00:00
Sergey Sharybin
8490d646b7 Fixing bug with editing keymaps when filter is enabled. 2011-08-14 09:12:43 +00:00
Campbell Barton
2187f6772c patch [#28246] Fix for [#28240]: selecting more than one object in the outliner with "shift left mouse" doesn't work anymore
from Alex Fraser (z0r)
2011-08-14 08:39:13 +00:00
Campbell Barton
0b23d378fb fix [#28225] Solidify Modifier creates wrong results when vertex group is attached
infact this is not really a bug, irrespective zero vertex group weights gave overlapping geometry which isn't useful, add an option to set the thickness factor for zero weighted verts.
2011-08-14 06:43:58 +00:00
Dalai Felinto
5e968e36c5 bugfix:[#25603] bad shadows in stereo mode - patch by Juha Maki-Kanto 2011-08-14 04:37:53 +00:00
Campbell Barton
fc128c970b - recently restored sequencer change data operator didnt reset the offsets after a hard cut, causing the new data to be trimmed.
- add change data operator to strip panel next to image file properties since editing every image manually isnt really usable.
- added new sequencer operator "Clear Offsets" (Alt+O), useful to reset the start/end frames around the strip data.
2011-08-14 03:59:22 +00:00
Thomas Dinges
65d9d2e3e0 2.6 UI Files:
* Code cleanup in the space_*.py files.
* Removed layout.column() statement in _MT_ panels, they are useless.
* Only define variables at the beginning of a function!
2011-08-13 17:52:13 +00:00
Campbell Barton
c83417b2e2 running bpy.ops.render.render('INVOKE_DEFAULT') would crash blender. 2011-08-13 14:24:53 +00:00
Thomas Dinges
7866b63292 2.6 Release Cycle begin:
*BLENDER_VERSION_CYCLE set to alpha

Idea is to set it to alpha for the first 3 weeks (B-Con1)
Beta for B-Con 2 and 3 
RC for B-Con 4
Release for B-Con 5
2011-08-13 13:45:03 +00:00
Campbell Barton
7c7fac2174 index_to_framebuffer (used for mesh selection) was being called 3x times per call to WM_set_framebuffer_index_color(), because of the cpack define. 2011-08-13 09:22:14 +00:00
Brecht Van Lommel
a7dd264940 Nodes: make node set active function usable outside of node editor, and in doing
so fix a missing updating when activating a node with multiple node editors open.
2011-08-12 18:27:48 +00:00
Brecht Van Lommel
0cb606a9bc Code cleanup: fix wrong doxygen file name. 2011-08-12 18:24:17 +00:00
Brecht Van Lommel
a7de5fc191 Code cleanup: small glsl mesh drawing code changes, getting rid of an ugly macro. 2011-08-12 18:17:28 +00:00
Brecht Van Lommel
ceb9dfbdac Code cleanup: remove seam drawing in face select mode, was left over from when
seams were edited there, now only needed in edit mode.
2011-08-12 18:13:55 +00:00
Brecht Van Lommel
c265a686d8 Modifiers: add callback to loop over each texture assigned to a modifier. 2011-08-12 18:11:22 +00:00
Brecht Van Lommel
e4bdb6e95a Code cleanup: replace some manual setting of ob->recalc with DAG_id_tag_update,
is now just as fast anyway with delayed flush.
2011-08-12 18:06:05 +00:00
Campbell Barton
b374ab919a import common classes from bpy.types, saves ~1000 python getattrs on startup. 2011-08-12 06:57:00 +00:00
Campbell Barton
8fd246cb70 add bpy.types as a module for convenient imports, eg:
from bpy.types import Menu
2011-08-12 06:31:39 +00:00
Campbell Barton
ada88c8d8e sequencer todo: change sequence added back (C key)
split up into operators
- change effect input
- change effect type
- change file data

Change plugin is not ported back yet.
2011-08-12 06:08:22 +00:00
Campbell Barton
347f4fac74 add WM_FILESEL_FILES to WM_operator_properties_filesel, sequencer was doing this on its own. 2011-08-12 03:53:26 +00:00
Campbell Barton
a03b52af81 soft limits for add object rotation value, without cont. grab it would get to very large numbers with a small drag. 2011-08-12 03:18:04 +00:00
Campbell Barton
b1c04d379f un-inline GHash functions r26206, these are quite large functions to inline and increase binary size by 30kb, (tested on stripped, cmake release build).
Ran some speed tests and difference was close to the noise level, but inlining gives only ~2 - 3% speedup with build modifier which uses ghash a lot.
2011-08-12 02:23:06 +00:00
Nathan Letwory
3359b7d7b7 use correct libdir for buildbot win64. 2011-08-11 16:43:36 +00:00
Sergey Sharybin
c9216e390c Commiting patch from jensverwiebe for NDOF support on OSX 2011-08-11 15:59:19 +00:00
Sergey Sharybin
944cdf04dd Fix for crash when using undo during sketching session.
Currently, grease pencil conflicts with such operators
as undo and set object mode which makes behavior totally
unpredictable and crash for some cases.

The only way to solve this proper is to ger rid of pointers
to data which can chage stored in operator custom data.
2011-08-11 13:40:47 +00:00
Brecht Van Lommel
9c9cd71a86 Fix #28180: crash running wm.keyconfigs.user.keymaps.new("My Keymap").
There isn't much point in doing this at the moment, but shouldn't crash.
2011-08-11 11:56:02 +00:00
Mitchell Stokes
165e6dbc07 Adding a readonly length_squared property to mathutils.Vector. This is simply vector.dot(vector), so nothing new is really added, but it's nice for writing more intent revealing code. In other words:
if vec.dot(vec) > some_distance*some_distance:
    do_something()

might not be quite as obvious looking as:

if vec.length_squared > some_distance*some_distance:
    do_something()

As to why you'd want to use length_squared over length is that length uses a square root, which isn't always necessary for simple distance checks (e.g., closest object, checks like the ones above, ect).
2011-08-11 09:40:14 +00:00
Campbell Barton
99caa9470e fix [#28213] Imperial unit for 0.001 inches inconsistently displayed as mils and thous 2011-08-11 08:24:56 +00:00
Guillermo S. Romero
80acfdc7a0 SVN maintenance. 2011-08-11 06:40:04 +00:00
Campbell Barton
a7663cc377 use ghash for operator and menu types, was doing string lookup in the operator list (containing over 1000 items) for each button draw.
gives small speedup for UI drawing and overall startup time.
2011-08-11 06:06:17 +00:00
Campbell Barton
0fac849d44 ifdef'd outliner code which is spesific to gsoc pepper with '// GSOC_PEPPER' so its obvious. this will keep merging pepper changes from conflicting and can be removed when its finally merged. 2011-08-11 05:50:05 +00:00
Campbell Barton
e97617e3fb merge outliner refactor so we dont have to keep outliner.c locked in trunk.
this wont build because of changes spesific to pepper, fix coming next.

svn merge source/blender/editors/space_outliner -r36830:38987 https://svn.blender.org/svnroot/bf-blender/branches/soc-2011-pepper/source/blender/editors/space_outliner
2011-08-11 05:46:18 +00:00
Campbell Barton
07e8bfd2f2 unlocking outliner.c and removing... (merging refactor from pepper but looks like this will take a few steps) 2011-08-11 05:43:20 +00:00
Campbell Barton
50277c48ba fix for regression for shape key UI, values are now editable again in the list, double checked this works for mesh/curve and lattice types. 2011-08-10 20:12:27 +00:00
Campbell Barton
11aa9ff223 error in own recent commit. set subversion to 0 2011-08-10 16:05:20 +00:00
Thomas Dinges
e8471be5f2 2.59 Splash screen by tomket7. Congratulations!
Chosen by the jury Ben Simonds, Reynante Martinez and Hjalti Hjálmarsson.
2011-08-10 16:03:45 +00:00
Campbell Barton
45d99da8a2 Version bump for 2.59 2011-08-10 16:02:02 +00:00
Campbell Barton
cff2caa8a7 fix [#28206] Motion Paths shown in 3DView even when Only Render option is enabled 2011-08-10 15:53:46 +00:00
Nathan Letwory
3758f125fc Fix for incorrect parameter amount. 2011-08-10 09:30:45 +00:00
Campbell Barton
036077ebc6 fix for error in template 2011-08-10 09:16:35 +00:00
Campbell Barton
958c468b07 fix [#28203] Misplaced string in bone constraints 2011-08-10 07:49:18 +00:00
Nathan Letwory
4da9a8959f Fix [#28195] Particles objects disappear in viewport, and 90° rotation
Reported by Jean Francois Sarazin

Lack of normal normalisation caused scaling issues. SIGGRAPH fix by jahka and jesterKing. Thanks to host dfelinto with entertainment provided by slikdigit.
2011-08-10 07:36:57 +00:00
Campbell Barton
3a9b288bc7 fix for [#28201] blender crashes when "mpeg" selected
2 changes
- When writing OGG only allow Theora encoding, this fixes the crash.
- When setting the MPEG preset, dont allow the 'Codec' to be left as Theora, this is just confusing.

* note that this is highly confusing for users and devs - there are 4 places to set the codec/format, with both python and C presets :S.
2011-08-10 07:36:44 +00:00
Campbell Barton
a10e00dc57 fix for crash undoing grease pencil session, last action would free entire frame which the session held a reference to. 2011-08-09 21:32:46 +00:00
Campbell Barton
3ddbc3869d fix [#28197] Undoing Grease pencil removes last 2 strokes 2011-08-09 20:33:35 +00:00
Campbell Barton
4262bd2906 fix [#28196] Unwrap tris in lightmap pack 2011-08-09 20:00:53 +00:00
Campbell Barton
0207d9ce27 style change, harmless changes while looking into bug [#28196] 2011-08-09 19:59:01 +00:00
Campbell Barton
22694c993a fix [#28186] textboxes properties not animatable 2011-08-09 14:50:40 +00:00