Commit Graph

29213 Commits

Author SHA1 Message Date
Nathan Letwory
3916b0270e Address [#26641] Texture Quick Edit kicks up error when Editor can't be found
reported by Keith Boshoff (Wahooney)

Instead of a confusing backtrace popup, tell the user the image editor cannot be found, and where to set the path to it.
2011-03-28 13:44:56 +00:00
Ton Roosendaal
713f976918 Bugfix, irc report:
Entering editmode crashed, missing v3d properties storage, which got
accidentally removed.
2011-03-28 12:16:20 +00:00
Campbell Barton
ca38366732 particles & vector-font: floats were being implicitly promoted to
doubles, adjust to use floats.
2011-03-28 11:21:39 +00:00
Nathan Letwory
fee4cc34cc Add missing header for *nix machines. 2011-03-28 11:04:38 +00:00
Campbell Barton
76ad75b1bb Crouch on IRC noticed inconsistency between name COLOR_SETS & attribute bone_color_sets 2011-03-28 11:01:24 +00:00
Nathan Letwory
bd9854e7d1 Import light blender profile if it exists. 2011-03-28 09:31:44 +00:00
Janne Karhu
e5bf21898e Fix for [#26617] convert hair particles to mesh crash rev:35787
* Hair to mesh conversion wasn't making sure the hairs had valid keys
* Patch by Sergey Sharybin
2011-03-28 08:27:19 +00:00
Janne Karhu
72b4bf2fda Bug fix: particles emitted from a moving emitter exploded with verlet integration
* Verlet integration didn't like moving emitters, so now the first step for newborn particles with verlet is actually done with euler integration.
2011-03-28 08:08:59 +00:00
Nathan Letwory
fd72840587 Add stubs for the new timer add and remove functions. 2011-03-28 05:37:25 +00:00
Campbell Barton
412eed6a27 RNA functions for adding timer (needed for demo mode, also useful for python modal operators).
- timer = WindowManager.event_timer_add(time_step, window=None)
 - WindowManager.event_timer_remove(timer)

Still TODO, is a way for python to check the timer identity.
2011-03-28 04:55:24 +00:00
Campbell Barton
dd56ebe607 blenkernel: floats were being implicitly promoted to doubles, adjust to use floats. 2011-03-28 04:22:50 +00:00
Campbell Barton
ac1cb5ee05 - quiet new warnings with gcc 4.6
- use BLI math funcs for normal float/short conversion.
- correct some un-intentional float/double promotions.
2011-03-28 02:34:55 +00:00
Campbell Barton
cf40220e54 set CMake's GCC warnings for GCC4.6.
-Wdouble-promotion -Wno-error=double-promotion
 -Wno-error=unused-but-set-variable
2011-03-28 02:11:51 +00:00
Campbell Barton
e567feab64 uvedit: floats were being implicitly promoted to doubles, adjust to use floats. 2011-03-28 02:09:10 +00:00
Joshua Leung
89c2357892 Bugfix: One more place still using the old "keys" instead of
"key_blocks"
2011-03-27 23:19:32 +00:00
Martin Poirier
84befe2056 [#26622] Blender crashes when calling transform operator
Add cancellation checks for time* transforms that only run in specific spaces.

Hide Transform Mode operator property (it shouldn't be modified after the operator is run), made default mode Translate, not the useless Dummy.
2011-03-27 22:15:37 +00:00
Nathan Letwory
3c67374f50 Revert r34026, which in it turn reverted r33039. Removal breaks renderers that use COLLADA as their format through render() callback. 2011-03-27 22:02:54 +00:00
Martin Poirier
47f9b496b1 [#24658] Switching to "maya" via interaction preset breaks when switching back
[#25045] User Preferences Input, not enough menu choices
[#26525] Saving the Maya preset and another key configs

Untangle keyconfig presets and interaction presets (maya keyconfig would set interaction setting, blender interaction would set keyconfig).

Preset menu on slash screen now displays a list of available keyconfigs (as before) but will also set the correspondant interaction presets, if it exists)
2011-03-27 21:45:37 +00:00
Martin Poirier
3598882f0e Proper traceback when addons fails AST parsing setp 2011-03-27 20:52:50 +00:00
Nathan Letwory
45f9dd4bd9 COLLADA lamp blender profile: add the remainder of the lamp variables to export. 2011-03-27 17:57:14 +00:00
Campbell Barton
a73c3fe5c9 subsurf, derived mesh and other misc files: floats were being implicitly promoted to doubles, adjust to use floats. 2011-03-27 17:22:04 +00:00
Campbell Barton
9c8f1e2ef4 imbuf, mathutils & readfile: floats were being implicitly promoted to doubles, adjust to use floats. 2011-03-27 17:12:59 +00:00
Campbell Barton
4237c0393a view3d / object drawing: floats were being implicitly promoted to doubles, adjust to use floats. 2011-03-27 15:57:27 +00:00
Campbell Barton
59cdbfd884 math lib and UV project: floats were being implicitly promoted to doubles, adjust to use floats. 2011-03-27 15:54:20 +00:00
Campbell Barton
617e6a83bc object/paint/misc-files: floats were being implicitly promoted to doubles, adjust to use floats.
- also UV angle stretching was using radians->deg which wasn't needed.
2011-03-27 14:59:55 +00:00
Campbell Barton
8d7c3f8a7e interface: floats were being implicitly promoted to doubles, adjust to use floats (in most cases) otherwise cast to double. 2011-03-27 14:52:16 +00:00
Lukas Toenne
0b9f67061c Fix for [26631] relative blur decimal value from 2.49 is not correctly converted to percentage value in 2.5
This will not work for file saved between the blur node patch and subversion 2, those will still have to be update manually.
2011-03-27 13:49:56 +00:00
Campbell Barton
9997c3c895 modifiers: floats were being implicitly promoted to doubles, adjust to use floats. 2011-03-27 13:49:53 +00:00
Nathan Letwory
3cb6f52eec Add blender light profile. 2011-03-27 09:46:20 +00:00
Campbell Barton
4ec9d47de3 option not to restore the original frame when canceling the animation, use in demo mode. 2011-03-27 08:31:10 +00:00
Campbell Barton
b11f29c8ac clear some c++ warnings. 2011-03-27 07:56:29 +00:00
Campbell Barton
587bbc4213 fix [#26616] Line of code make Blender crash 2011-03-27 06:56:37 +00:00
Campbell Barton
9b19c564ef fix for 'View Docs' with inherited properties, eg: "Object.name", is inherited and needs to open the URL of "ID.name". 2011-03-27 06:15:55 +00:00
Campbell Barton
50a06eccff pep8 cleanup 2011-03-27 05:23:14 +00:00
Campbell Barton
7ccfec1ff3 fix (own bug) [#26628] "FCurve/Driver Version Fix" Incorrectly Clobbers Array Indexing
also escape strings properly now.
2011-03-27 03:14:14 +00:00
Guillermo S. Romero
4b5819a5af SVN maintenance. 2011-03-26 23:55:54 +00:00
Joshua Leung
7beca3d142 Bugfixes due to recent RNA renaming:
* Driver F-Curves were not getting fixed by the "FCurve/Driver Version
Fix" tool. This was causing problems such as shapekey drivers from
older (2.56 compatible rigs) failing to run. As well as renaming the
paths for these Driver F-Curves, the "disabled" flags also get cleared
from these drivers so that they can be run again

* "Revive Disabled F-Curves"  operator in Animation Editors can now be
used to revive disabled drivers too.
2011-03-26 23:42:51 +00:00
Sergey Sharybin
121075ec15 One more fix for recent normals re-calculation change 2011-03-26 17:43:07 +00:00
Campbell Barton
1fa04dce8c fix for transform using the wrong RNA type 2011-03-26 15:24:59 +00:00
Sergey Sharybin
5aec085da0 Fixed memory access in mesh_calc_normals(). Now it uses much less memory. 2011-03-26 09:48:03 +00:00
Campbell Barton
f141c81b5b - fix for editfont using an enum func on boolean property.
- updated FBX export test hash.
2011-03-26 09:36:45 +00:00
Damien Plisson
ac2d935a32 Update cmake & scons scripts to use new Collada includes for building with latest blender collada updates 2011-03-26 09:09:00 +00:00
Brecht Van Lommel
76fd7a90ad Fix for Mac addon install, unzipping could create __MACOSX folder which
we don't need, just remove it if it gets created.
2011-03-26 08:41:21 +00:00
Brecht Van Lommel
63e40dbe0e Fix #26582, #26586, #26613: recent normal calculation changes didn't take
into account that some tools use normals for things other than display. Now
we properly initialize vertex normals at flat faces too.

Also fixed a normal refresh issue, and deduplicated CDDM/mesh normal
calculation code.
2011-03-26 08:28:24 +00:00
Campbell Barton
02a7063a09 fix for blenderplayer crashing on exit.
the event consumer was being freed twice, once when going out of C++ scope, another when freeing the system.
2011-03-26 08:13:42 +00:00
Joshua Leung
d53a0cd48f Bugfix:
Recent renaming of Key.keys to Key.key_blocks broke converter for old
files.

Campbell Alert: However, more seriously, it has broken many current
rigs, especially those with heavy usage of (driven) Shape Keys
2011-03-26 05:52:18 +00:00
Campbell Barton
cae59a78d8 print guarded-alloc memory leaks on blenderplayer exit. 2011-03-26 04:50:59 +00:00
Campbell Barton
04e32be958 optparse module is deprecated, use new argparse module in background job template.
correction to example in doc too.
2011-03-26 03:42:59 +00:00
Sergey Sharybin
bc88e61efa "Fill Deformed" option for curves isn't dependent from bevel object,
so it shouldn't be grayed out even if bevel object is set.
2011-03-25 22:02:50 +00:00
Ton Roosendaal
6bc3b99016 Forgot to add to log of previous commit:
The purpose was to set a wait-cursor draw on 3d windows. I tried for
but it keeps failing... inside threads you can't do UI stuff. Needs
further thinking, probably something via jobs system.
2011-03-25 17:16:22 +00:00