Campbell Barton [Fri, 25 Mar 2011 04:37:59 +0000 (04:37 +0000)]
SpaceImage.curves --> curve for consistency.
Campbell Barton [Fri, 25 Mar 2011 04:36:10 +0000 (04:36 +0000)]
new function RNA_warning(), replaces printf with function which may be called via python.
Now this gives the line number of the scripts thats running, eg:
uiItemFullO: unknown operator 'some.operator'
/c/bin/2.56/scripts/startup/bl_ui/space_view3d_toolbar.py:73
Joshua Leung [Fri, 25 Mar 2011 03:58:21 +0000 (03:58 +0000)]
Graph Editor: Euler Filter ported from Py to C
Ported joeedh's Euler Filter code from Python to C so that this is
more in line with the other Graph Editor tools - i.e. joeedh's version
only worked on the active bone's curves, while standard tools could
work with multiple bones/objects at the same time.
To use this new version of this operator:
1) Select all the F-Curves for all 3 of the components (XYZ) for the
euler rotations you wish to clean up. In the Graph Editor, they must
be one after the other (i.e. you can't have "RotX, RotY, something
else, RotZ")
2) Activate the operator from the Key menu in the Graph Editor
In an old test file I have floating around, this method did not appear
to be good enough to fix a very clear discontinuity in the middle of
the action, so I'll test some additional methods too
Campbell Barton [Fri, 25 Mar 2011 02:12:44 +0000 (02:12 +0000)]
fix [#26601] Python error when use of autocomplete
Was a naming collision with 'keys' python method, reserve keys/items/values/get for python.
Updated animsys_update.py for shapekey data paths.
renamed:
Particle.hair --> hair_keys
Particle.keys --> particle_keys
Key.keys --> key_blocks
EnumProperty.items --> enum_items
KeyMap.items --> keymap_items
noted:
http://wiki.blender.org/index.php/Dev:2.5/Py/API/Updates#Since_2.56a
Campbell Barton [Fri, 25 Mar 2011 01:55:00 +0000 (01:55 +0000)]
fix for incorrect prints with RNA errors (own fault, CONTAINER_RNA_ID was incorrect) & close keymap file after running.
Campbell Barton [Fri, 25 Mar 2011 00:34:28 +0000 (00:34 +0000)]
fix for blenderplayer using un-initialized mathutils types.
Campbell Barton [Fri, 25 Mar 2011 00:23:02 +0000 (00:23 +0000)]
BGE player was using un-initialized variables for initializing the canvas color.
Joshua Leung [Thu, 24 Mar 2011 23:34:43 +0000 (23:34 +0000)]
Bugfix:
[#25725] Transform bone constraint & 'local with parent' as owners
space
[#26014] ChildOf Bone Constrain (influence) works in wrong workspace
Moved the influence calculation stuff outside of the space conversions
(i.e. so that it is done in worldspace only) fixes these problems,
which seem to arise when a constraint doesn't work in worldspace AND
doesn't need to apply inverse correct for this space conversion when
it's done, hence resulting in mismatch between spaces for old and new
matrices resulting in all the weird behaviour.
Patch to fix this from Jahka. Cheers!
Dalai Felinto [Thu, 24 Mar 2011 21:07:54 +0000 (21:07 +0000)]
Logic Editor UI: sensor frequency active only when one of the triggers is on. Removing text "Action" from Action and Shape Action Actuators.
I still would love to see a change in the action actuators (Action, Shape and FCurve) even if only a rename or unifying them in a single actuator (I do have some patch for that). Anyways
Ton Roosendaal [Thu, 24 Mar 2011 18:39:54 +0000 (18:39 +0000)]
Bugfix 26578
"Warp" texture map option didnt work for new bump methods yet.
Also fixed to not grey out bump menu for this mapping option.
Janne Karhu [Thu, 24 Mar 2011 17:17:44 +0000 (17:17 +0000)]
UI clarification: "local coordinates" option for fluid inflow objects doesn't have any effect when "export animated mesh" is selected
* Grayed out the "local coordinates" option in this case to avoid confusion.
Janne Karhu [Thu, 24 Mar 2011 17:15:43 +0000 (17:15 +0000)]
Further fix for parented fluidsim objects
* The rotation values determined from ob->obmat have to be continuous as fluidsim interpolates between these values internally.
Ton Roosendaal [Thu, 24 Mar 2011 14:31:58 +0000 (14:31 +0000)]
Bugfix #26584
- Colormanagement code was gamma correcting non-RGBA buffers in composite.
(Like vector buffers).
- Crash on using "use Color Management" button during composites, because
it was freeing all node images. Added code to stop first jobs before
freeing. It sends notifier for recomposites after free anyway.
Janne Karhu [Thu, 24 Mar 2011 14:19:12 +0000 (14:19 +0000)]
Bug fix: Fluidsim didn't take parent objects into account when calculating the inflow velocity in local coordinates.
* The object rotation was based on ob->rot (which only includes object's own rotation) instead of ob->obmat, which includes parent rotations as well.
Campbell Barton [Thu, 24 Mar 2011 12:36:12 +0000 (12:36 +0000)]
fix for using uiItemIntO for an enum, added uiItemEnumO_value function.
Campbell Barton [Thu, 24 Mar 2011 12:17:24 +0000 (12:17 +0000)]
fix [#26598] zoom view and scaling odd vertices circle
Janne Karhu [Thu, 24 Mar 2011 12:12:54 +0000 (12:12 +0000)]
Particle charge effector wasn't working properly.
* Probably just forgot this code somewhere a long time ago.
Campbell Barton [Thu, 24 Mar 2011 11:38:20 +0000 (11:38 +0000)]
fix [#26545] Crash when changing values for properties after changing max-min
tried doing this smarter by validating the property exists in UI code before access but this ended up making it too complicated and also hard to account for possible access without checking every time.
for now just redraw all areas when a user property is changed.
Campbell Barton [Thu, 24 Mar 2011 10:54:42 +0000 (10:54 +0000)]
write project files into the build dir.
Campbell Barton [Thu, 24 Mar 2011 09:59:02 +0000 (09:59 +0000)]
fix for incorrect array use when freeing fcurve modifier envelope points, array also wasnt NULL'd on freeing which gave memory errors later on.
Joshua Leung [Thu, 24 Mar 2011 09:53:39 +0000 (09:53 +0000)]
ZanQdo Bugfix:
Envelope FModifier data points were getting saved in a non-portable
way. Apparently this broke when trying to read files with this data on
PPC machines if the files were saved using Intel machines.
Campbell Barton [Thu, 24 Mar 2011 09:27:41 +0000 (09:27 +0000)]
RNA & interface functions for checking if RNA in a button uses valid rna property (not currently used).
M.G. Kishalmi [Thu, 24 Mar 2011 08:33:42 +0000 (08:33 +0000)]
the script is now creating 2 project files:
Blender.creator
Blender_Python.creator
.glsl files have been added to the former
latter contains everything .py
Campbell Barton [Thu, 24 Mar 2011 03:28:18 +0000 (03:28 +0000)]
tag variable as unused.
Joshua Leung [Thu, 24 Mar 2011 03:23:30 +0000 (03:23 +0000)]
Pose Menu Tweak: Moved keyframe management items into sub-menu like in
Object menu
Joshua Leung [Thu, 24 Mar 2011 03:19:30 +0000 (03:19 +0000)]
Reshuffled utility function to keyframe drawing API, removing some
duplicate code
Joshua Leung [Thu, 24 Mar 2011 03:02:34 +0000 (03:02 +0000)]
Animation Tool: Propagate Pose
This tool automates the process of copying a pose to successive
keyframes, making it easier for animators to go back and change the
pose for some controls which remain "static" for periods of time.
Previously, animators would need to do a "{Ctrl-Pageup Ctrl-V} *
number_of_static_keyframes" dance for each set of controls that this
happened on, which is not too good ergonomically speaking.
There are two modes exposed via the menu (Pose->Propagate):
- "Pose Propagate" - also known as the 'WHILE_HELD' mode, which
propagates to all keyframes that are holding the same value
- "To Next Keyframe" - which only propagates the pose to the closest
keyframe in the occurring after (but not including) the current frame
Additionally, there are a few other modes that can be used, though
they are less useful for direct use from the UI, though they can be
used via the PyAPI as need be.
---
Also, I did some cleanups in the "Pose" menu to bring it more into
line with the Object mode one. There are some more tweaks that could
still be done here, such as bringing the keyframing operator entries
under a submenu too (as in the Object mode version) to get the length
of this under control.
Campbell Barton [Thu, 24 Mar 2011 00:14:49 +0000 (00:14 +0000)]
support for blender as a module on win32.
Brecht Van Lommel [Wed, 23 Mar 2011 23:07:09 +0000 (23:07 +0000)]
Fix #26571: slow approximate AO with zero area faces.
Andrea Weikert [Wed, 23 Mar 2011 18:51:31 +0000 (18:51 +0000)]
fix [#26591] File browser: select multiple files for Library append/link broken
* added check for valid files a bit too eagerly in Rev.35654. Solved now by
setting correct type for .blend file contents. Objects are now tagged as
regular files, while the list (Mesh, Material, ...) (no idcode given) is
tagged as directory.
Ton Roosendaal [Wed, 23 Mar 2011 16:36:41 +0000 (16:36 +0000)]
IRC bugreport:
Splitting/joining editors (areas) was possible in full-screen mode.
That's not possible, crashes on going back to previous.
Campbell Barton [Wed, 23 Mar 2011 16:05:35 +0000 (16:05 +0000)]
fix [#26456] weightpaint mode with armature modifier, armature mode
disable bone selection in weightpaint mode when the armature is not in pose mode.
Ton Roosendaal [Wed, 23 Mar 2011 15:15:42 +0000 (15:15 +0000)]
Additonal fix for r35724
(bugfix #26573, #26574 and #26551)
Layer visibility code for hotkeys uses different code still, added same
new DAG_on_visible_update() in this operator.
Campbell Barton [Wed, 23 Mar 2011 15:14:21 +0000 (15:14 +0000)]
missed committing this before
Campbell Barton [Wed, 23 Mar 2011 15:07:30 +0000 (15:07 +0000)]
fix for building collada on linux
Nathan Letwory [Wed, 23 Mar 2011 14:25:35 +0000 (14:25 +0000)]
COLLADA: supporting barebone class for <extra> support (incomplete).
Campbell Barton [Wed, 23 Mar 2011 14:24:13 +0000 (14:24 +0000)]
fix [#26588] In render view, Blender crashes when collapsing an opened split render pane if you have the histogram tab open in the pane your collapsing.
Brecht Van Lommel [Wed, 23 Mar 2011 14:06:44 +0000 (14:06 +0000)]
Fix #26573, #26574 and #26551: objects on layers not visible on load or undo
restore, would not get their dependencies updated when they became visible.
It happend with a shrinkwrap modifier in these reports, but could happen with
other modifiers too.
Now we keep track of which layers have ever been updated since load, and tag
objects on them to be recalculated when they become visible.
Campbell Barton [Wed, 23 Mar 2011 13:04:35 +0000 (13:04 +0000)]
tweaks not to load webbrowser or math modules on startup.
Campbell Barton [Wed, 23 Mar 2011 12:44:22 +0000 (12:44 +0000)]
allow unregistered rna classes to have rna properties assigned before registration.
this is useful for the register() class method which is called before the class gets structRNA assigned.
eg:
class MyClass(bpy.types.PropertyGroup):
@classmethod
def register(cls):
cls.name = StringProperty() # assigned but registration is delayed.
Janne Karhu [Wed, 23 Mar 2011 10:57:45 +0000 (10:57 +0000)]
Fix for 1. in [#26212] ParticleSystem.particles issues
* Exposed dynamic hair data in rna to allow exporting hair dynamics.
Brecht Van Lommel [Wed, 23 Mar 2011 10:33:06 +0000 (10:33 +0000)]
Fix wrong CINE_SCOPE_24FPS RNA enum identifier.
Joshua Leung [Wed, 23 Mar 2011 09:22:28 +0000 (09:22 +0000)]
Bugfix:
NLA Header was broken by recent Py UI-script changes
Nathan Letwory [Wed, 23 Mar 2011 09:18:09 +0000 (09:18 +0000)]
Adding header for offsetof()
Janne Karhu [Wed, 23 Mar 2011 08:52:53 +0000 (08:52 +0000)]
Fix for [#26580] Rekey deselects active verts
* Just a missing flag after rekeying.
Campbell Barton [Wed, 23 Mar 2011 01:50:14 +0000 (01:50 +0000)]
fix implicit declaration
Campbell Barton [Wed, 23 Mar 2011 01:08:10 +0000 (01:08 +0000)]
minor changes to master unpack script.
Nathan Letwory [Wed, 23 Mar 2011 00:19:38 +0000 (00:19 +0000)]
Fix [#26474] double_sided wrong in COLLADA Export
reported by Juan Linietsky
The export was not really wrong, but Maya expects their profile to be present inside <geometry>. Added this for mesh with ME_TWOSIDED flag set.
Ideally this will change in the future to be controllable through options to the exporter (like current Google Earth and 3DS Max extensions for <double_sided>).
Nathan Letwory [Wed, 23 Mar 2011 00:03:52 +0000 (00:03 +0000)]
Wrong extension tag: show_double_sided -> double_sided
Nathan Letwory [Tue, 22 Mar 2011 22:51:02 +0000 (22:51 +0000)]
Fix [#26475] <instance_material> wrong in COLLADA export.
reported by Juan Linietsky
fix by Imran Syed (freakabcd)
Use material index suffixed to material name to create symbolic name.
Nathan Letwory [Tue, 22 Mar 2011 22:00:26 +0000 (22:00 +0000)]
Small tweak to material export: only export as <lambert> when spec intensity is 0.0 and diffuse shader is set to Lambert. Other cases will be handled in due time, until then phong.
Dalai Felinto [Tue, 22 Mar 2011 19:39:53 +0000 (19:39 +0000)]
Logic rna: actuator --> renaming Motion Actuator to 'MOTION' and tooltip fix
internally it's still called Object Actuator, but for the user at least it's better motion.
Erwin Coumans [Tue, 22 Mar 2011 16:30:46 +0000 (16:30 +0000)]
remove constructors, they cause compile errors under Fedora
Nathan Letwory [Tue, 22 Mar 2011 15:28:56 +0000 (15:28 +0000)]
[#26476] <specular> and <shininess> missing from Colada
reported by Juan Linietsky
Export <specular> for <phong> and <blinn> shaders, <shininess> was already being written for these.
<lambert> shader doesn't have <shininess>.
Right now we write <phong> when blender spec is phong, <blinn> when blender spec is blinn. When spec is
any other shader, and diffuse shader set to lambert, we export as <lambert>. Any other combination defaults
right now to <phong>. This will change when Blender specific profiles have been created for the shader
combinations in Blender.
Brecht Van Lommel [Tue, 22 Mar 2011 15:25:18 +0000 (15:25 +0000)]
Buildbot master tweaks: use generic builder for scons win32, unpack fixes.
Ton Roosendaal [Tue, 22 Mar 2011 15:20:25 +0000 (15:20 +0000)]
Bugfix #26562
Keymap fix for UV/Image editor: the modal zoom/pan functions were checking
for hardcoded events to end. Now it uses the key from keymap.
Campbell Barton [Tue, 22 Mar 2011 14:37:45 +0000 (14:37 +0000)]
found text editor X/Y selections coords were booleans and corrections to operator calling script from last commit.
Campbell Barton [Tue, 22 Mar 2011 14:09:07 +0000 (14:09 +0000)]
Added CTest to run most operators in background mode under various conditions to see if any crash.
used this to find quite a many errors already.
Campbell Barton [Tue, 22 Mar 2011 14:04:47 +0000 (14:04 +0000)]
- weight paint poll would crash if no area was found.
- don't print a line for each operator run when in background mode.
- extrude was using an invalid type for RNA access.
Janne Karhu [Tue, 22 Mar 2011 13:30:50 +0000 (13:30 +0000)]
Bug fix: Fluidsim crashed after clicking "bake" multiple times
* Fluid baking didn't check if there was already an ongoing job before starting a new job.
Campbell Barton [Tue, 22 Mar 2011 13:30:20 +0000 (13:30 +0000)]
some more corrections to incorrect rna get/set types.
Brecht Van Lommel [Tue, 22 Mar 2011 13:05:05 +0000 (13:05 +0000)]
Buildbot updates: working windows scons build, and run slave_*.py scripts
to compile/test/package directly from svn, easier to make changes this way.
Campbell Barton [Tue, 22 Mar 2011 12:56:57 +0000 (12:56 +0000)]
add BLI_assert() type checks for RNA property get/set functions, since there ended up being quite a lot of these in blenders source.
These wont be compiled into release builds, and will only print errors by default (unless WITH_ASSERT_ABORT is enabled at compile time).
Nathan Letwory [Tue, 22 Mar 2011 12:54:13 +0000 (12:54 +0000)]
Version and platform name were in wrong order.
Campbell Barton [Tue, 22 Mar 2011 12:53:36 +0000 (12:53 +0000)]
properties were being used with wrong type functions, this resulted in bad memory access when getting int from an enum.
Janne Karhu [Tue, 22 Mar 2011 12:53:18 +0000 (12:53 +0000)]
Fixing the particle emitter interpolation (#25385 & #26493) further
* The interpolation should only be done if the dynamics were calculated, since otherwise animation keys can't be set after parenting.
Campbell Barton [Tue, 22 Mar 2011 11:44:46 +0000 (11:44 +0000)]
allow system info operator in background mode.
Campbell Barton [Tue, 22 Mar 2011 11:19:02 +0000 (11:19 +0000)]
add missing mem-free on vertex group sorting & dont crash when calling fullscreen in bg mode.
Nathan Letwory [Tue, 22 Mar 2011 10:26:53 +0000 (10:26 +0000)]
Add buildslave target for builder.blender.org integration
Campbell Barton [Tue, 22 Mar 2011 10:13:42 +0000 (10:13 +0000)]
crash fix for Normalize All VGroups on a lattice without vgroups (probably other tools too - bug was in ED_vgroup_give_parray).
Also fix for crashes running operators in bg mode by using setting poll functions: WM_OT_search_menu, MESH_OT_extrude_repeat, SCREEN_OT_new
Campbell Barton [Tue, 22 Mar 2011 09:14:27 +0000 (09:14 +0000)]
- support transform operators running in backgruond mode (was crashing)
- fix for crash getting the extrude mode enum value when a non-mesh edit object was active.
Nathan Letwory [Tue, 22 Mar 2011 08:58:49 +0000 (08:58 +0000)]
Printing error message would fail on exception.
Mitchell Stokes [Tue, 22 Mar 2011 08:35:56 +0000 (08:35 +0000)]
Blenderplayer: Fixing import issues. Using PyImport_ExtendInittab() for the Blender modules allows them to be imported in the Blenderplayer.
Campbell Barton [Tue, 22 Mar 2011 08:30:07 +0000 (08:30 +0000)]
fix for crashes moving armature layers and applying loc/scale/rot in armature editmode.
Campbell Barton [Tue, 22 Mar 2011 08:21:16 +0000 (08:21 +0000)]
poll functions were for keymap operators were still raising errors in some cases.
remove unused script dirs.
Campbell Barton [Tue, 22 Mar 2011 04:28:51 +0000 (04:28 +0000)]
fix [#25688] undocumted functions in pyapi
expose collection function docs.
Mitchell Stokes [Tue, 22 Mar 2011 02:39:08 +0000 (02:39 +0000)]
BGE Dynamic Loading:
* Adding keyword arguments to LibLoad
- load_actions (Default: False) Ensures that all actions are loaded. Otherwise, just actions used by objects in the scene are loaded.
- verbose (Default: False) Turns on extra prints (eg SceneName: MyScene).
* Also making error reporting better for when an invalid group/idcode is given.
Campbell Barton [Tue, 22 Mar 2011 02:38:39 +0000 (02:38 +0000)]
operators called from python were not getting their reports back into python errors.
eg:
- console calls operator
- operator calls report
- report went into header rather them back into the console as an error.
Martin Poirier [Tue, 22 Mar 2011 01:40:22 +0000 (01:40 +0000)]
Moving netrender to addons
Campbell Barton [Tue, 22 Mar 2011 01:38:26 +0000 (01:38 +0000)]
py/api registration:
move calls to the classes register/unregister function into register_class() / unregister_class() and add docs.
also other minor changes:
- remove face sorting keybinding, was Ctrl+Alt+F, this is quite and obscure feature and face order normally doesn't matter, so access from Face menu is enough.
- add commented out call to mesh.validate() in addon template since its useful to correct incomplete meshes during development.
Campbell Barton [Mon, 21 Mar 2011 23:53:19 +0000 (23:53 +0000)]
fix [#26385] operator edit_properties return error
Campbell Barton [Mon, 21 Mar 2011 23:30:56 +0000 (23:30 +0000)]
fix for grease pencil conversion to bezier curve reading past the end of the array.
Campbell Barton [Mon, 21 Mar 2011 22:37:08 +0000 (22:37 +0000)]
use spaces rather then tabs + minor pep8 edits.
Campbell Barton [Mon, 21 Mar 2011 22:17:01 +0000 (22:17 +0000)]
fix for error printing class register error, remove an unneeded check.
Campbell Barton [Mon, 21 Mar 2011 22:10:24 +0000 (22:10 +0000)]
quiet warning
Ton Roosendaal [Mon, 21 Mar 2011 17:10:55 +0000 (17:10 +0000)]
Bugfix #26549
Using environment map type "load" increased user counter on each
preview render.
Also noticed that this type of envmap use wasn't threadsafe, causing
imbufs being allocated for all threads. Also fixed that.
Brecht Van Lommel [Mon, 21 Mar 2011 16:46:26 +0000 (16:46 +0000)]
Buildbot initial configuration files, for builder.blender.org
Maintained in svn to make it easier for others to contribute changes,
actually updating builder.blender.org requires manual update on the
server.
Brecht Van Lommel [Mon, 21 Mar 2011 16:42:21 +0000 (16:42 +0000)]
CMake package_archive target to create a .zip/.tar.bz2 package on mac/unix,
to be used by buildbot.
Campbell Barton [Mon, 21 Mar 2011 12:40:06 +0000 (12:40 +0000)]
pedantic edit, no need to initialize var.
Campbell Barton [Mon, 21 Mar 2011 12:35:49 +0000 (12:35 +0000)]
move script directories for internal blender scripts.
ui/ --> startup/bl_ui
op/ --> startup/bl_operators
scripts/startup/ is now the only auto-loading script dir which gives some speedup for blender loading too.
~/.blender/2.56/scripts/startup works for auto-loading scripts too.
Janne Karhu [Mon, 21 Mar 2011 10:53:29 +0000 (10:53 +0000)]
Changed the particle physics "timetweak" value to a more descriptive "timestep" value, which is in seconds.
* Done purely in rna, internally particles still use the timetweak value.
Nathan Letwory [Mon, 21 Mar 2011 09:50:30 +0000 (09:50 +0000)]
COLLADA: small tweaks to directional light import.
Mitchell Stokes [Mon, 21 Mar 2011 09:37:20 +0000 (09:37 +0000)]
Fixing a typo: "Unknown erro reading file" -> "Unknown error reading file"
Mitchell Stokes [Mon, 21 Mar 2011 09:32:54 +0000 (09:32 +0000)]
BGE Dynamic Loading: Fixing a particularly nasty leak that occurred if LibLoad() errored.
Mitchell Stokes [Mon, 21 Mar 2011 09:29:28 +0000 (09:29 +0000)]
BGE Dynamic Loading: When given a relative path (starts with "//") for LibLoad(), make the path absolute. This helps resolve relative paths inside the library.
Janne Karhu [Mon, 21 Mar 2011 08:47:04 +0000 (08:47 +0000)]
Half way fix for [#25385] Particles Emitter only interpolates IPOs & [#26493] Particle system animates incorrectly when emitting mesh is parented
* Particle emission now updates all parent objects too to the exact emission time.
* This only does object level animation as updating the object data for every particle would be too slow.
* A better fix could be to interpolate the emission location directly from the current particle emission location and the location from the previous frame, but for this some point cache changes have to be made, so it will have to wait.
Campbell Barton [Mon, 21 Mar 2011 06:22:09 +0000 (06:22 +0000)]
patch from Martin, call classes register/unregister functions.
Modified to only do one lookup.
from Martin:
"Basically, what it does is allow you to add register and unregister class methods to rna types, this way you don't have to rely on module register/unregister methods to setup your types properly (and it makes them easier to move around when reorganizing code and easier to understand what a type does when reading code). This is especially nice for PropertyGroup classes that are added as properties to existing types, you can easily see in their register methods where they are added and removed in their unregister method. Obviously, those two methods are optional, so current code still works fine."
Campbell Barton [Mon, 21 Mar 2011 03:22:33 +0000 (03:22 +0000)]
fix for use of un-initialized pointers in file_sfile_to_operator(...) & remove unused vars.
Andrea Weikert [Sun, 20 Mar 2011 15:15:05 +0000 (15:15 +0000)]
== file browser == Code cleanup
* Remove direct access to file->selflag in file_ops.c
Brecht Van Lommel [Sun, 20 Mar 2011 15:03:13 +0000 (15:03 +0000)]
Fix #26557: dots near alpha borders on textures. Tweak threshold in alpha
de-premul for image textures to avoid float precision issues.