Commit Graph

25347 Commits

Author SHA1 Message Date
Robert Holcomb
f811ab1356 added capabilty to limit color spill by an input mask 2010-08-02 17:34:44 +00:00
Campbell Barton
c418119b49 bugfix [#23151] UV Project not update in realtime until you save the file and reopen it. 2010-08-02 16:57:46 +00:00
Campbell Barton
d298a5d0a8 patch [#23054] Fix for bug #22725 "text editor doent scroll with cursor"
fixes [#22725] text editor doent scroll with cursor
from Justin Dailey (dail)
2010-08-02 16:41:14 +00:00
Campbell Barton
ec2c52c9c8 SCons
- remove scons option WITH_BF_FHS, its not needed anymore.
- comment WITH_BF_DOCS, was using epydocs which we dont use now.
- blenderlite target was broken, always using openmp.
- building without python wasnt working.

- fixed some warnings.
2010-08-02 16:27:41 +00:00
Campbell Barton
7bd687ea58 cmake
- more strict warnings for gcc/unix, still <50 for a clean build.
- install files to /usr/local/share/blender/2.53 rather then /usr/local/share/blender/.blender
2010-08-02 16:23:58 +00:00
Campbell Barton
d348765181 use try/except when unloading modules too. 2010-08-02 14:25:23 +00:00
Campbell Barton
bd0e14d90b give better feedback when a class doesnt register correctly. 2010-08-02 13:41:59 +00:00
Ton Roosendaal
3d545d1db9 Based on recent feedback, the copyright.txt file contained
statements that were restricting the GNU GPL, which is not
allowed for binaries. Now the text restricts to summarizing
the freedom of GPL and a disclaimer.
2010-08-02 13:31:43 +00:00
Campbell Barton
486e00a3ed py addons: much faster scanning of addons by only parsing the dictionary rather then the entire file. 2010-08-02 12:35:32 +00:00
Campbell Barton
200fb4a286 fix for parsing scripts 2010-08-02 12:07:50 +00:00
Campbell Barton
9e16c687a9 update userpref's addon code to support new register/unregister, now the modules are parsed rather then being imported since it become quite tricky to import once without registering the classes, then again in a way that registered the existing modules classes without a reload() - which had problems too. 2010-08-02 07:50:58 +00:00
Campbell Barton
0c62d107e0 minor changes to registration before committing addons fixes 2010-08-02 06:56:31 +00:00
Campbell Barton
55e64f0ba4 minor changes to Martni's commit 30961
- removed the immediate option from C/api and now store in python only, when python loads modules it sets it to False.
- unloading a module would clear the entire TypeMap for all modules, only remove the module types that is being unloaded.
- added some checks for bad class registering, report errors rather then crashing.
2010-08-02 04:20:41 +00:00
Campbell Barton
3d81ee3e4a fix for sequencer panel registration, a parent class panel was being registered as well as its children which crashed running the poll() function.
theres not much point in having 3 classes here, just use 1.
2010-08-02 04:10:16 +00:00
Campbell Barton
a08648ab53 remove register/unregister from templates 2010-08-02 03:30:07 +00:00
Martin Poirier
5b345524ea RNA Types metaclass registration
See mailing list posts for details [1][2][3]

Addons still need to be fixed; Campbell said he'd do it today.

See any of the py files (outside netrender) in this commit for how to do it (it's rather simple).

[1] http://lists.blender.org/pipermail/bf-committers/2010-February/026328.html
[2] http://lists.blender.org/pipermail/bf-committers/2010-August/028311.html
[3] http://lists.blender.org/pipermail/bf-committers/2010-August/028321.html
2010-08-02 02:55:12 +00:00
Luca Bonavita
9f575e5446 == povray ==
Removing Povray from here, it is now an addon in bf-extensions (after discussion with Campbell).
This will let us manage better the transition to PovRay3.7 and later versions.
2010-08-02 01:58:32 +00:00
Luca Bonavita
174145be60 == addons ==
Loads addons from usual .blender/scripts/addons but also from .blender/scripts/addons_contrib if this folder exists

To get  latest contrib scripts, we can checkout
https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons/
into release/scripts/addons_contrib/
2010-08-02 01:37:52 +00:00
Campbell Barton
c04850ec06 python mathutils change
quat * quat was returning the dot product (a float), rather then the cross product.
 Use BLI_math's mul_qt_qtqt() function.
2010-08-02 00:08:01 +00:00
Campbell Barton
2e7c8bbeec fix for py console autocomp. need to swap out __main__ module there too. 2010-08-01 22:54:39 +00:00
Campbell Barton
c92e3225f3 patch [#23144] bpy.Image.gl_load() -- fix
from Dan Eicher (dna)
- image.gl_load() was using GL_UNSIGNED_INT rather then GL_UNSIGNED_BYTE channel type.
- changed image.gl_load() to use the image clamp settings (patch had this as an extra argument).
2010-08-01 22:20:45 +00:00
Guillermo S. Romero
20e6b5280d SVN maintenance. 2010-08-01 21:29:50 +00:00
Brecht Van Lommel
9b006d6d00 Fix preview render crash after recent G.main changes. 2010-08-01 20:36:24 +00:00
Thomas Dinges
0753766a57 Fix for the fix. 2010-08-01 16:38:30 +00:00
Thomas Dinges
4e031236d5 Compile fix for recent changes. Function needed 1 more argument.
Chingiz can you please check?
2010-08-01 16:35:27 +00:00
Damien Plisson
4da55eed8f OSX/Cocoa : fix the Cmd modifier stuck after cancelling the quit dialog 2010-08-01 16:25:00 +00:00
Campbell Barton
7e55571175 bugfix [#23134] uv project modifier not working.
own recent commit introduced this bug. would like to have this working correctly but for now commenting.
2010-08-01 15:42:22 +00:00
Campbell Barton
a3e58a951a set blender binary name for python 2010-08-01 15:15:57 +00:00
Daniel Genrich
0be152501e Smoke:
- Bugfix for not cleared smoke sim when doing alt-a and waiting for 2 sim cycles to complete
2010-08-01 15:00:53 +00:00
Campbell Barton
7524967238 - new __main__ module wasnt de-referenced after adding into sys.modules
- made int buttons round floats better 10.6 --> 11
2010-08-01 14:23:06 +00:00
Brecht Van Lommel
4a63d2a2d2 Fix for crash due to last commit. 2010-08-01 14:08:33 +00:00
Campbell Barton
e33d7d37c9 bugfix [#23129] alt-p in the texteditor doesn't work anymore
recent commit cleared the __main__ namespace once a script finished which meant classes defined there would loose their namespace.
now inset a new __main__ module into sys.modules for every script that runs, any classes that are registered will hold a reference to that modules namespace.
2010-08-01 13:57:04 +00:00
Brecht Van Lommel
f3cca3e192 2.5: more G.main changes. 2010-08-01 12:57:01 +00:00
Brecht Van Lommel
5fa7d1c1b4 2.5: code changes to reduce the usage of G.main and pass it along
or get it from the context instead.
2010-08-01 12:47:49 +00:00
Daniel Genrich
c34f831757 Smoke:
- Bugfix for display problems in shaded view: Reverting to wire display mode for domain.
2010-08-01 12:16:32 +00:00
Campbell Barton
8fd1d8f02a mistake in recent commit allowd bpy.types.Scene() which would then crash blender (thanks for spotting Luca). 2010-08-01 11:20:51 +00:00
Campbell Barton
d25747ee75 bugfix's
[#23108] bpy.ops.object.origin_set(type='GEOMETRY_ORIGIN') dosen't work in console
  [#23115] Crash when moving armature origin

- setting the armature in editmode would leave editdata in some cases.
- transforming selected linked objects to account for the movement of the obdata was only done for meshes, now do for curves and text3d.
- added utility functions for getting curve & mesh bounds.
- text3d moving center wasn't working at all.
- changed drawobject.c to use BLI_math funcs in more places.
- remove some unused code from operator object.origin_set.
2010-08-01 11:00:36 +00:00
Campbell Barton
e56913fe39 fix for un-initialized layer (only bits between 1 and 20 were initialized) 2010-08-01 10:36:02 +00:00
Campbell Barton
ea6730cdd1 - font object x/yoffset was making text box's wrap text incorrectly.
- draw text boxes with the offset applied.
(abologies for making font.c even more confusing)
2010-08-01 09:56:00 +00:00
Martin Poirier
327b4d588b Separate proportional edit setting between edit and object mode. They are now used and toggled independently. 2010-07-31 19:26:21 +00:00
Martin Poirier
a5e4fc782a netrender: fix reload
Note: this is tested and work with metaclass registering. If it doesn't work with registering lists (as currently in svn), I can still commit the metaclass method...
2010-07-31 19:23:22 +00:00
Luca Bonavita
9d68a27365 == rigify ==
- small fix, doing F8 complains during the unregister phase

- hey Campbell, also netrender complains during F8, prints lots of 
  "AttributeError: 'Scene' object has no attribute 'network_render'"
  I tried to track this down with no luck, bpy.types.Scene doesn't seem
  to have a network_render method anymore? I'll investigate later if it 
  won't be fixed already :)
2010-07-31 18:06:55 +00:00
Campbell Barton
cc673669c7 use more BLI math funcs (no functional changes) 2010-07-31 10:58:10 +00:00
Campbell Barton
667a2cafbe recent commit to make color balance work like the sequencer, I forgot that the gamma was inverted. fixed. 2010-07-31 10:03:08 +00:00
Campbell Barton
1280b6f902 - add back prefix for ID lists (LF) for linked and fake user for search fields.
- remove debug print for left/right name flipping & commented test from the sequencer.
2010-07-31 01:06:08 +00:00
Campbell Barton
a53a928773 Change compositor color balance to match the sequencer exactly, for this to work linear/srgb conversions need to be done which that nice since it has to convert from/to the color spaces each time, after quite a lot of testing I think its the best way to go.
The problem was that typical lift values  (0.5 - 1.5, in our case ) would over saturate shadows so that even minor adjustments would give unusable results.
tweaking the input lift to compensate for this helped with the shadows but would loose the color adjustments for the mid-tones.
2010-07-30 23:32:49 +00:00
Nathan Letwory
11b140fb3a patch [#23110] isolate render type UI labelling + operator to clear all hide render flags in scene by Peter Schulman 2010-07-30 23:25:26 +00:00
Thomas Dinges
e4a16c8010 Properties Window:
* Deleted space_buttons.py file as I doubt that these buttons will be done in python. File was not used anyway.
* Deleted some ifdef checks from space_buttons.c for the py header.
2010-07-30 16:15:56 +00:00
Thomas Dinges
0972d05b4b Logic Editor:
*Removed the old header menu code, replacing with Python menus.
2010-07-30 15:44:26 +00:00
Thomas Dinges
8fea1c327c Ui Scripts:
* Made a "View" Menu in the Text Editor, these settings don't belong into a "Text" Menu. 
* Added "Properties" Operator into the VSE "View" menu.
2010-07-30 14:56:17 +00:00