Commit Graph

2589 Commits

Author SHA1 Message Date
Luca Bonavita
17bd603cbc == Area lamp UI ==
Fixes [#23152] Area light with noshadow is affected by rayshadow sampling setup (Kino Bug Reporting Sprint)
https://projects.blender.org/tracker/index.php?func=detail&aid=23152&group_id=9&atid=498

This moves the samples field so that it is visible in area lamps when noshadow is clicked, because acording to Brecht: "area lights also use the 
samples for sampling the form factor, but they are in the shadow panel, probably for area lights that button should be moved"

Also modified the sampling buttons so that only those depending on the sampling method are below the sampling method selector, while the general 
ones come first so it's immediate to see which ones are depending on the sampling method.

Also, formatted so that options for constant jitter appear below that button, so it's faster to setup.
Same for QMC which has the threshold field just below the QMC selector, and not wide as the column.

This still uses "if wide_ui else", in IRC there has been discussion about removing it but this will be done but who is in charge of it at due 
time.
2010-08-06 14:36:39 +00:00
Campbell Barton
048d3dc587 fix for missing import 2010-08-06 13:06:13 +00:00
Campbell Barton
14fe11bd81 bugfix [#19525] Curve modifier moves mesh geometry first
more of a request then a bug but shows up a strange limitation with curve deform modifier,
The mesh bounding box would set the deform axis start/end to map the deformation of the curve to. This means it ignored offset in the object location and object data location (you could use a dummy vertex to trick it).

Old files wont change, added an option (next to stretch), called 'Bounds Clamp', old files have this behavior but newly made curves have it disabled.
Double checked this gives useful results with stretch on/off and negative axis.
2010-08-06 08:27:07 +00:00
Campbell Barton
267a7b76e8 adding back pep8 tag removed r31089.
I use this as a tag that the script SHOULD be pep8 compliant, warnings the pep8 checkers give can be fixed later, without this I dont get any warnings.
2010-08-06 03:11:19 +00:00
Guillermo S. Romero
1aecb15c74 SVN maintenance. 2010-08-06 02:26:23 +00:00
Campbell Barton
30d180ff0d bugfix [#23194] export UVs miss the extension file
also made all other exporters do this.

Made some internal changes.
- moved path functions from bpy.utils to bpy.path (similar to os.path)
- added functions...
  bpy.path.ensure_ext(path, ".ext", case_sensitive=False) # simple function to ensure the extension is set.
  bpy.path.resolve_ncase(path) # useful for importing scenes made on windows where the path case doesnt match the files.
2010-08-06 01:40:54 +00:00
Campbell Barton
4f71435bbf some fixes for the poll() function from last commit.
Martin: forgot to mention, had to remove the use of super() in poll functions for netrender. commented with FIXME.
2010-08-05 21:58:57 +00:00
Campbell Barton
163f6055d2 bugfix [#23182] Using self.report() inside poll() gives crash
poll() function is now a static method in python, this is more correct, matching C where the operator is not created to run poll.


    def poll(self, context): ...

is now...

    @staticmethod
    def poll(context): ...

Pythons way of doing static methods is a bit odd but cant be helped :|

This does make subclassing poll functions with COMPAT_ENGINES break, so had to modify quite a few scripts for this.
2010-08-05 16:05:30 +00:00
Brecht Van Lommel
25f1741517 Fix sculpt 3d view menu showing in two columns. 2010-08-04 15:59:15 +00:00
Brecht Van Lommel
8b8c280755 Fix #23157: missing sculpt symmetry and appearance panels after python
registration changes.
2010-08-04 15:56:18 +00:00
Brecht Van Lommel
0aef61caef Fix hang on opening addons tab, having a .py file without bl_addon_info
would go into eternal loop.
2010-08-04 15:52:59 +00:00
Campbell Barton
4906290f0d rewrote wm.context_set_id() to automatuically match the pointer type with the bpy.data.* iterator by inspecting rna. 2010-08-04 13:59:25 +00:00
Campbell Barton
1f77f7b05a Brush/Paint internal changes
- remove brush array for each Paint struct, just use a single brush pointer.
- removed rna function based template filtering.
- filter brushes using a flag on the brush and the pointer poll function.
- set the brushes using a new operator WM_OT_context_set_id().

TODO
- remake startup.blend, currently brush groupings are lost.
- rewrite WM_OT_context_set_id() to use rna introspection.
2010-08-04 12:18:07 +00:00
Brecht Van Lommel
7a5d6a5eb1 2.5: Hide options panel for halo materials, none of the settings here
should have an effect on halo's currently, and they share some of the
same flag bits as other halo options, which makes it even more confusing.
2010-08-04 08:49:56 +00:00
Campbell Barton
33a6ba99ca exit image externally wasnt checking if the image existed first. 2010-08-03 23:02:18 +00:00
Campbell Barton
596952a5e0 bugfix [#23174] Text Editor: View Top of File and View Bottom of File not working [Patch to fix attached]
also moved these into the View menu (removed Edit->View)
2010-08-03 22:41:01 +00:00
Thomas Dinges
63802982de Export OBJ script:
*Removing some ancient lines.
2010-08-03 17:20:18 +00:00
Campbell Barton
6d0769bc42 forgot to update addons with recent update to bpy.types 2010-08-03 06:36:07 +00:00
Campbell Barton
233df907d0 py/rna update, reload works again.
- fix for reload (f8) crashing, missing incref when creating the script namespace.
- store the module names rather then the modules for reloading incase the modules get out of date.
2010-08-03 03:53:36 +00:00
Campbell Barton
c475f38239 bugfix for python console getting its namespace cleared after the first command was executed. 2010-08-03 02:10:28 +00:00
Martin Poirier
15e4753396 [#23156] Cannot Edit Custom Properties
Missing import after moving operators around.
2010-08-02 22:52:55 +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
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
2e7c8bbeec fix for py console autocomp. need to swap out __main__ module there too. 2010-08-01 22:54:39 +00:00
Guillermo S. Romero
20e6b5280d SVN maintenance. 2010-08-01 21:29:50 +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
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
Brecht Van Lommel
5251a9b3bf 2.5: remove vertex normal flip option, this is more harmful than helpful
in many cases, and also gave incorrect rim lighting.
2010-07-30 11:50:00 +00:00
Matt Ebb
eec1318996 Preview commit in sculpt brushes broke resetting curves in other areas (rgb curves etc).
Fixed by adding a 'slope' parameter to curvemap_reset() to mirror curve presets around Y axis.

Also removed curve preset with 'random' icon, wasn't doing what it looked like it should, 
this was intended only for hue correct node anyway.
2010-07-30 00:06:59 +00:00
Campbell Barton
88cbcb0206 bugfix [#23062] Resolve conflict button in text editor dissappers in Blener 2.5 beta release
also uncommented console some code for testing by mistake & remove warning.
2010-07-29 00:44:53 +00:00
Campbell Barton
fe77e6d919 minor changes to r30843
- the __main__ modules namespace was initialized cleanly but left dirty, now restore when finished executing a script incase a module uses this later.
- made the interactive console use the __main__ modules namespace.
2010-07-28 23:24:17 +00:00
Campbell Barton
70bca0405d sequencer ui
- opacity seq button was messed up.
- only show opengl preview option in preview window.
2010-07-28 07:52:05 +00:00
Campbell Barton
fa9550bba0 fix for un-initialized memory use with thumb's & minor internal improvement for bpy.utils.clean_name() 2010-07-28 07:37:24 +00:00
Jason Wilkins
3c0ed589c1 * moved Threaded Sculpt, Fast Navigate, and Show Brush back to Sculpt Options panel until they are properly moved in memory to the corresponding places they were in the UI.
Fast Navigate apparently needs to be made an option of the multires modifier

Threaded Sculpt and Show Brush need to be made UserPrefs

Some of these options were removed form UserPref panel without placing them anywhere else in the interface so this commit at least puts them somewhere so they can be used.
2010-07-28 07:19:54 +00:00
Nicholas Bishop
88dcfbaee9 == Sculpt ==
Added a brush reset operator so that a user won't need to reload the default blend to get back default brush settings

* New brush.reset operator, resets a brush based on the currently-selected tool
* Added UI button in the tools panel

TODO:
* Only resets sculpt brushes right now, other paint modes should be added
* Sculpt polish tool exists only as a Brush, not as a tool; I'd suggest we make it a tool so it can be reset to defaults too
2010-07-27 16:09:02 +00:00
Daniel Genrich
614192cce3 Fluid: Fix empty named fluid particle system; Smoke: Fix typo 2010-07-27 15:04:50 +00:00
Daniel Genrich
967d25ac1c Smoke Patch + additions: a) Applying patch #22765 by Miika Hämäläinen (domain border collision settings, vorticity settings, time scale, non absolute density, smooth high res emitter, initial velocity multiplier, high res strength available to be set to 0), b) Additions by me: --Initial velocity is now per flow object, not per domain; --Using boundingbox as standard display mode for domains (was wire before); --When adding a flow object, an initial nice SmokeParticle system is added too with nice initial settings (life=1, no_render, unborn, etc) fitting smoke simulation; --Adaptive timesteps introduced to the smoke sim (depending on the magnitude of the velocity) because it was quite unstable when used for fire simulations, still needs to be tested and will also slow down some simulations. 2010-07-27 14:53:20 +00:00
Campbell Barton
98cb08d94f bugfix [#23046] export obj "selection only" issue 2010-07-27 10:00:34 +00:00
Joshua Leung
a3166d2997 Dammit to whoever removed the X-Ray button AGAIN from the armature buttons. I remember specifically restoring this a few months ago, but it seems to have gone missing again.
Despite the overlap with Object draw settings, this is a one-off setting that you'll end up turning on/off quickly while working with armatures and is also more conveniently set while chosing armature drawtypes (than jumping back to object buttons).

Grr...!
2010-07-27 05:53:29 +00:00
Campbell Barton
12a695ae47 bugfix [#21407] 3DS Import do not show import options (resizing\transform fix) 2010-07-27 02:41:30 +00:00
Campbell Barton
dcb644af0d bugfix [#22605] Context auto-compleate fails first time 2010-07-27 00:38:00 +00:00
Campbell Barton
432ec37965 Jason, from your merge 30325.
move toolsettings out of the userprefs into the sculpt menu, if these should be userprefs then they should be moved into that struct.
2010-07-26 23:49:23 +00:00
Luca Bonavita
b30e2a57fc == node editor ==
- added backdrop commands in the view menu
  I couldnt finf them in the menus and also liquidape asked for them

- added cut links command in menu, since also this one wasnt thast obvious (now it's ctrl-drag)

- micro patch reviewed by jesterKing
2010-07-26 21:37:55 +00:00
Campbell Barton
10b124ae39 [#23035] Obj export crash
check for an active object before switching modes.
2010-07-26 18:32:22 +00:00
Campbell Barton
15e94823dd in debug mode report the time to load addon modules. 2010-07-26 09:09:53 +00:00
Jason Wilkins
9941b7d52d * was suggested I combine all the direction modes into a single enumeration by using RNA_def_property_enum_funcs 2010-07-26 05:25:09 +00:00
Nicholas Bishop
ec19c7dffc == Sculpt ==
Fixed brush icons loading slowly

* Changed brush icon property from an enum to a flag that toggles whether a custom file is used for the brush icon
* Changed get_brush_icon to only handle loading external icons, built-ins are handled through the regular icon system
* Modified preview icon drawing to allow built-in icons
* When not using a custom icon, a default icon is selected based on the current tool

TODO:
* Allowing preview to show built-in icons makes the brush texture selector look ugly when nothing is selected. As discussed on IRC though, the nothing-selected state needs to be clarified anyway; I'll address this in another commit
* Use image browser when selecting a custom icon
* Selecting the default icon is ugly (uses the active object's mode), this can be fixed by making brushes know which paint mode they are part of
2010-07-26 04:00:09 +00:00
Janne Karhu
6ec87e6095 Fix for [#22128] particle sizes and physics
* size wasn't updated at all for particles with keyed or no physics
2010-07-25 14:40:18 +00:00
Luca Bonavita
0eca3db6c5 - typo: from "lenght" to "length" in rna
fixes [#22997] typo in autocomplete/python api name in bpy.context.active_object.data.draw_edge_lenght not length
  https://projects.blender.org/tracker/index.php?func=detail&aid=22997&group_id=9&atid=498
  no addons are affected by this change

- also found a typo in particles toolbar
2010-07-24 16:35:58 +00:00
Campbell Barton
ba76552213 bugfix [#19223] FBX export doesn't do cameras correctly 2010-07-23 20:57:52 +00:00
Campbell Barton
4e62175989 bugfix [#22974] OBJ import arrives without texture 2010-07-23 17:51:39 +00:00
Peter Schlaile
b3dca80c5b Sequencer UI bugfix: translate / crop also work on effect output, UI was
missing
2010-07-23 17:09:33 +00:00
Brecht Van Lommel
444d06af32 2.5: change a user preferences settings from .enabled to .active, it's nicer
if the button is grayed out but still editable.
2010-07-23 09:33:58 +00:00
Campbell Barton
9a0e0027f8 fix for error in select hierarchy if no children exist. 2010-07-23 05:49:12 +00:00
Campbell Barton
026ac24922 [#22488] Reloading scripts causes crash
F8 key enabled again, useful for script UI development.

- keying set freeing wasnt freeing from all scenes and the builtin list.
- PointerProperty() cant refer to a removed python srna type (fixed in rigify and netrender).
- Added a check for freeing a type used by a PointerProperty but its very slow, makes reloading take ~10sec. Only enabled this in debug mode for now.

Netrender register() function isnt re-registering the property, probably because the module is cached by python and not re-run.
2010-07-23 01:43:30 +00:00
Jason Wilkins
3b5b761a56 == Sculpt/Paint Fixes ==
* Fix: unify strength and size did work consistently with other paint modes
* Fix: If [ and ] keys were used to resize a brush it was not possible to increase the size of the brush if it went under 10 pixels
* Fix: Made interpretation of brush size consistent across all modes, Texture/Image paint interpreted brush size as the diameter while all the other modes interpret it as radius
* Fix: The default spacing for vertex paint brushes was 3%, should be 10%
* Fix: due to fixes to unified strength, re-enabled 'Unify Size' by default
* Fix: Unified size and strength were stored in UserPrefs, moved this to ToolSettings
* Fix: The setting of pressure sensitivity was not unified when strength or size were unified.  Now the appropriate pressure sensitivity setting is also unified across all brushes when corresponding unification option is selected
* Fix: When using [ and ] to resize the brush it didn't immediately redraw
* Fix: fkey resizing/"re-strength-ing" was not working consistently accross all paint modes due to only sculpt mode having full support for unified size and strength, now it works properly.
* Fix: other paint modes did expose the ability to have a  custom brush colors, so I added the small bit of code to allow it.  Note: I made all of the other paint mode brushes white.  Note2: Actually, probably want to make the paint modes use the selected color for painting instead of a constant brush color.
* I had removed OPTYPE_REGISTER from some Sculpt/Paint operators but in this commit I add them back.  I'm not completely sure what this option does so I don't want to disturb it for now.
2010-07-22 18:56:46 +00:00
Tom Musgrove
aa2f0b1e42 yet another inconsistency fix curve in uv editmode was using the drop down menu for picking curves instead of the icons 2010-07-22 11:21:21 +00:00
Tom Musgrove
ea5fdcbd67 finished making uv paint panel consistent with the 3d view painting panel, asked Matt and he said the inconsistency was unintentional 2010-07-22 05:59:50 +00:00
Brecht Van Lommel
9d0a67fdc4 Fix #22921: Default human meta-rig will not export to FBX. Still missed
a check in my previous fix for this.
2010-07-21 14:08:55 +00:00
Jason Wilkins
e3ad451ae1 * closed small gap at top of appearance panel 2010-07-21 11:58:23 +00:00
Tom Musgrove
6b2c4dfe73 making this consistent with texture brush selector in the 3d viewport 2010-07-21 08:23:57 +00:00
Jason Wilkins
886ce5a351 * can use file for brush icon
* fixed memory leaks
* moved some of the brush icon code around
* the update of the icon after a change is more responsive
2010-07-20 13:42:27 +00:00
Joshua Leung
beb98c9e0c Bugfix #22872: invert zoom direction doesn't work
The setting for this (IMO it should really be on by default, for reasons I've outlined recently) was not exposed at all. 

The setting that was shown was a new(?) option in 2.5 which dealt with Ctrl-MMB drag zoom.
2010-07-20 12:37:42 +00:00
Luca Bonavita
faeec3b147 == 3D: background image ==
Doesn't visualize size and x, y position of the background Image in camera view
(reviewed by brecht before committing)
2010-07-20 12:20:55 +00:00
Jason Wilkins
b618a335f5 * Made the default sculpt icons an internal part of the executable
* Default icons can be selected from a menu
* Option to make a custom icon from a file is present but the UI is disabled because of a mysterious crash
* New startup.blend that has the appropriate icons selected
2010-07-20 11:32:30 +00:00
Brecht Van Lommel
d8792465e0 Fix for python error in material panel. 2010-07-20 11:18:29 +00:00
Brecht Van Lommel
fe4c55008e Fix #22921: error FBX exporting armature without animation data. 2010-07-20 11:00:29 +00:00
Campbell Barton
75410037fd - correct some spelling errors.
- remove FreeCamera struct (wasnt used)
- remove world color alpha values (not used anywhre).
2010-07-20 10:41:08 +00:00
Jason Wilkins
80e6323646 * Images for brush icons are now reloaded when they are needed from an external file
* First, try to load the file from the given filename.  This is either absolute or relative to the current .blend
* If file is found using the given filename directly then look for the file in the datafiles/brushicons directory (local, user, or system).

* Note: This commit does not update the .blend to reference the default icons
* Note: This commit does not make sure that the build system copies the default icons to the 2.52/datafiles/brushicons directory
2010-07-20 02:18:10 +00:00
Xavier Thomas
e24d90acad Add a "Save Copy" entry in the File menu. 2010-07-19 17:45:03 +00:00
Peter Schlaile
aa0e4277a2 == Sequencer ==
In multicam editing, do not cut to non existent cams (above multicam 
track)
2010-07-19 17:39:25 +00:00
Peter Schlaile
40ee7ef155 == Sequencer ==
Made mpeg_preseek accessible again.
2010-07-19 17:38:20 +00:00
Jason Wilkins
7b1aeea029 * spelling error, "substract" 2010-07-19 07:26:41 +00:00
Campbell Barton
62ffc2ab14 update from venomgfx, have the node toggle rather then an icon. 2010-07-18 15:13:19 +00:00
Campbell Barton
beb4bec453 patch for displaying a node icon in the material panel if the material has nodes (from venomgfx) 2010-07-18 14:58:32 +00:00
Brecht Van Lommel
0a34050e90 2.5: hide indirect light panel for raytrace, it does nothing. 2010-07-18 10:58:41 +00:00
Martin Poirier
84b291462f netrender
- Temporary fix for linked libs repathing (didn't work correctly when using relative links).

- autorefresh only for main page (on job page, it's really annoying because it keeps reseting results preview, so until that's fixed, off it is).
2010-07-17 18:40:00 +00:00
Campbell Barton
fd31436897 spelling correction: alredy --> already 2010-07-17 18:08:14 +00:00
Campbell Barton
ebc971f532 bugfix [#22890] Setting the Maya keymap gives python errors 2010-07-17 14:34:52 +00:00
Campbell Barton
22c6b7d174 PNG Compression can now be set, writing uncompressed PNG's is significantly faster for high resolution images - 2k. 2010-07-17 13:29:55 +00:00
Martin Poirier
ccbd4f3a0f path -> filepath
Someone must have missed that when updating the operator properties.
2010-07-15 22:37:07 +00:00
Andrea Weikert
05fb497f75 == installation paths ==
remove deprecated python BLI_gethome_folder calls

Patch by Brecht, thanks a lot
2010-07-15 20:02:53 +00:00
Campbell Barton
02da5ecfed Apply first pass of edits to rna values from rna_booleans.txt.
These are not animated and are best not change names like this too late in the release.

ActionGroup.selected -> select:    boolean    Action Group is selected
BezierSplinePoint.hidden -> hide:    boolean    Visibility status
BezierSplinePoint.selected_control_point -> select_control_point:    boolean    Control point selection status
BezierSplinePoint.selected_handle1 -> select_left_handle:    boolean    Handle 1 selection status
BezierSplinePoint.selected_handle2 -> select_right_handle:    boolean    Handle 2 selection status
Bone.restrict_select -> hide_select:    boolean    Bone is able to be selected
Bone.selected -> select:    boolean
CurveMapPoint.selected -> select:    boolean    Selection state of the curve point
EditBone.restrict_select -> hide_select:    boolean    Bone is able to be selected
EditBone.selected -> select:    boolean
EditBone.selected_head -> select_head:    boolean
EditBone.selected_tail -> select_tail:    boolean
EditBone.locked -> lock:    boolean    Bone is not able to be transformed when in Edit Mode
EditBone.hidden -> hide:    boolean    Bone is not visible when in Edit Mode
NEGATE * FCurve.disabled -> enabled:    boolean    F-Curve could not be evaluated in past, so should be skipped when evaluating
FCurve.locked -> lock:    boolean    F-Curve's settings cannot be edited
FCurve.muted -> mute:    boolean    F-Curve is not evaluated
FCurve.selected -> select:    boolean    F-Curve is selected for editing
NEGATE * FCurve.visible -> hide:    boolean    F-Curve and its keyframes are shown in the Graph Editor graphs
FCurveSample.selected -> select:    boolean    Selection status
GPencilFrame.selected -> select:    boolean    Frame is selected for editing in the DopeSheet
GPencilLayer.locked -> lock:    boolean    Protect layer from further editing and/or frame changes
GPencilLayer.selected -> select:    boolean    Layer is selected for editing in the DopeSheet
Keyframe.selected -> select:    boolean    Control point selection status
Keyframe.selected_handle1 -> select_left_handle:    boolean    Handle 1 selection status
Keyframe.selected_handle2 -> select_right_handle:    boolean    Handle 2 selection status
MeshEdge.selected -> select:    boolean
MeshEdge.hidden -> hide:    boolean
MeshFace.hidden -> hide:    boolean
MeshFace.selected -> select:    boolean
MeshVertex.hidden -> hide:    boolean
MeshVertex.selected -> select:    boolean
MotionPathVert.selected -> select:    boolean    Path point is selected for editing
NlaStrip.selected -> select:    boolean    NLA Strip is selected
NlaTrack.locked -> lock:    boolean    NLA Track is locked
NlaTrack.muted -> mute:    boolean    NLA Track is not evaluated
NlaTrack.selected -> select:    boolean    NLA Track is selected
Object.restrict_render -> hide_render:    boolean    Restrict renderability
Object.restrict_select -> hide_select:    boolean    Restrict selection in the viewport
Object.restrict_view -> hide:    boolean    Restrict visibility in the viewport
Object.selected -> select:    boolean    Object selection state
ObjectBase.selected -> select:    boolean    Object base selection state
PoseBone.selected -> select:    boolean
Sequence.right_handle_selected -> select_right_handle:    boolean
Sequence.selected -> select:    boolean
SplinePoint.selected -> select_control_point:    boolean    Selection status
TimelineMarker.selected -> select:    boolean    Marker selection state
Sequence.left_handle_selected -> select_left_handle:    boolean
ActionGroup.locked -> lock:    boolean    Action Group is locked
Bone.hidden -> hide:    boolean    Bone is not visible when it is not in Edit Mode (i.e. in Object or Pose Modes)
SplinePoint.hidden -> hide:    boolean    Visibility status
FModifier.muted -> mute:    boolean    F-Curve Modifier will not be evaluated

 note: rebaned uv_select to select_uv
2010-07-15 16:56:04 +00:00
Campbell Barton
5daf9354d2 change some references to .B.blend, .Blog to new names 2010-07-15 11:51:43 +00:00
Campbell Barton
7f083c45be use dict comprehension where possible 2010-07-15 00:52:26 +00:00
Campbell Barton
8e3a9634a3 Change to text3d: When back or front is enabled, the bevel rim on the other side is not created anymore, just as the back/front filling faces are not created when disabled.
when both are off the behavior is unchanged.

This is needed when rendering alpha text so its possible to have a single layer of faces but use the bevel option to make text thicker.
adding a rim on the back when back is disabled also doesnt make much sense IMHO.

minor python edits too.
2010-07-14 17:47:58 +00:00
Campbell Barton
46f89336d6 fix for autocomp., was raising an error when autocompleating functions defined in the console because their file wasnt found (which is correct in this case). 2010-07-14 14:56:33 +00:00
Jason Wilkins
5505697ac5 Merge GSOC Sculpt Branch: 28499-30319
https://svn.blender.org/svnroot/bf-blender/branches/soc-2010-jwilkins
See log of that branch for details.
2010-07-14 14:11:03 +00:00
Campbell Barton
80355fd456 bugfix [#22843] Cannot export to folder with ".blend" on the end. 2010-07-14 11:58:19 +00:00
Campbell Barton
a305a72939 select parent/child now works for multiple selections ([/] keys) 2010-07-14 09:40:26 +00:00
Campbell Barton
6b6cdbe322 pointcache support for relative external paths with the useual // prefix as well as library path option. 2010-07-14 07:47:03 +00:00
Joshua Leung
7a2394c718 Patch #22807: Add select/deselect buttons to armature bone group panel
Patch submitted by Torsten Rupp (rupp)
2010-07-14 03:19:19 +00:00
Campbell Barton
3580d6229a - text3d was missing menu items for toggling bold/underline/italic/smallcaps.
- made smallcaps use a temp flag so caps can still have the smallcaps flag.
- utility function for getting the char from a font. find_vfont_char(), was inline in ~5 places.
- removed CU_STYLE mix of flags only used in one place, not needed. removed 'style' from rna too.
- fix for some warnings.
2010-07-13 23:51:21 +00:00
Campbell Barton
03e638d128 - make duplis real wasnt redrawing
- small caps option for titles (doing manually is quite painful to watch).
2010-07-13 22:21:59 +00:00
Campbell Barton
7f8f32db40 dont show active spline for text 2010-07-13 19:24:35 +00:00
Campbell Barton
291c99c5d9 - saturation option for sequencer strips, runs before multiply and color balance.
- multiply of 0.0 wasnt being applied.
2010-07-13 09:28:01 +00:00
Campbell Barton
ef76dfd591 sequencer ui tweaks & display frame position of the playhead in a strip, helpful for working out the exact frame of an avi <> exr 2010-07-13 08:20:34 +00:00
Campbell Barton
3b81c67353 - presets were not being written with 'import bpy' at the start.
- attribute save_keyconfig defaulted to True when unset, not sure why, but .
- use repr() rather then str() so strings are quoted without manually checking. also converts less common chars properly \m \" etc.
2010-07-12 18:15:48 +00:00
Brecht Van Lommel
41a6602547 2.5: remove user preferences to always snap for translate/rotate/scale,
with new behavior of the snap setting in the 3d view these are no longer
necessary.
2010-07-12 11:17:42 +00:00
Brecht Van Lommel
fa39db2441 2.5: remove armature "B-Bone Rest" option, this was only added to keep
broken behavior for backwards compatibility, it's been there long enough
now to be removed.
2010-07-12 11:04:51 +00:00
Brecht Van Lommel
50671905d6 2.5: rename "Operator Cheat Sheet (new textblock)" to "Operator Cheat Sheet",
this is already reported after running the operator.
2010-07-12 11:02:01 +00:00
Brecht Van Lommel
0815fd4762 2.5: remove pin floating panels settings, there are no floating panels
at the moment so it shouldn't be there.
2010-07-12 10:55:05 +00:00
Mitchell Stokes
4497bd3b90 Adding COMPAT_ENGINE stuff to the particle panels so that they no longer show up when using the "Blender Game" render engine.
Also, "Maximize Gain" on the sound actuator was incorrectly labeled "Minimize Gain", so I fixed it.
2010-07-11 08:48:21 +00:00
Campbell Barton
047cc31013 patch by manaphuun on IRC. 2010-07-10 15:44:27 +00:00
Thomas Dinges
49c6aab6dc Fix for [#22793] Flip normals Missingf form face specials.... 2010-07-10 11:38:40 +00:00
Luca Bonavita
4059df91a4 == user preferences ==
- tooltips were showing numbers in the addons categories list
2010-07-09 09:46:22 +00:00
Campbell Barton
aff6b6885f added imports to templates 2010-07-08 16:24:24 +00:00
Campbell Barton
90e1119619 import bpy needed for presets now 2010-07-08 16:10:14 +00:00
Campbell Barton
b511fbea6d Sequencer display overlay option, this can show a border area from another time to help compare for color grading.
- Okey sets the border in the display.
- Okey resets the frame offset in the sequencer timeline.
- ghost icon in the header can enable/disable.
- frame offset can be relative or absolute (lock icon)

Not very happy that this commit adds a call to BKE_animsys_evaluate_animdata(scene, ...) in do_build_seq_array_recursively()
without this the offset frames dont have fcurves applied.
Though we will need something like this for prefetch frames to work too.
2010-07-08 10:03:29 +00:00
Diego Borghetti
cfc35a4d30 Bring back "Sort Faces" command.
This was the old Ctrl + FKEY in object mode, now it's in
edit mode and is part of the Ctrl + FKEY menu (Faces).

I also assing this to the Ctrl + Alt + FKEY, but Matt please
check this and feel free to change (or tell me and I will change).

Still there is no "reverse" function, but I commit now to finish
in my home.
2010-07-06 19:26:38 +00:00
Campbell Barton
d9f86e3c73 pedantic pep8 warnings, mostly white space. 2010-07-05 22:22:22 +00:00
Campbell Barton
deb7402299 option for color wheel widget to make it easier to select values closer to white, enable for color balance. 2010-07-05 15:52:25 +00:00
Campbell Barton
c9f667a92e texture saturation option.
we'll need a do-version bump soon or this will convert 0.0 saturation to 1.0 on load.
2010-07-05 10:18:59 +00:00
Campbell Barton
83a2a4e5b8 Improvements to Blenders color balance (lift/gamma/gain).
Fairly closely match some mac application colin has called 'Looks', to give better results.
- lift is now applied non linear (was being added to the color)
- change the color wheel to preserve the luminance of the gamma and gain values, this stops the color from being set too dark (option for the color wheel template).
- sub-pixel precission for the color wheel since the white area at the center can make a lot of difference with a very small change.

This change will make existing node and sequencer setups lift render slighly differently however discussed this with Ton and he's ok with it.
2010-07-04 20:59:10 +00:00
Andrea Weikert
ca81aa704e Patch [#22339] File/installation paths changes
Patch Tracker: http://projects.blender.org/tracker/?func=detail&aid=22339&group_id=9&atid=127

This patch implements the proposal outlined here:
http://wiki.blender.org/index.php/Dev:2.5/Source/Installation/Proposal

Original patch by Matt Ebb.
Contributions by Nathan Letwory, Damien Plisson and Andrea Weikert

NOTE:
This is a work in progress commit, some work still needs to be done on the SCons and CMake files for this to work properly, but at least should compile and the files should be created in the right directory.

Commit discussed on IRC with Ton and Campbell.
2010-07-04 15:35:23 +00:00
Campbell Barton
8e97e561a9 convenience functionality for browse button (requested by Colin for the sequence editor, useful for managing files for the final edit)
- Holding Alt while clocking on the browse button opens a file browser with the containing dir.
- Holding Shift opens the file its self in the default application.

obscure but at least theres a tooltip so its not totally hidden.
2010-07-04 10:02:30 +00:00
Thomas Dinges
ce94f52dbc Fix for [#22714] Constraints stack : move up and move down buttons problem
* Constraint template now uses 2 rows as well, when the area width is small. 
* UI Code could use some code/layout cleanup still, will look into that soon.
2010-07-04 09:42:00 +00:00
Campbell Barton
c7869f9f85 - draw sequence strips within metastrips using their real start/end and channel positions.
- dont show color balance unless its enabled.
2010-07-04 01:56:04 +00:00
Campbell Barton
281902d6ee sequencer re-assign inputs back 2010-07-03 22:25:22 +00:00
Campbell Barton
9a85435e96 rna api:
rename object.matrix --> matrix_world
added object.matrix_local (parent relative matrix)
2010-07-03 17:39:29 +00:00
Campbell Barton
742c4eb1d1 enable external pointcache for smoke in the UI. 2010-07-01 13:25:49 +00:00
Matt Ebb
f6dabd51c9 Fix for [#22667] Soft Body Aero on/off switch
Under guidance from Jens, converted the 'aero' property into a two-way switch, 
which is what it actually represents.
2010-06-30 02:34:34 +00:00
Jens Ole Wund
f7f44696ba ui glitch fix [#22667] 2010-06-29 22:30:55 +00:00
Daniel Salazar
7b09e47dc4 Added name to object color in object properties. Kinda misleading
without it
2010-06-29 05:02:51 +00:00
Campbell Barton
5cc2e136ec nicer alignment for preset UI 2010-06-27 21:35:31 +00:00
Campbell Barton
003d69f9d4 use expanded enum for addons to give faster access (matches theme layout) 2010-06-27 19:04:44 +00:00
Campbell Barton
bb07503d89 remove filename and directory from python operators that dont need them 2010-06-26 22:32:47 +00:00
Campbell Barton
0d84ac375e more generic sorting of theme items by type (was adding all non color items last) 2010-06-26 22:23:54 +00:00
William Reynish
4eba521903 Set button emboss to false a few more places where it makes sense, such as disclosure triangles and panel closing X icons. 2010-06-26 21:40:11 +00:00
Campbell Barton
f6eed88a78 - changed recent commit from William to have enum in user preferences as an expanded enum (like it was before)
- rename 'no_bg' argument to 'emboss' (and negated)
- added 'emboss' option for operator buttons.
- Addon UI Layout slight modifications, changed enable/disable buttons for checkbox, grey out text of disabled addons to make it obvious at a glance whats enabled.
- column expanded enums now align text to the left.
- renamed ui_item_enum_row to ui_item_enum_expand since its used for columns and rows.
2010-06-26 20:00:45 +00:00
Daniel Salazar
942ebd6558 Patch by Oenvoyage: Lamp specials menu was context insensitive,
displaying lamp properties regardless of type hence causing errors. Now
active object controls what properties to display. Still it's possible to
manage multiple mixed lamps types at once. Also added useful items for
cameras and empties
2010-06-26 19:00:44 +00:00
Campbell Barton
5ce214a06f object color property in the object UI panel 2010-06-26 17:46:14 +00:00
Campbell Barton
1c362019cd minor changes to Williams commit to be a bit less verbose. 2010-06-26 17:24:01 +00:00
William Reynish
bd03f26c3a Updated Themes user preference pane.
Layout is now simpler, more easy to scan. This commit also simplifies the Python code and gets rid of hundreds of wasted lines of code, making it much easier to make layout changes.
2010-06-26 17:06:55 +00:00
Matt Ebb
ba16b24262 Added back full scene motion blur 'shutter' parameter (was 'Bf' in 2.49) 2010-06-23 03:20:57 +00:00
William Reynish
8a6ea2584d Small update to text boxes UI. It now works in single-column layout. 2010-06-22 21:31:26 +00:00