Commit Graph

31291 Commits

Author SHA1 Message Date
Campbell Barton
18d66643f4 this should finally fix collada & ubuntu building with cmake 2011-08-24 18:13:11 +00:00
Campbell Barton
242035fa2d attempt to fix issue with opencollada + ubuntu ppa 2011-08-24 17:09:25 +00:00
Campbell Barton
9ad6434c4e opencollada find module. hopefully solves the problem where includes can in an /include subdir or not. 2011-08-24 16:04:35 +00:00
Campbell Barton
82e622f158 fix [#28356] Import export STL files, problem in script in version r39307
& correct some bad comments.
2011-08-24 14:22:41 +00:00
Campbell Barton
f9bffb3ca0 fix [#28340] Can't set image depth, quality from image save 2011-08-24 00:44:58 +00:00
Campbell Barton
3bb397be76 fix [#28351] active RenderLayer can be set to None, leading to crash 2011-08-23 20:54:44 +00:00
Campbell Barton
a35b3c5b50 fix [#28352] Deleting group name in particle system -> panel: Render crashes Blender 2011-08-23 20:49:06 +00:00
Campbell Barton
8470418b91 cmake: skip rpath (paths to libs) for portable distrobution 2011-08-23 20:19:08 +00:00
Campbell Barton
9a9513a9f0 fix for 3 bugs in bone renaming
- renaming a bone could crash if the area had to spaces in it (reported by Sebastian Koenig).
- renaming bones wouldn't  update inactive 3d views locked bone names.
- selecting locked bones in the UI didnt work in editmode.
2011-08-23 19:58:15 +00:00
Campbell Barton
f6a2b8d724 BLI_strescape for a basic, python like string escaping, currently only use for drag and drop ID's into the console but should eventually be used for the animsys too. 2011-08-23 15:08:54 +00:00
Brecht Van Lommel
abff0032c4 Fix #28343: glsl error after derivative maps commit. 2011-08-23 13:15:18 +00:00
Campbell Barton
6fd68b8d76 fix [#28336] Particles: setting to zero the count of all elements of a group crashes Blender 2011-08-23 12:09:20 +00:00
Campbell Barton
ba4fd78fac fix [#28344] for this file, the multires smiley has 2 materials, but only 1 loads 2011-08-23 11:46:16 +00:00
Campbell Barton
75a63981cd add warning about misuse of ID.user_clear() since it can crash blender. 2011-08-23 11:28:18 +00:00
Campbell Barton
ce9e4472eb Make Ctrl+RMB in editmode behave like 2.4x, was re-using center option which worked but used center select too.
instead add 'object' option to VIEW3D_OT_select.
2011-08-23 09:05:12 +00:00
Thomas Dinges
ed3d253c56 Fix for [#28339] Rev:39618 The revision part doesn't suffice.
NAN_BUILDINFO > WITH_BUILDINFO change from rev 39618 was missing in those files.
2011-08-23 08:02:48 +00:00
Campbell Barton
34b7bff44b change compression level for gzip saving to 1, approx twice as fast when saving a 194mb blend file and only slightly bigger. 2011-08-23 07:59:25 +00:00
Thomas Dinges
4740dce4ec Revert a part of 39385.
Vertex Select Button got somehow into the Mesh panel.
2011-08-22 22:26:25 +00:00
Morten Mikkelsen
6a374d266d glsl and render support for derivative maps 2011-08-22 19:57:54 +00:00
Sergey Sharybin
0e3b8ff6a5 Update rules for linux cross and mingw: list of DLLs for FFmpeg should be defined there. 2011-08-22 19:27:54 +00:00
Campbell Barton
c33e0c053a fix for buildinfo changes with blenderplayer 2011-08-22 19:13:26 +00:00
Sergey Sharybin
e39cb8a040 Forgot this in previous commit 2011-08-22 19:00:32 +00:00
Morten Mikkelsen
a9d9a8e569 actually, this if is still marginally good to have 2011-08-22 18:56:13 +00:00
Sergey Sharybin
a33a26ca07 FFmpeg library update:
- Update scons/cmake rules to use new versions of libs/dlls.
- Update rules for buildbot.
2011-08-22 18:49:42 +00:00
Campbell Barton
a937729f38 properly escape chars for pythons bpy objects __repr__ 2011-08-22 18:13:37 +00:00
Campbell Barton
7d316b70b8 rename NAN_BUILDINFO --> WITH_BUILDINFO 2011-08-22 16:54:26 +00:00
Campbell Barton
817273931a buildinfo is now quoted from the build systems, avoids stripping quotes on startup.
tested with linux/cmake linux/scons windows/cmake/mingw windows/cmake/msvc
2011-08-22 12:24:14 +00:00
Campbell Barton
5394cabe24 remove workaround for bug in python 3.2.0 loading web pages on *nix 2011-08-22 11:54:40 +00:00
Campbell Barton
1324173e99 pep8 edits and change '!= None' to 'is not None' 2011-08-22 09:01:49 +00:00
Campbell Barton
aa7545b0ea patch [#28320] Small change to trunk needed for Motion Capture Addon - GSoC 2011 - Pepper Branch
from Benjy Cook (benjycook)
2011-08-22 08:47:48 +00:00
Campbell Barton
17c8621cc8 fix [bf-blender-Patches][27924] Redundant applying of SetNetworkDevice
noticed by Jorge Bernal (lordloki)
2011-08-21 21:17:55 +00:00
Jens Verwiebe
826614d66e name mandatory driver for OSX NDOF compile - testcommit same time 2011-08-21 21:11:26 +00:00
Sergey Sharybin
36f20f162c Fix #28154: linux3-config.py doesn't exist
Change OURPLATFORM from "linux<major_version>" to simple "linux".
Since new policy for linux kernel versions that major version in
platform doesn't make much sense for building rules so the same
rules could be used for both of linux2 and linux3 now/

Tested on both of linux2 and linux3 systems.
2011-08-21 13:31:46 +00:00
Ton Roosendaal
4427c14683 Small fix, report in IRC by Olivier:
Click in Compositor on output node invoked a re-composite.
Only has to be done for inactive outputs.
2011-08-21 13:25:19 +00:00
Campbell Barton
bebee3fb60 new cmake doesn't consider CLang == GNUCC, set flags for clang explicitly. 2011-08-21 11:06:49 +00:00
Campbell Barton
8fcc8dd776 fix for out of bounds array access for shaded drawing in the UI, remove alpha blending for uiDrawBoxShade and uiDrawBoxVerticalShade. 2011-08-21 10:14:21 +00:00
Campbell Barton
f8ec017900 floats were being promoted to doubles in quite a few cases (using gcc's -Wdouble-promotion), went over render module and use float constants, gives small but consistent speedup - approx 3%. 2011-08-20 17:39:13 +00:00
Campbell Barton
d4dec1c3bc use ghash for DNA_struct_find_nr(), gives ~18% speedup on loading sintel lite, will also speedup undo.
note: only works with CMake, wasn't able to get this working with scons, complains about same file being built in different environments.
2011-08-20 14:23:43 +00:00
Campbell Barton
a0a96a84fe fix for crash when loading a file from a script, and executing user modules in the newly loaded file. 2011-08-20 13:29:42 +00:00
Campbell Barton
5d88ba6165 remove over zealous undo's on operators that don't need it. 2011-08-19 20:25:25 +00:00
Campbell Barton
90d19ad883 py style change only - make property definitions consistent 2011-08-19 19:25:20 +00:00
Campbell Barton
3a81f23e09 warning cleanup for -Wdouble-promotion 2011-08-19 16:21:29 +00:00
Campbell Barton
2c1182664c minor speedup to python/rna api keyword argument lookups.
- dont use hash lookups in this case because converting the string to unicode and doing a hash lookup is slower then looping over the keys and comparing (which avoids creating and throwning away a unicode string).
2011-08-19 10:38:34 +00:00
Campbell Barton
561b49e925 minor style change 2011-08-19 10:35:47 +00:00
Campbell Barton
0de9112102 store a pointer to the units system in the uiBlock since the button code was doing context lookups for the scene quite a lot. 2011-08-18 20:01:30 +00:00
Campbell Barton
042d4d3509 misc changes to unterface & undo
- operator strings were doing undo pushes (in fileselector text for example), this is dumb since the operators themselves handle undo.
- interface code checks rna props are arrays rather then checking the array length.
- disable properties window pin undoing.
- sequencer refresh was calling undo, disable since this is clearnign global data not handled by undo.
- added commented out code for drawing mesh vertex index/key index, useful for debugging shapekey - hook issyes.
2011-08-18 19:07:37 +00:00
Campbell Barton
238955070b minor change for operator OUTLINER_OT_item_activate
Noticed clicking anywhere in the outliner was doing undo pushes, even in empty areas.

- check if any selection is made before redrawing.
- don't do an undo push when selecting outliner items since only screen data is touched here.
2011-08-18 18:42:42 +00:00
Morten Mikkelsen
ccdec67fec bugfix: genx and geny are not the image resolution. Texture space variant needs this. 2011-08-18 17:25:54 +00:00
Campbell Barton
39a46cd4ed disable undo for hard coded interface buttons:
- space type switcher.
- header menu toggle.
- properties window header buttons.
- various view3d manipulator buttons.
2011-08-18 17:09:23 +00:00
Campbell Barton
00426038d0 disable undo for screen & wm RNA buttons, changing shading mode via the UI for eg was doing an undo push. 2011-08-18 16:26:34 +00:00