10 years agoFix/Workaround for [#27643] drawing glitch:
Thomas Dinges [Sun, 12 Jun 2011 20:27:28 +0000 (20:27 +0000)]
Fix/Workaround for [#27643] drawing glitch:
* Removed the Icon of the menu, when an icon is used, it draws a triangle icon, assuming it is a sub menu.

10 years agoBugfix #27519
Ton Roosendaal [Sun, 12 Jun 2011 13:35:17 +0000 (13:35 +0000)]
Bugfix #27519

Full Sample AA (FSA) was failing in cases. Bug report was an empty
scene (with compo nodes) linking in another .blend scene (with render).

That case gave warning "FSA not supported with rendering". That now is

Then I noticed FSA was giving corrupt sample buffers or crashes in cases,
especially on first buffer, this appeared to be a missing compo tag on
first sample buffer.

Lastly, to make FSA render a tiny bit less frustrating: added render window
statistic to show which of the FSA steps is being done.

10 years agoQuick Explode operator:
Janne Karhu [Sun, 12 Jun 2011 11:14:28 +0000 (11:14 +0000)]
Quick Explode operator:
* Sets up a particle system and an explode modifier.
* In "blend" mode requires two selected objects and creates "crossed keyed" particle systems between the objects for a simple blend effect where the first object explodes and then recombines as the second object.
* Also renamed the other quick effect operators as "Quick ..." to bring some consistency to the operators (also nice that now you can just write "quick" to the operator search and get all these operators).

10 years agoBug fix: keyed physics didn't work properly if the first key wasn't the keyed particl...
Janne Karhu [Sun, 12 Jun 2011 11:09:39 +0000 (11:09 +0000)]
Bug fix: keyed physics didn't work properly if the first key wasn't the keyed particle system itself
* Also some nicer rotation handling for the explode modifier

10 years ago2.5 Image Buttons:
Thomas Dinges [Sun, 12 Jun 2011 11:03:21 +0000 (11:03 +0000)]
2.5 Image Buttons:
* Code cleanup, removed some unnecessary code.

10 years ago2.5 Image Buttons:
Thomas Dinges [Sun, 12 Jun 2011 10:24:47 +0000 (10:24 +0000)]
2.5 Image Buttons:
* Fixed an alignment issue, left column had unnecessary row declaration.

10 years agoLogic: clear "Script" when setting Script Controller mode to "Module"
Dalai Felinto [Sun, 12 Jun 2011 08:34:53 +0000 (08:34 +0000)]
Logic: clear "Script" when setting Script Controller mode to "Module"
The text datablock was linked to the controller. So even if the script was set to 'module' and saved, once linked/appended the object the script would come together.
If someone wants to implement this "clear" only once the file is saved, please go ahead. But I believe it's ok to  loose the script if you change it for module (and with the new datablock lookup it's straightforward/quick to reassign a textblock)

-- bug not reported anywhere, from my own list

10 years agoremove some warning for unused struct members
Campbell Barton [Sat, 11 Jun 2011 17:05:20 +0000 (17:05 +0000)]
remove some warning for unused struct members

10 years agoimproved autocompleation when there is a common prefix
Campbell Barton [Sat, 11 Jun 2011 17:03:26 +0000 (17:03 +0000)]
improved autocompleation when there is a common prefix

10 years agowarning fix for gcc
Campbell Barton [Sat, 11 Jun 2011 15:37:16 +0000 (15:37 +0000)]
warning fix for gcc

10 years agoFix for edge mesh BVH: The edge distance callback for leaf nodes was calculating...
Lukas Toenne [Sat, 11 Jun 2011 14:08:46 +0000 (14:08 +0000)]
Fix for edge mesh BVH: The edge distance callback for leaf nodes was calculating actual sqrt'ed distance, while needing squared distance to be compatible with bounding box checks. This also solves previous concerns about performance when using sqrt in the comparison callback.

10 years agoBugfix #27105
Ton Roosendaal [Sat, 11 Jun 2011 13:12:57 +0000 (13:12 +0000)]
Bugfix #27105

Node editor: collapsed node didn't allow to size it using the
right hand side grab thingemabobs.

10 years agoBugfix #27138
Ton Roosendaal [Sat, 11 Jun 2011 12:10:01 +0000 (12:10 +0000)]
Bugfix #27138

Theme color fix for button type "Value slider".
On text editing mode, the selected part of the text was invisible.

10 years agofix for recent commit, this stops makesdna from working right:
Campbell Barton [Sat, 11 Jun 2011 10:09:56 +0000 (10:09 +0000)]
fix for recent commit, this stops makesdna from working right:
/* ... // ...  */

10 years agoremove backbuf from internal struct's (unused in 2.5x)
Campbell Barton [Sat, 11 Jun 2011 08:55:29 +0000 (08:55 +0000)]
remove backbuf from internal struct's (unused in 2.5x)

10 years agofix for using system includes, the include macro wasn't un-setting the previous inclu...
Campbell Barton [Sat, 11 Jun 2011 06:00:28 +0000 (06:00 +0000)]
fix for using system includes, the include macro wasn't un-setting the previous include list so system includes could be mixed up with non system includes.

Also workaround for CMake 2.8.4 & GNU-Make which doesn't set CMAKE_INCLUDE_SYSTEM_FLAG_C

10 years ago* Code cleanup
Thomas Dinges [Fri, 10 Jun 2011 21:06:59 +0000 (21:06 +0000)]
* Code cleanup

10 years agosuspiciously consistent typo
Jason Wilkins [Fri, 10 Jun 2011 20:59:48 +0000 (20:59 +0000)]
suspiciously consistent typo

10 years ago2.5 Modifier UI Script:
Thomas Dinges [Fri, 10 Jun 2011 20:41:22 +0000 (20:41 +0000)]
2.5 Modifier UI Script:
* Tiny improvement, no need to have split declaration outside of if branch.

10 years agofix [#27627] Strange behavior with solid open gl lights
Campbell Barton [Fri, 10 Jun 2011 16:59:15 +0000 (16:59 +0000)]
fix [#27627] Strange behavior with solid open gl lights
disable turning off all lights in the user preferences.

10 years agoBugfix #27136
Ton Roosendaal [Fri, 10 Jun 2011 14:03:51 +0000 (14:03 +0000)]
Bugfix #27136

Ending localview - which is similar to layer change - should send
update similar to change layers too. Needed for example when loading
a file saved in local view or when changing time in localview.

10 years agofix [#27607] Scene's render.filepath gets cropped to 159 characters
Campbell Barton [Fri, 10 Jun 2011 10:13:50 +0000 (10:13 +0000)]
fix [#27607] Scene's render.filepath gets cropped to 159 characters
use 240 char limit, remove backbuffer path which wasn't used.

10 years agoadded a check to console auto-compleation for pythons struct_seq type, so
Campbell Barton [Fri, 10 Jun 2011 09:44:27 +0000 (09:44 +0000)]
added a check to console auto-compleation for pythons struct_seq type, so and sys.float_info autocompleate their attributes rather then bring treated as a typle.

10 years agofix [#27495] Incorrect result of image name autocompletion
Campbell Barton [Fri, 10 Jun 2011 07:22:35 +0000 (07:22 +0000)]
fix [#27495] Incorrect result of image name autocompletion

10 years agoadd includes for windows.
Campbell Barton [Thu, 9 Jun 2011 18:28:58 +0000 (18:28 +0000)]
add includes for windows.

10 years agoupdate for tests, error out when duplicate modules are found, all ctest tests pass...
Campbell Barton [Thu, 9 Jun 2011 16:20:00 +0000 (16:20 +0000)]
update for tests, error out when duplicate modules are found, all ctest tests pass again.

10 years agoBugfix #27081
Ton Roosendaal [Thu, 9 Jun 2011 16:12:10 +0000 (16:12 +0000)]
Bugfix #27081

Displacement mapping didn't do linear interpolation between pixels,
causing render artefacts. Now it uses for image render without AA
a default interploation filter of 1 pixel size.

Fix provided by Miika Hamalainen. Thanks!

10 years agoFix for GLSL material node inside groups. These were using the GPULink point from...
Lukas Toenne [Thu, 9 Jun 2011 16:05:34 +0000 (16:05 +0000)]
Fix for GLSL material node inside groups. These were using the GPULink point from the input stack argument, but this only exists for directly linked nodes. If a node is linked directly to a group socket, which is not linked externally, the stack argument is actually the external group input.

10 years agoBugfix #27078
Ton Roosendaal [Thu, 9 Jun 2011 15:54:44 +0000 (15:54 +0000)]
Bugfix #27078

Added notifier to make material preview update when selecting a face
in editmode with a different material than displayed.

10 years agoBugfix #26886
Ton Roosendaal [Thu, 9 Jun 2011 15:26:05 +0000 (15:26 +0000)]
Bugfix #26886

Operator redo: F6 menu didn't work for macros yet (like Duplicate-grab).

10 years agoreplace log() calls with constants
Campbell Barton [Thu, 9 Jun 2011 14:27:51 +0000 (14:27 +0000)]
replace log() calls with constants

10 years agofix for own mistake & fix some comments.
Campbell Barton [Thu, 9 Jun 2011 13:46:34 +0000 (13:46 +0000)]
fix for own mistake & fix some comments.

10 years agofix for memory leak re-binding meshes.
Campbell Barton [Thu, 9 Jun 2011 11:19:34 +0000 (11:19 +0000)]
fix for memory leak re-binding meshes.

10 years agoFix [#27378] ASC-CDL Color Balance Node does not allow for full range of values
Matt Ebb [Thu, 9 Jun 2011 11:09:46 +0000 (11:09 +0000)]
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.

10 years agoRNA properties - expose values as radians rather then degrees
Campbell Barton [Thu, 9 Jun 2011 08:58:27 +0000 (08:58 +0000)]
RNA properties - expose values as radians rather then degrees
- sequencer wipe angle
- mesh autosmooth
- bevel modifier angle
- edge split angle

10 years agouse a better method for finding the precision to use for float buttons, about 4x...
Campbell Barton [Thu, 9 Jun 2011 07:40:30 +0000 (07:40 +0000)]
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.

10 years agofix [#27616] Appending an object from a file brings all existing group links to scene
Campbell Barton [Thu, 9 Jun 2011 04:28:53 +0000 (04:28 +0000)]
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.

10 years ago[#27615] Box select of mesh object disabled or translated due to curve object
Campbell Barton [Thu, 9 Jun 2011 03:56:32 +0000 (03:56 +0000)]
[#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.

10 years agoadd foreachIDLink function for cloth, remove cloth specific newlibadr calls in readfile.
Campbell Barton [Thu, 9 Jun 2011 02:47:22 +0000 (02:47 +0000)]
add foreachIDLink function for cloth, remove cloth specific newlibadr calls in readfile.

10 years agoBugfix #27601
Ton Roosendaal [Wed, 8 Jun 2011 16:08:57 +0000 (16:08 +0000)]
Bugfix #27601

Revision for previous fix; fast gaussian now survives on images
with a dimension smaller than 3 pixels!

Thanks Bastien Montagne for patch.

10 years agofix for own error r35918, generalizing looping over modifier ID links
Campbell Barton [Wed, 8 Jun 2011 16:00:52 +0000 (16:00 +0000)]
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.

10 years agoBugfix #27601
Ton Roosendaal [Wed, 8 Jun 2011 15:17:38 +0000 (15:17 +0000)]
Bugfix #27601

Scaling in compostior down to 1 pixel size crashed gaussian blur.

10 years agoApply [#27477] COLLADA export support for textures mapped to COLSPEC
Nathan Letwory [Wed, 8 Jun 2011 13:00:25 +0000 (13:00 +0000)]
Apply [#27477] COLLADA export support for textures mapped to COLSPEC
Patch provided by Pelle Johnsen

10 years agoShuffle some build code around to ensure debug builds on Windows actually run too.
Nathan Letwory [Wed, 8 Jun 2011 11:53:07 +0000 (11:53 +0000)]
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
* make sure COLLADA debug libs are used when BF_DEBUG=True

10 years agoBugfix [#27586] P for setting playback range is clamped to > 0
Joshua Leung [Wed, 8 Jun 2011 10:57:24 +0000 (10:57 +0000)]
Bugfix [#27586] P for setting playback range is clamped to > 0

Thanks for the patch Bastien Montagne. Was just legacy code from 2.4x

10 years agofix of fix :| [real fix for #36787 -- it was wrongly fixed on #36964]
Dalai Felinto [Wed, 8 Jun 2011 09:01:41 +0000 (09:01 +0000)]
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.

10 years agocmake: remove python include in the wm module, set opengl as a system include.
Campbell Barton [Wed, 8 Jun 2011 05:39:58 +0000 (05:39 +0000)]
cmake: remove python include in the wm module, set opengl as a system include.

10 years agodon't write file history in backgound mode (running ctest would overwrite all my...
Campbell Barton [Wed, 8 Jun 2011 01:53:12 +0000 (01:53 +0000)]
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.

10 years agodraw sequences with invalid effect frame ranges pink to highlight they are invalid...
Campbell Barton [Tue, 7 Jun 2011 18:34:33 +0000 (18:34 +0000)]
draw sequences with invalid effect frame ranges pink to highlight they are invalid and wont render.

10 years agofix for vertex group copy to selected
Campbell Barton [Tue, 7 Jun 2011 18:04:03 +0000 (18:04 +0000)]
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.

10 years agofix for sequencer transform with effects strips where the effects could be moved...
Campbell Barton [Tue, 7 Jun 2011 16:47:25 +0000 (16:47 +0000)]
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.

10 years agodisable the readonly state while rna property callbacks run.
Campbell Barton [Tue, 7 Jun 2011 16:08:49 +0000 (16:08 +0000)]
disable the readonly state while rna property callbacks run.

10 years agoFix: correct spacing for file select items, using font size + dpi.
Ton Roosendaal [Tue, 7 Jun 2011 15:33:01 +0000 (15:33 +0000)]
Fix: correct spacing for file select items, using font size + dpi.

10 years agorna option not to save certain properties for redoing later, currently only used...
Campbell Barton [Tue, 7 Jun 2011 10:54:57 +0000 (10:54 +0000)]
rna option not to save certain properties for redoing later, currently only used by operator presets.

10 years agofix for edge slide snapping values being incorrect (reported by Nether Hound).
Campbell Barton [Tue, 7 Jun 2011 09:35:20 +0000 (09:35 +0000)]
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

10 years agoupdate ctest md5sums for import/export to match changes to the scripts, also some...
Campbell Barton [Tue, 7 Jun 2011 08:47:33 +0000 (08:47 +0000)]
update ctest md5sums for import/export to match changes to the scripts, also some minor formatting change for bpy_props.c

10 years agogetting useful results out of the round compo node was tricky, use the second value...
Campbell Barton [Tue, 7 Jun 2011 08:16:42 +0000 (08:16 +0000)]
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)

10 years agoerror pointed out by Jeroen Bakker with the math nodes round function. was incorrectl...
Campbell Barton [Tue, 7 Jun 2011 07:57:26 +0000 (07:57 +0000)]
error pointed out by Jeroen Bakker with the math nodes round function. was incorrectly using the output rather then the input.

10 years agofix for glitch in previous commit with 0.00002 displaying as 0.000020, this uses...
Campbell Barton [Tue, 7 Jun 2011 05:26:10 +0000 (05:26 +0000)]
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.

10 years agosmarter precision calculation, so 0.000001 isn't displayed as 0.00.
Campbell Barton [Tue, 7 Jun 2011 04:06:10 +0000 (04:06 +0000)]
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.

10 years agoMove UI float precission calculation into its own function.
Campbell Barton [Tue, 7 Jun 2011 02:39:40 +0000 (02:39 +0000)]
Move UI float precission calculation into its own function.

10 years agoA line of code -can- wreck your day. Should work now, :)
Antony Riakiotakis [Mon, 6 Jun 2011 23:19:25 +0000 (23:19 +0000)]
A line of code -can- wreck your day. Should work now, :)

10 years agofix for float projection painting, now updating correctly.
Antony Riakiotakis [Mon, 6 Jun 2011 22:10:05 +0000 (22:10 +0000)]
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

10 years agoUI: fix render properties panel order, it didn't match order in startup.blend,
Brecht Van Lommel [Mon, 6 Jun 2011 20:04:58 +0000 (20:04 +0000)]
UI: fix render properties panel order, it didn't match order in startup.blend,
so was different when opening a new property editor.

10 years agoUI: rename mesh Settings panel to Texture Space, since it only contains
Brecht Van Lommel [Mon, 6 Jun 2011 19:44:28 +0000 (19:44 +0000)]
UI: rename mesh Settings panel to Texture Space, since it only contains
settings related to that. Also close by default.

10 years agoOne more debug line was deleted from multires bakers.
Sergey Sharybin [Mon, 6 Jun 2011 19:33:38 +0000 (19:33 +0000)]
One more debug line was deleted from multires bakers.
Now it would work really fast.

10 years agoFix for new baker and float images. Also removed code used for debugging.
Sergey Sharybin [Mon, 6 Jun 2011 19:06:44 +0000 (19:06 +0000)]
Fix for new baker and float images. Also removed code used for debugging.

10 years ago2.5 todo:
Ton Roosendaal [Mon, 6 Jun 2011 18:04:57 +0000 (18:04 +0000)]
2.5 todo:

User setting "DPI" now works for outliner too.
(todo: color picker, brush menu, nodes, fileselect path buttons, view2d sliders, ...)

10 years agoSupport for update callbacks in python defined RNA properties as discussed last meeting.
Campbell Barton [Mon, 6 Jun 2011 17:50:20 +0000 (17:50 +0000)]
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):

bpy.types.Scene.testprop = bpy.props.FloatProperty(update=up_func)
bpy.context.scene.testprop = 11

# prints -> test

10 years agoavoid cd'ing with the makefile stub
Campbell Barton [Mon, 6 Jun 2011 16:00:32 +0000 (16:00 +0000)]
avoid cd'ing with the makefile stub

10 years agoKeymaps: fix keymap items created in python being added with the python
Brecht Van Lommel [Mon, 6 Jun 2011 13:35:43 +0000 (13:35 +0000)]
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.

10 years ago2.5 Text Editor:
Thomas Dinges [Mon, 6 Jun 2011 12:52:26 +0000 (12:52 +0000)]
2.5 Text Editor:
* Added back Red Alert for "Resolve External conflicts" warning.

10 years agobug [#27582] Screen Editing > Split and Join area don't work.
Campbell Barton [Mon, 6 Jun 2011 11:56:54 +0000 (11:56 +0000)]
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.

10 years agoAdded cancel callbacks to modal operators which allocates memory
Sergey Sharybin [Mon, 6 Jun 2011 11:04:54 +0000 (11:04 +0000)]
Added cancel callbacks to modal operators which allocates memory
in invoke callback. This prevents unfreed memory blocks when quiting
Bledner with modal operator running.

10 years agofix for 2D paint being off by 1 pixel on x/y axis, most obvious when zoomed in.
Campbell Barton [Mon, 6 Jun 2011 10:08:27 +0000 (10:08 +0000)]
fix for 2D paint being off by 1 pixel on x/y axis, most obvious when zoomed in.

10 years agouse the same stippled drawing for colorband background as alpha color swatches, with...
Campbell Barton [Mon, 6 Jun 2011 09:12:03 +0000 (09:12 +0000)]
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.

10 years agofix/workaround [#27559] Color picker fails with a very small brush
Campbell Barton [Mon, 6 Jun 2011 08:43:17 +0000 (08:43 +0000)]
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.

10 years agofix from nico_ga on IRC, building on MSVC with jack but not ffmpeg.
Campbell Barton [Mon, 6 Jun 2011 08:40:47 +0000 (08:40 +0000)]
fix from nico_ga on IRC, building on MSVC with jack but not ffmpeg.

10 years agoobject-mode lattice bounds were not taken into account when calculating min/max.
Campbell Barton [Mon, 6 Jun 2011 07:29:57 +0000 (07:29 +0000)]
object-mode lattice bounds were not taken into account when calculating min/max.
effected view-selected, center-origin & local view.

10 years agofix [#27572] Mirror Shapekey and Mirror vertex Group not working for Lattice.
Campbell Barton [Mon, 6 Jun 2011 06:40:09 +0000 (06:40 +0000)]
fix [#27572] Mirror Shapekey and Mirror vertex Group not working for Lattice.

10 years agoResolve 2 theme issues
Campbell Barton [Mon, 6 Jun 2011 03:53:22 +0000 (03:53 +0000)]
Resolve 2 theme issues
[#27056] default active and selected colors need to be visually different
[#27584] Please change sharpness/seam color

10 years agospelling corrections
Campbell Barton [Mon, 6 Jun 2011 00:48:10 +0000 (00:48 +0000)]
spelling corrections

10 years agofix for crash opening the file selector twice with multiple windows open (when the...
Campbell Barton [Mon, 6 Jun 2011 00:42:36 +0000 (00:42 +0000)]
fix for crash opening the file selector twice with multiple windows open (when the mouse was over the inactive window).

10 years agoreplacing -> arrows by proper ASCII arrows on Transformation Constraint
Dalai Felinto [Sun, 5 Jun 2011 23:38:11 +0000 (23:38 +0000)]
replacing -> arrows by proper ASCII arrows on Transformation Constraint

Note: Text Editor doesn't support this chr(187) properly. I hardcoded and commented the ui file. I hope it's fine.

10 years agoFix [#27438] Volume Material Density Inaccuracy
Matt Ebb [Sun, 5 Jun 2011 22:35:37 +0000 (22:35 +0000)]
Fix [#27438] Volume Material Density Inaccuracy

Lower density limit for shading optimisation was set too high

10 years agoBake from multires mesh
Sergey Sharybin [Sun, 5 Jun 2011 20:54:04 +0000 (20:54 +0000)]
Bake from multires mesh

Added option to baked named "Bake From Multires" which is avaliable for
normals baking and displacement baking.

If this option is enabled, then no additional hi-res meshes and render
structures would be created . This saves plenty of memory and meshes
with millions of faces could be successfully baked in few minutes.

Baking happens from highest level against viewport subdivision level,
so workflow is following:
  - Set viewport level to level at which texture would be applied
    during final rendering.
  - Choose Displacement/Normals baking.
  - Enable "Bake From Multires" option.
  - You're ready to bake.

Displacement baker had aditional option named "Low Resolution Mesh".
This option is used to set if you want texture for realtime (games)

Internally it does the following:
  - If it's disabled, displacement is calculated from subdivided
    viewport level, so texture looks "smooth" (it's how default
    baked works).
  - If it's enabled, dispalcement is calculated against unsubdivided
    viewport levels. This leads to "scales". This isn;t useful for
    offline renders much, but very useful for creating game textures.

Special thanks to Morten Mikkelsen (aka sparky) for all mathematics
and other work he've done fr this patch!

10 years agofixed warning, signed/unsigned mismatch, blo/readfile.c line 1742
Jason Wilkins [Sun, 5 Jun 2011 18:00:24 +0000 (18:00 +0000)]
fixed warning, signed/unsigned mismatch, blo/readfile.c line 1742

10 years agooperator buttons get a red highlight when alert is set for the layout
Campbell Barton [Sun, 5 Jun 2011 17:02:57 +0000 (17:02 +0000)]
operator buttons get a red highlight when alert is set for the layout

10 years agoown commit r37199 gave problems with duplicating objects, use different fix.
Campbell Barton [Sun, 5 Jun 2011 15:29:50 +0000 (15:29 +0000)]
own commit r37199 gave problems with duplicating objects, use different fix.

10 years agofile selector now scales with DPI better
Campbell Barton [Sun, 5 Jun 2011 14:00:06 +0000 (14:00 +0000)]
file selector now scales with DPI better

10 years agocolorband and image header were ignoring DPI size
Campbell Barton [Sun, 5 Jun 2011 13:20:30 +0000 (13:20 +0000)]
colorband and image header were ignoring DPI size

10 years agoBugfix: new DPI-controlled UI size code was setting 'view2d re-init'
Ton Roosendaal [Sun, 5 Jun 2011 12:57:09 +0000 (12:57 +0000)]
Bugfix: new DPI-controlled UI size code was setting 'view2d re-init'
flag on ED_area_initialize(). This however was causing 2 problems;
- the view state got reset (popping window view back)
- the view2d operator polls failed (sliders didnt work)

This re-init was only needed for the headers though, limiting it
to these types of regions solves it.

10 years agopanel headers were not scaling with DPI properly
Campbell Barton [Sun, 5 Jun 2011 12:47:17 +0000 (12:47 +0000)]
panel headers were not scaling with DPI properly

10 years agoscale the file selector UI with the DPI, the region size can still be wrong though.
Campbell Barton [Sun, 5 Jun 2011 10:05:13 +0000 (10:05 +0000)]
scale the file selector UI with the DPI, the region size can still be wrong though.

10 years agoworkaround for supremely annoying UI glitch where you could accidentally hide the...
Campbell Barton [Sun, 5 Jun 2011 09:22:14 +0000 (09:22 +0000)]
workaround for supremely annoying UI glitch where you could accidentally hide the file selector header by accident.
using the logic - that a header taking up the full screen-area height will not have an action-zone added for resizing.

10 years agowith the new scalable UI. hard coded values were still used for resizing the headers...
Campbell Barton [Sun, 5 Jun 2011 09:00:36 +0000 (09:00 +0000)]
with the new scalable UI. hard coded values were still used for resizing the headers, with DPI of 56 the headers could not be un-hidden.

10 years agopy/drivers disable dont interning strings, no need really since this isnt done on...
Campbell Barton [Sun, 5 Jun 2011 08:18:37 +0000 (08:18 +0000)]
py/drivers disable dont interning strings, no need really since this isnt done on every execution.

10 years agocompile without splash and icons when WITH_HEADLESS is set.
Campbell Barton [Sun, 5 Jun 2011 07:55:18 +0000 (07:55 +0000)]
compile without splash and icons when WITH_HEADLESS is set.

10 years agofix [#27554] vertex group names
Campbell Barton [Sun, 5 Jun 2011 04:52:32 +0000 (04:52 +0000)]
fix [#27554] vertex group names
- duplicate vertex group names were not being checked for.
- also made the first duplicate end with .001 rather than .000

10 years agoSVN maintenance.
Guillermo S. Romero [Sun, 5 Jun 2011 00:10:20 +0000 (00:10 +0000)]
SVN maintenance.