Age | Commit message (Collapse) | Author |
|
corrected these and replaced 'sizeof(((ID *)NULL)->name)-2' with 'MAX_ID_NAME-2'.
|
|
length wrong?!
also fix for OBJECT_OT_proxy_make and RENDER_OT_render using incorrect lengths for ID names.
|
|
- add back UV X/Y number buttons, the report points out they are missing.
- set the 2D cursor's subtype to PROP_COORDS (so buttons say x/y now)
|
|
generator work with mingw again
|
|
images, set alpha level higher.
|
|
Operator "New Image" cannot be redone simply, undo system keeps images
around, and each redo will create new block. Removed it from being
registered for redos.
Also: fix up for default operator names to be complete, and not just
"new" or "load". If we want contextual shortening of operator names
(like in Image menu), that should be handled seprately, automatically,
or anything we can sanely come up with that will suit any possible
language as well.
|
|
promoted to doubles, adjust to use floats.
|
|
adjust to use floats.
- also UV angle stretching was using radians->deg which wasn't needed.
|
|
|
|
render pane if you have the histogram tab open in the pane your collapsing.
|
|
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.
|
|
More undo-push disabling for switching render slots.
Also added 'undo push' print in debug mode (blender -d)
|
|
More problems with Undo and Render Slots (Image editor)
- Undo storage for operator is now back, but only when new
buffers were added (not when viewing existing)
- A real bug: On undo/redo, the stored buffers were never
retrieved, but always freed entirely.
Note however that when you undo back to a state before you
rendered (or added slots), the render buffers that didn't
exist back then also get freed. A redo doesn't bring it back.
|
|
Image Editor: Jkey 'swap render slot' should not be in the undo
system.
|
|
& editors.
|
|
Blender crashed on repeatedly pressing "reload image" or "unpack" and
other image options, with a material/texture preview running.
Solved with a signal to stop preview render before doing the action.
|
|
ImageWindow: hotkey "P" for Scopes was in conflict with Pinning.
Remapped it to "T" for time being, although it's not a toolbar...
|
|
- dirty var wasn't being used.
- only call IMB_rect_from_float if there was previously a rect buffer.
|
|
|
|
* Change ICON_NULL --> ICON_NONE to avoid two #defines with the same meaning.
|
|
Let's make it four! :)
|
|
render-result doesn't get an ibuf with BKE_image_get_ibuf
added a poll method to grey-out entries if !ibuf for now.
|
|
* inv_ -> inverted_
* flagged image dirty after invert.
* restored properties accidently cut out of unpack operator.
brecht.beers[lmg]++
thanks for paying attention! :)
|
|
Invert Image Colors (RGB)
--
Invert Red Channel
Invert Green Channel
Invert Blue Channel
Invert Alpha Channel
mostly because of the recent changes in normalmap channels,
so users can adopt old bakes quickly.
though they might aswell prove useful in other situations.
|
|
|
|
The butterfly wing flap, causing a nice storm in the rest of blender.
Now all dependencies should point ok again. CMakers, do double-test.
|
|
|
|
outside the image.
|
|
header static for blenlib, blenkernel and editors.
|
|
- modifier code was using sizeof() without knowing the sizeof the array when clearing the modifier type array.
- use BLI_snprintf rather then sprintf where the size of the string is known.
- particle drawing code kept a reference to stack float values (not a problem at the moment but would crash if accessed later).
|
|
Save image (F3) didn't remember the last saved path on 2nd use.
|
|
using the sum of the image and alpha-faded background, leading to almost-white transparent areas. New code uses correct GL_SRC_ALPHA for the source image.
|
|
|
|
|
|
- There were 2 pack menu's, merged into 1.
- Don't attempt to unpack into // if the blend file isn't saved, would use the CWD instead.
|
|
* Unpack menu option "Remove Pack" didn't get a pointer to the image to be unpacked. This worked from image view by using the active image, but not from texture panel.
|
|
Three code fixes for 1 report. User experienced crashes while
painting on float buffer + having preview renders on.
- Texture Nodes: Image was re-allocated without using
proper thread lock
- Paint code: old convention to free the byte rect from
a float image as signal to re-create now is a proper
flag. This keeps image memory unchanged. Nice for render.
- Imbuf: call to make a byte rect from float was freeing
mipmaps unnecessary.
|
|
- metaball tessellation functuion was calculating density when it didn't need to.
- image drawing was using a float as a loop counter, in extreme cases this could cause an infinite loop.
- remove/comment unused vars.
|
|
also removed unnecessary NULL checks (where the pointer was used later without checking).
|
|
also minor functional changes
- OBJECT_OT_make_links_data() type property is now assigned to the operator property (so popup menu can find it)
- removing BG image now returns cancelled if no image is removed.
|
|
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h.
no functional changes.
|
|
Files saved with image-window composite preview panel still
rendered cropped, but theres no way to disable it. Now it
ignores cropping.
|
|
initialized on 100 pixels height on creation.
|
|
functional change)
eg: uiItemR(row, &dvar_ptr, "type", 0, "", 0); -> uiItemR(row, &dvar_ptr, "type", 0, "", ICON_NULL);
|
|
|
|
|
|
Image Editor: paint mode, use clone image, always showed.
Now it hides clone when paint is disabled.
|
|
|
|
|
|
This is need to properly handle 3d text (dalai work on GE), before
the BLF_aspect only take one argument, and the result was a call to:
glScalef(aspect, aspect, 1.0)
Now the three value are store in the font (x, y and z) and also
need to be enable using BLF_enable(BLF_ASPECT).
By default all the code that don't have BLF_ASPECT enable work with
a scale of 1.0 (so nothing change to the current UI).
I also remove all the call of BLF_aspect(fontid, 1.0) found in
the editors, because is disable by default, so no need any more.
Campbell the only thing to check is the python api, right now
I modify the api to from:
BLF_aspect(fontid, aspect)
to:
BLF_aspect(fontid, aspect, aspect, 1.0)
This is to avoid break the api, but now you need add the BLF_ASPECT
option to the function py_blf_enable and in some point change
py_blf_aspect to take 3 arguments.
|