Campbell Barton
15d0d3f41e
replace log() calls with constants
2011-06-09 14:27:51 +00:00
Campbell Barton
d4ae38cc6c
fix for own mistake & fix some comments.
2011-06-09 13:46:34 +00:00
Campbell Barton
21f5a87999
fix for memory leak re-binding meshes.
2011-06-09 11:19:34 +00:00
Matt Ebb
75dcc2a7dd
Fix [ #27378 ] ASC-CDL Color Balance Node does not allow for full range of values
...
Report title is incorrect, it does allow for the full range, but actually allows too much, so clamping slope and power min at 0.
2011-06-09 11:09:46 +00:00
Campbell Barton
09e96f6b56
RNA properties - expose values as radians rather then degrees
...
- sequencer wipe angle
- mesh autosmooth
- bevel modifier angle
- edge split angle
2011-06-09 08:58:27 +00:00
Campbell Barton
152b06dc82
use a better method for finding the precision to use for float buttons, about 4x faster to calculate and will show for eg, 0.0108 rather than 0.01, but 0.0100001 still displays as 0.01.
2011-06-09 07:40:30 +00:00
Campbell Barton
252f7c9af8
fix [ #27616 ] Appending an object from a file brings all existing group links to scene
...
When appending from a blend file which had an object already linked, _but_ was not in any scenes.
- the linked object would be instanced.
2011-06-09 04:28:53 +00:00
Campbell Barton
912db4cdb5
[ #27615 ] Box select of mesh object disabled or translated due to curve object
...
ED_view3d_init_mats_rv3d was calling glMultMatrixf() which was mostly harmless but could also lead to confusing bugs (2 reported previously).
Looked into this and every call to ED_view3d_init_mats_rv3d except for object drawing, doesn't need this so made a second version of ED_view3d_init_mats_rv3d - ED_view3d_init_mats_rv3d_gl which does the matrix multiplication, remove confusing checks in selection code.
2011-06-09 03:56:32 +00:00
Campbell Barton
e7e1bc4ca1
add foreachIDLink function for cloth, remove cloth specific newlibadr calls in readfile.
2011-06-09 02:47:22 +00:00
Ton Roosendaal
43ec34f054
Bugfix #27601
...
Revision for previous fix; fast gaussian now survives on images
with a dimension smaller than 3 pixels!
Thanks Bastien Montagne for patch.
2011-06-08 16:08:57 +00:00
Campbell Barton
65ec26ab83
fix for own error r35918, generalizing looping over modifier ID links
...
broke loading smoke group references because they already had calls to
newlibadr_us() elsewhere, removing those assignments fixes loading.
2011-06-08 16:00:52 +00:00
Ton Roosendaal
17becc751d
Bugfix #27601
...
Scaling in compostior down to 1 pixel size crashed gaussian blur.
2011-06-08 15:17:38 +00:00
Nathan Letwory
05b54bec3b
Apply [ #27477 ] COLLADA export support for textures mapped to COLSPEC
...
Patch provided by Pelle Johnsen
2011-06-08 13:00:25 +00:00
Nathan Letwory
899f2776db
Shuffle some build code around to ensure debug builds on Windows actually run too.
...
* creator/SConscript is now empty, code is moved to an emitter function in Blender.py
* make sure COLLADA debug libs are used when BF_DEBUG=True
2011-06-08 11:53:07 +00:00
Joshua Leung
cec102e781
Bugfix [ #27586 ] P for setting playback range is clamped to > 0
...
Thanks for the patch Bastien Montagne. Was just legacy code from 2.4x
2011-06-08 10:57:24 +00:00
Dalai Felinto
40c171a69f
fix of fix :| [real fix for #36787 -- it was wrongly fixed on #36964 ]
...
I guess I tested the fix outside the camera view (which always worked). duhhh
Working now.
2011-06-08 09:01:41 +00:00
Campbell Barton
9dd066eb65
cmake: remove python include in the wm module, set opengl as a system include.
2011-06-08 05:39:58 +00:00
Campbell Barton
42ece56e91
don't write file history in backgound mode (running ctest would overwrite all my recent-files.txt), and add an error about mingw/quicktime being unsupported.
2011-06-08 01:53:12 +00:00
Campbell Barton
7fd1fe9fc8
draw sequences with invalid effect frame ranges pink to highlight they are invalid and wont render.
2011-06-07 18:34:33 +00:00
Campbell Barton
299602b360
fix for vertex group copy to selected
...
- was using un-initialized stack memory if the source / target object had no vertex group.
- if the target object had no vertex groups it would fails silently (not a bug but not very good functionality)
- added an error message if any copying fails.
2011-06-07 18:04:03 +00:00
Campbell Barton
d16c1f3665
fix for sequencer transform with effects strips where the effects could be moved to invalid times to avoid overlap but would immediately refresh back to overlapping locations after.
2011-06-07 16:47:25 +00:00
Campbell Barton
e44ae2c2a9
disable the readonly state while rna property callbacks run.
2011-06-07 16:08:49 +00:00
Ton Roosendaal
53939ee4e9
Fix: correct spacing for file select items, using font size + dpi.
2011-06-07 15:33:01 +00:00
Campbell Barton
9c8cc9fe60
rna option not to save certain properties for redoing later, currently only used by operator presets.
2011-06-07 10:54:57 +00:00
Campbell Barton
3cd3cc892f
fix for edge slide snapping values being incorrect (reported by Nether Hound).
...
Also dont call the value a 'Percent' and clamp the range displayed in the header.
snap range being
2011-06-07 09:35:20 +00:00
Campbell Barton
617a08162f
update ctest md5sums for import/export to match changes to the scripts, also some minor formatting change for bpy_props.c
2011-06-07 08:47:33 +00:00
Campbell Barton
8ae4476fc4
getting useful results out of the round compo node was tricky, use the second value to determine how much to round by (can be used like a posterize filter)
2011-06-07 08:16:42 +00:00
Campbell Barton
044ae5e3c8
error pointed out by Jeroen Bakker with the math nodes round function. was incorrectly using the output rather then the input.
2011-06-07 07:57:26 +00:00
Campbell Barton
82a0461361
fix for glitch in previous commit with 0.00002 displaying as 0.000020, this uses 2 calls to double_round which I'd rather avoid but at least it now works right for users.
2011-06-07 05:26:10 +00:00
Campbell Barton
06c3756db8
smarter precision calculation, so 0.000001 isn't displayed as 0.00.
...
there is a minor problem with this commit:
0.00001 --> 0.00001 # good
0.000015 --> 0.000015 # good
0.0000199 --> 0.00002 # ok
0.00002 --> 0.000020 # wrong, has trailing 0
Tried to fix this but the case is hard to check for without more calculations which Id like to avoid.
2011-06-07 04:06:10 +00:00
Campbell Barton
34b0c217f8
Move UI float precission calculation into its own function.
2011-06-07 02:39:40 +00:00
Antony Riakiotakis
474d9c0274
A line of code -can- wreck your day. Should work now, :)
2011-06-06 23:19:25 +00:00
Antony Riakiotakis
b481524fde
fix for float projection painting, now updating correctly.
...
This fix also allows for partial update of the image, speeding up painting.
The different code path implemented will be used to upload high resolution images to OpenGL when onion branch is merged.
Due to conversion of float textures to/from sRGB, corrections made to brush color sampling to take account of the image profile. This is not 100% correct yet as texture images used for projection painting strokes are not converted to/from sRGB yet(This has been decided due to loss of precision for 8-bit formats). It will have to do for now, though.
last-minute update, exr image loading is broken, will fix asap
2011-06-06 22:10:05 +00:00
Brecht Van Lommel
9088b69f7a
UI: fix render properties panel order, it didn't match order in startup.blend,
...
so was different when opening a new property editor.
2011-06-06 20:04:58 +00:00
Brecht Van Lommel
841c988179
UI: rename mesh Settings panel to Texture Space, since it only contains
...
settings related to that. Also close by default.
2011-06-06 19:44:28 +00:00
Sergey Sharybin
13dbae76e6
One more debug line was deleted from multires bakers.
...
Now it would work really fast.
2011-06-06 19:33:38 +00:00
Sergey Sharybin
fff0592738
Fix for new baker and float images. Also removed code used for debugging.
2011-06-06 19:06:44 +00:00
Ton Roosendaal
5fca1aa323
2.5 todo:
...
User setting "DPI" now works for outliner too.
(todo: color picker, brush menu, nodes, fileselect path buttons, view2d sliders, ...)
2011-06-06 18:04:57 +00:00
Campbell Barton
8cee328546
Support for update callbacks in python defined RNA properties as discussed last meeting.
...
This means script authors can perform actions using these callbacks rather then on drawing which puts blender in a readonly state.
Simple example:
import bpy
def up_func(self, context):
print("test")
bpy.types.Scene.testprop = bpy.props.FloatProperty(update=up_func)
bpy.context.scene.testprop = 11
# prints -> test
2011-06-06 17:50:20 +00:00
Campbell Barton
0c1298f972
avoid cd'ing with the makefile stub
2011-06-06 16:00:32 +00:00
Brecht Van Lommel
4d254f23ca
Keymaps: fix keymap items created in python being added with the python
...
operator names instead of the internal names. This wasn't really noticeable,
expect that it broke automatically looking up shortcuts for display in menus.
2011-06-06 13:35:43 +00:00
Thomas Dinges
111b0bf698
2.5 Text Editor:
...
* Added back Red Alert for "Resolve External conflicts" warning.
2011-06-06 12:52:26 +00:00
Campbell Barton
fc6dcdf17f
bug [ #27582 ] Screen Editing > Split and Join area don't work.
...
added 'INTERNAL' operator flag so operators which are only meant to be called by other operators or internal use are not displayed to the user.
Currently only use this flag for the operator search toolbox, is ignored in debug mode.
2011-06-06 11:56:54 +00:00
Sergey Sharybin
a43309e8d4
Added cancel callbacks to modal operators which allocates memory
...
in invoke callback. This prevents unfreed memory blocks when quiting
Bledner with modal operator running.
2011-06-06 11:04:54 +00:00
Campbell Barton
4d0026f7b9
fix for 2D paint being off by 1 pixel on x/y axis, most obvious when zoomed in.
2011-06-06 10:08:27 +00:00
Campbell Barton
6a1e74418c
use the same stippled drawing for colorband background as alpha color swatches, with low DPI would look squashed, also use the same colors for both.
2011-06-06 09:12:03 +00:00
Campbell Barton
2f5c7623b0
fix/workaround [ #27559 ] Color picker fails with a very small brush
...
fade out small brushes so the brush wont interfere with the color directly under the cursor.
2011-06-06 08:43:17 +00:00
Campbell Barton
7b9eabb6f2
fix from nico_ga on IRC, building on MSVC with jack but not ffmpeg.
2011-06-06 08:40:47 +00:00
Campbell Barton
e8bc3fe0e3
object-mode lattice bounds were not taken into account when calculating min/max.
...
effected view-selected, center-origin & local view.
2011-06-06 07:29:57 +00:00
Campbell Barton
e55833a094
fix [ #27572 ] Mirror Shapekey and Mirror vertex Group not working for Lattice.
2011-06-06 06:40:09 +00:00